25 #if !UCONFIG_NO_FORMATTING
40 #if U_PLATFORM == U_PF_OS400
41 #define UNUM_INTERNAL_STACKARRAY_SIZE 144
43 #define UNUM_INTERNAL_STACKARRAY_SIZE 128
114 #if !UCONFIG_NO_CONVERSION
279 Type getType(
void)
const;
287 UBool isNumeric()
const;
317 int32_t
getLong(
void)
const {
return (int32_t)fValue.fInt64; }
343 int64_t
getInt64(
void)
const {
return fValue.fInt64; }
388 { result=*fValue.fString;
return result; }
446 { count=fValue.fArrayAndCount.fCount;
return fValue.fArrayAndCount.fArray; }
475 const UObject* getObject()
const;
503 void setDouble(
double d);
511 void setLong(int32_t l);
519 void setInt64(int64_t ll);
527 void setDate(
UDate d);
544 void setArray(
const Formattable* array, int32_t count);
559 void adoptArray(
Formattable* array, int32_t count);
568 void adoptObject(
UObject* objectToAdopt);
584 void setDecimalNumber(
const StringPiece &numberString,
599 static UClassID U_EXPORT2 getStaticClassID();
635 #ifndef U_HIDE_DEPRECATED_API
642 inline int32_t getLong(
UErrorCode* status)
const;
645 #ifndef U_HIDE_INTERNAL_API
659 DigitList *getInternalDigitList();
667 void adoptDigitList(DigitList *dl);
675 CharString *internalGetCharString(
UErrorCode &status);
705 CharString *fDecimalStr;
707 DigitList *fDecimalNum;
712 UnicodeString fBogus;
716 if (fType != kDate) {
726 return *fValue.fString;
730 return *fValue.fString;
733 #ifndef U_HIDE_DEPRECATED_API
734 inline int32_t Formattable::getLong(
UErrorCode* status)
const {
735 return getLong(*status);