Go to the documentation of this file.
19 #if !UCONFIG_NO_FORMATTING
95 static const Region* U_EXPORT2 getInstance(
const char *region_code,
UErrorCode &status);
102 static const Region* U_EXPORT2 getInstance (int32_t code,
UErrorCode &status);
116 const Region* getContainingRegion()
const;
166 const char* getRegionCode()
const;
173 int32_t getNumericCode()
const;
181 #ifndef U_HIDE_INTERNAL_API
186 static void cleanupRegionData();
195 UVector *containedRegions;
196 UVector *preferredValues;
213 static void loadRegionData(
UErrorCode &status);
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