#include "unicode/utypes.h"
#if !UCONFIG_NO_FORMATTING
#include "unicode/formattedvalue.h"
#include "formattedval_impl.h"
#include "capi_helper.h"
U_NAMESPACE_BEGIN
ConstrainedFieldPosition::ConstrainedFieldPosition() { … }
ConstrainedFieldPosition::~ConstrainedFieldPosition() { … }
void ConstrainedFieldPosition::reset() { … }
void ConstrainedFieldPosition::constrainCategory(int32_t category) { … }
void ConstrainedFieldPosition::constrainField(int32_t category, int32_t field) { … }
void ConstrainedFieldPosition::setInt64IterationContext(int64_t context) { … }
UBool ConstrainedFieldPosition::matchesField(int32_t category, int32_t field) const { … }
void ConstrainedFieldPosition::setState(
int32_t category,
int32_t field,
int32_t start,
int32_t limit) { … }
FormattedValue::~FormattedValue() = default;
struct UConstrainedFieldPositionImpl : public UMemory,
public IcuCApiHelper<UConstrainedFieldPosition, UConstrainedFieldPositionImpl, 0x55434600> { … };
U_CAPI UConstrainedFieldPosition* U_EXPORT2
ucfpos_open(UErrorCode* ec) { … }
U_CAPI void U_EXPORT2
ucfpos_reset(UConstrainedFieldPosition* ptr, UErrorCode* ec) { … }
U_CAPI void U_EXPORT2
ucfpos_constrainCategory(UConstrainedFieldPosition* ptr, int32_t category, UErrorCode* ec) { … }
U_CAPI void U_EXPORT2
ucfpos_constrainField(UConstrainedFieldPosition* ptr, int32_t category, int32_t field, UErrorCode* ec) { … }
U_CAPI int32_t U_EXPORT2
ucfpos_getCategory(const UConstrainedFieldPosition* ptr, UErrorCode* ec) { … }
U_CAPI int32_t U_EXPORT2
ucfpos_getField(const UConstrainedFieldPosition* ptr, UErrorCode* ec) { … }
U_CAPI void U_EXPORT2
ucfpos_getIndexes(const UConstrainedFieldPosition* ptr, int32_t* pStart, int32_t* pLimit, UErrorCode* ec) { … }
U_CAPI int64_t U_EXPORT2
ucfpos_getInt64IterationContext(const UConstrainedFieldPosition* ptr, UErrorCode* ec) { … }
U_CAPI void U_EXPORT2
ucfpos_setInt64IterationContext(UConstrainedFieldPosition* ptr, int64_t context, UErrorCode* ec) { … }
U_CAPI UBool U_EXPORT2
ucfpos_matchesField(const UConstrainedFieldPosition* ptr, int32_t category, int32_t field, UErrorCode* ec) { … }
U_CAPI void U_EXPORT2
ucfpos_setState(
UConstrainedFieldPosition* ptr,
int32_t category,
int32_t field,
int32_t start,
int32_t limit,
UErrorCode* ec) { … }
U_CAPI void U_EXPORT2
ucfpos_close(UConstrainedFieldPosition* ptr) { … }
U_CAPI const char16_t* U_EXPORT2
ufmtval_getString(
const UFormattedValue* ufmtval,
int32_t* pLength,
UErrorCode* ec) { … }
U_CAPI UBool U_EXPORT2
ufmtval_nextPosition(
const UFormattedValue* ufmtval,
UConstrainedFieldPosition* ucfpos,
UErrorCode* ec) { … }
U_NAMESPACE_END
#endif