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

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

10 #ifndef ULISTFORMATTER_H 11 #define ULISTFORMATTER_H 15 #if !UCONFIG_NO_FORMATTING 19 #if U_SHOW_CPLUSPLUS_API 223 #if U_SHOW_CPLUSPLUS_API 289  const UChar

*

const

strings[],

290  const

int32_t * stringLengths,

293

int32_t resultCapacity,

325  const UChar

*

const

strings[],

326  const

int32_t * stringLengths,

"Smart pointer" class, closes a UFormattedList via ulistfmt_closeResult().

"Smart pointer" class, closes a UListFormatter via ulistfmt_close().

C++ API: "Smart pointers" for use with and in ICU4C C++ code.

#define U_DEFINE_LOCAL_OPEN_POINTER(LocalPointerClassName, Type, closeFunction)

"Smart pointer" definition macro, deletes objects via the closeFunction.

C API: Abstract operations for localized strings.

struct UFormattedValue UFormattedValue

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

U_CAPI const UFormattedValue * ulistfmt_resultAsValue(const UFormattedList *uresult, UErrorCode *ec)

Returns a representation of a UFormattedList as a UFormattedValue, which can be subsequently passed t...

U_CAPI UListFormatter * ulistfmt_openForType(const char *locale, UListFormatterType type, UListFormatterWidth width, UErrorCode *status)

Open a new UListFormatter object appropriate for the given locale, list type, and style.

U_CAPI void ulistfmt_closeResult(UFormattedList *uresult)

Releases the UFormattedList created by ulistfmt_openResult().

U_CAPI UFormattedList * ulistfmt_openResult(UErrorCode *ec)

Creates an object to hold the result of a UListFormatter operation.

struct UListFormatter UListFormatter

C typedef for struct UListFormatter.

U_CAPI UListFormatter * ulistfmt_open(const char *locale, UErrorCode *status)

Open a new UListFormatter object using the rules for a given locale.

U_CAPI void ulistfmt_formatStringsToResult(const UListFormatter *listfmt, const UChar *const strings[], const int32_t *stringLengths, int32_t stringCount, UFormattedList *uresult, UErrorCode *status)

Formats a list of strings to a UFormattedList, which exposes more information than the string exporte...

struct UFormattedList UFormattedList

Opaque struct to contain the results of a UListFormatter operation.

UListFormatterWidth

Verbosity level of the list patterns.

@ ULISTFMT_WIDTH_NARROW

Use list formatting of the shortest possible length.

@ ULISTFMT_WIDTH_WIDE

Use list formatting with full words (no abbreviations) when possible.

@ ULISTFMT_WIDTH_SHORT

Use list formatting of typical length.

UListFormatterField

FieldPosition and UFieldPosition selectors for format fields defined by ListFormatter.

@ ULISTFMT_ELEMENT_FIELD

The element text in the result which came from the input strings.

@ ULISTFMT_LITERAL_FIELD

The literal text in the result which came from the resources.

U_CAPI int32_t ulistfmt_format(const UListFormatter *listfmt, const UChar *const strings[], const int32_t *stringLengths, int32_t stringCount, UChar *result, int32_t resultCapacity, UErrorCode *status)

Formats a list of strings using the conventions established for the UListFormatter object.

UListFormatterType

Type of meaning expressed by the list.

@ ULISTFMT_TYPE_OR

Disjunction (or alternative, or simply one of) formatting, e.g.

@ ULISTFMT_TYPE_AND

Conjunction formatting, e.g.

@ ULISTFMT_TYPE_UNITS

Formatting of a list of values with units, e.g.

U_CAPI void ulistfmt_close(UListFormatter *listfmt)

Close a UListFormatter object.

#define U_CAPI

This is used to declare a function as a public ICU C API.

char16_t UChar

The base type for UTF-16 code units and pointers.

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

UErrorCode

Standard ICU4C error code type, a substitute for exceptions.


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