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/resbund_8h_source.html below:

ICU 77.1: common/unicode/resbund.h Source File

53 #if U_SHOW_CPLUSPLUS_API 410 #ifndef U_HIDE_DEPRECATED_API 433 #ifndef U_HIDE_DEPRECATED_API 455 #ifndef U_HIDE_INTERNAL_API

A Locale object represents a specific geographical, political, or cultural region.

A class representing a collection of resource information pertaining to a given locale.

ResourceBundle(UResourceBundle *res, UErrorCode &status)

Constructor from a C UResourceBundle.

ResourceBundle(const ResourceBundle &original)

Copy constructor.

ResourceBundle(const char *packageName, const Locale &locale, UErrorCode &err)

Standard constructor, constructs a resource bundle for the locale-specific bundle in the specified pa...

ResourceBundle get(int32_t index, UErrorCode &status) const

Returns the resource in a resource at the specified index.

ResourceBundle * clone() const

Clone this object.

int32_t getSize() const

Returns the size of a resource.

UResType getType() const

Returns the type of a resource.

ResourceBundle(const UnicodeString &packageName, UErrorCode &err)

Construct a resource bundle for the default bundle in the specified package.

int32_t getInt(UErrorCode &status) const

returns a signed integer from a resource.

ResourceBundle get(const char *key, UErrorCode &status) const

Returns a resource in a resource that has a given key.

void getVersion(UVersionInfo versionInfo) const

Return the version number associated with this ResourceBundle as a UVersionInfo array.

ResourceBundle getNext(UErrorCode &status)

Returns the next resource in a given resource or nullptr if there are no more resources.

virtual UClassID getDynamicClassID() const override

ICU "poor man's RTTI", returns a UClassID for the actual class.

static UClassID getStaticClassID()

ICU "poor man's RTTI", returns a UClassID for this class.

const char * getName() const

Gets the locale ID of the resource bundle as a string.

Locale getLocale(ULocDataLocaleType type, UErrorCode &status) const

Return the Locale associated with this ResourceBundle.

ResourceBundle(UErrorCode &err)

Construct a resource bundle for the ICU default bundle.

const int32_t * getIntVector(int32_t &len, UErrorCode &status) const

returns an integer vector from a resource.

ResourceBundle & operator=(const ResourceBundle &other)

Assignment operator.

UnicodeString getStringEx(int32_t index, UErrorCode &status) const

Returns the string in a given resource at the specified index.

UBool hasNext() const

Checks whether the resource has another element to iterate over.

ResourceBundle getWithFallback(const char *key, UErrorCode &status)

This API implements multilevel fallback.

UnicodeString getNextString(UErrorCode &status)

Returns the next string in a resource or nullptr if there are no more resources to iterate over.

void resetIterator()

Resets the internal context of a resource so that iteration starts from the first element.

uint32_t getUInt(UErrorCode &status) const

returns an unsigned integer from a resource.

const char * getKey() const

Returns the key associated with this resource.

virtual ~ResourceBundle()

Destructor.

UnicodeString getNextString(const char **key, UErrorCode &status)

Returns the next string in a resource or nullptr if there are no more resources to iterate over.

ResourceBundle(const UnicodeString &packageName, const Locale &locale, UErrorCode &err)

Constructor.

const uint8_t * getBinary(int32_t &len, UErrorCode &status) const

returns a binary data from a resource.

const Locale & getLocale() const

Return the Locale associated with this ResourceBundle.

const char * getVersionNumber() const

Return the version number associated with this ResourceBundle as a string.

UnicodeString getString(UErrorCode &status) const

returns a string from a string resource type

UnicodeString getStringEx(const char *key, UErrorCode &status) const

Returns a string in a resource that has a given key.

UObject is the common ICU "boilerplate" class.

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

C++ API: Locale ID object.

ULocDataLocaleType

Constants for *_getLocale() Allow user to select whether she wants information on requested,...

int8_t UBool

The ICU boolean type, a signed-byte integer.

C++ API: Common ICU base class UObject.

void * UClassID

UClassID is used to identify classes without using the compiler's RTTI.

UResType

Numeric constants for types of resource items.

struct UResourceBundle UResourceBundle

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

UErrorCode

Standard ICU4C error code type, a substitute for exceptions.

#define U_COMMON_API

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

uint8_t UVersionInfo[U_MAX_VERSION_LENGTH]

The binary form of a version on ICU APIs is an array of 4 uint8_t.


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