22#if U_SHOW_CPLUSPLUS_API
29#if !UCONFIG_NO_FORMATTING
112#if !UCONFIG_NO_CONVERSION
315 int32_t
getLong(
void)
const {
return (int32_t)fValue.fInt64; }
341 int64_t
getInt64(
void)
const {
return fValue.fInt64; }
386 { result=*fValue.fString;
return result; }
444 { count=fValue.fArrayAndCount.fCount;
return fValue.fArrayAndCount.fArray; }
633#ifndef U_HIDE_DEPRECATED_API
640 inline int32_t getLong(
UErrorCode* status)
const;
643#ifndef U_HIDE_INTERNAL_API
704 CharString *fDecimalStr;
706 number::impl::DecimalQuantity *fDecimalQuantity;
709 UnicodeString fBogus;
713 if (fType != kDate) {
723 return *fValue.fString;
727 return *fValue.fString;
730#ifndef U_HIDE_DEPRECATED_API
731inline int32_t Formattable::getLong(
UErrorCode* status)
const {
732 return getLong(*status);
A string-like object that points to a sized piece of memory.
UObject is the common ICU "boilerplate" class.
UnicodeString is a string class that stores Unicode characters directly and provides similar function...
U_EXPORT UBool operator==(const StringPiece &x, const StringPiece &y)
Global operator == for StringPiece.
C++ API: StringPiece: Read-only byte string wrapper class.
int8_t UBool
The ICU boolean type, a signed-byte integer.
void * UClassID
UClassID is used to identify classes without using the compiler's RTTI.
Basic definitions for ICU, for both C and C++ APIs.
UErrorCode
Standard ICU4C error code type, a substitute for exceptions.
@ U_INVALID_FORMAT_ERROR
Data format is not what is expected.
#define U_SUCCESS(x)
Does the error code indicate success?
#define U_I18N_API
Set to export library symbols from inside the i18n library, and to import them from outside.
double UDate
Date and Time data type.