A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://unicode-org.github.io/icu-docs/apidoc/released/icu4c/region_8h_source.html below:

ICU 77.1: i18n/unicode/region.h Source File

20 #if U_SHOW_CPLUSPLUS_API 22 #if !UCONFIG_NO_FORMATTING 185 #ifndef U_HIDE_INTERNAL_API 199

UVector *containedRegions;

200

UVector *preferredValues;

Region is the class representing a Unicode Region Code, also known as a Unicode Region Subtag,...

static const Region * getInstance(const char *region_code, UErrorCode &status)

Returns a pointer to a Region using the given region code.

bool operator==(const Region &that) const

Returns true if the two regions are equal.

const Region * getContainingRegion(URegionType type) const

Return a pointer to the region that geographically contains this region and matches the given type,...

const char * getRegionCode() const

Return this region's canonical region code.

bool operator!=(const Region &that) const

Returns true if the two regions are NOT equal; that is, if operator ==() returns false.

StringEnumeration * getContainedRegions(URegionType type, UErrorCode &status) const

Returns an enumeration over the IDs of all the regions that are children of this region anywhere in t...

static void cleanupRegionData()

Cleans up statically allocated memory.

virtual ~Region()

Destructor.

static const Region * getInstance(int32_t code, UErrorCode &status)

Returns a pointer to a Region using the given numeric region code.

URegionType getType() const

Returns the region type of this region.

static StringEnumeration * getAvailable(URegionType type, UErrorCode &status)

Returns an enumeration over the IDs of all known regions that match the given type.

UBool contains(const Region &other) const

Returns true if this region contains the supplied other region anywhere in the region hierarchy.

StringEnumeration * getContainedRegions(UErrorCode &status) const

Return an enumeration over the IDs of all the regions that are immediate children of this region in t...

const Region * getContainingRegion() const

Returns a pointer to the region that contains this region.

int32_t getNumericCode() const

Return this region's numeric code.

StringEnumeration * getPreferredValues(UErrorCode &status) const

For deprecated regions, return an enumeration over the IDs of the regions that are the preferred repl...

Base class for 'pure' C++ implementations of uenum api.

UObject is the common ICU "boilerplate" class.

UnicodeString is a string class that stores Unicode characters directly and provides similar function...

#define U_CALLCONV

Similar to U_CDECL_BEGIN/U_CDECL_END, this qualifier is necessary in callback function typedefs to ma...

C++ API: String Enumeration.

int8_t UBool

The ICU boolean type, a signed-byte integer.

C++ API: Common ICU base class UObject.

C API: URegion (territory containment and mapping)

URegionType

URegionType is an enumeration defining the different types of regions.

Basic definitions for ICU, for both C and C++ APIs.

UErrorCode

Standard ICU4C error code type, a substitute for exceptions.

#define U_I18N_API

Set to export library symbols from inside the i18n library, and to import them from outside.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4