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

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

4 #ifndef __FORMATTEDVALUE_H__ 5 #define __FORMATTEDVALUE_H__ 9 #if U_SHOW_CPLUSPLUS_API 11 #if !UCONFIG_NO_FORMATTING 227

int64_t fContext = 0LL;

232

int8_t fConstraint = 0;

C++ API: Appendable class: Sink for Unicode code points and 16-bit code units (char16_ts).

Base class for objects to which Unicode characters and strings can be appended.

Represents a span of a string containing a given field.

~ConstrainedFieldPosition()

void reset()

Resets this ConstrainedFieldPosition to its initial state, as if it were newly created:

void constrainField(int32_t category, int32_t field)

Sets a constraint on the category and field.

void setState(int32_t category, int32_t field, int32_t start, int32_t limit)

Sets new values for the primary public getters.

int32_t getStart() const

Gets the INCLUSIVE start index for the current position.

void constrainCategory(int32_t category)

Sets a constraint on the field category.

int32_t getCategory() const

Gets the field category for the current position.

int32_t getLimit() const

Gets the EXCLUSIVE end index stored for the current position.

ConstrainedFieldPosition()

Initializes a ConstrainedFieldPosition.

void setInt64IterationContext(int64_t context)

Sets an int64 that FormattedValue implementations may use for storage.

int64_t getInt64IterationContext() const

Gets an int64 that FormattedValue implementations may use for storage.

int32_t getField() const

Gets the field for the current position.

UBool matchesField(int32_t category, int32_t field) const

Determines whether a given field should be included given the constraints.

An abstract formatted value: a string with associated field attributes.

virtual UBool nextPosition(ConstrainedFieldPosition &cfpos, UErrorCode &status) const =0

Iterates over field positions in the FormattedValue.

virtual UnicodeString toString(UErrorCode &status) const =0

Returns the formatted string as a self-contained UnicodeString.

virtual UnicodeString toTempString(UErrorCode &status) const =0

Returns the formatted string as a read-only alias to memory owned by the FormattedValue.

virtual ~FormattedValue()

virtual Appendable & appendTo(Appendable &appendable, UErrorCode &status) const =0

Appends the formatted string to an Appendable.

UMemory is the common ICU base class.

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

C++ API: FieldPosition Iterator.

C API: Abstract operations for localized strings.

@ UFIELD_CATEGORY_UNDEFINED

For an undefined field category.

int8_t UBool

The ICU boolean type, a signed-byte integer.

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