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.
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.
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.