21 #if !UCONFIG_NO_FORMATTING 97 static const Region* U_EXPORT2 getInstance(
const char *region_code,
UErrorCode &status);
104 static const Region* U_EXPORT2 getInstance (int32_t code,
UErrorCode &status);
118 const Region* getContainingRegion()
const;
168 const char* getRegionCode()
const;
175 int32_t getNumericCode()
const;
183 #ifndef U_HIDE_INTERNAL_API 188 static void cleanupRegionData();
197 UVector *containedRegions;
198 UVector *preferredValues;
URegionType
URegionType is an enumeration defining the different types of regions.
U_EXPORT UBool operator==(const StringPiece &x, const StringPiece &y)
Global operator == for StringPiece.
Region is the class representing a Unicode Region Code, also known as a Unicode Region Subtag...
Base class for 'pure' C++ implementations of uenum api.
#define U_I18N_API
Set to export library symbols from inside the i18n library, and to import them from outside...
C API: URegion (territory containment and mapping)
#define U_NAMESPACE_BEGIN
This is used to begin a declaration of a public ICU C++ API.
UBool operator!=(const StringPiece &x, const StringPiece &y)
Global operator != for StringPiece.
C++ API: Common ICU base class UObject.
#define U_NAMESPACE_END
This is used to end a declaration of a public ICU C++ API.
UErrorCode
Error code to replace exception handling, so that the code is compatible with all C++ compilers...
C++ API: String Enumeration.
Basic definitions for ICU, for both C and C++ APIs.
UnicodeString is a string class that stores Unicode characters directly and provides similar function...
UObject is the common ICU "boilerplate" class.
int8_t UBool
The ICU boolean type.