Go to the documentation of this file.
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;
C API: URegion (territory containment and mapping)
Basic definitions for ICU, for both C and C++ APIs.
int8_t UBool
The ICU boolean type.
U_EXPORT UBool operator==(const StringPiece &x, const StringPiece &y)
Global operator == for StringPiece.
URegionType
URegionType is an enumeration defining the different types of regions.
UnicodeString is a string class that stores Unicode characters directly and provides similar function...
UObject is the common ICU "boilerplate" class.
UErrorCode
Error code to replace exception handling, so that the code is compatible with all C++ compilers,...
Base class for 'pure' C++ implementations of uenum api.
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,...
C++ API: String Enumeration.
C++ API: Common ICU base class UObject.
#define U_NAMESPACE_BEGIN