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

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

17 #ifndef __APPENDABLE_H__ 18 #define __APPENDABLE_H__ 27 #if U_SHOW_CPLUSPLUS_API 145

int32_t desiredCapacityHint,

146

char16_t *scratch, int32_t scratchCapacity,

147

int32_t *resultCapacity);

227

int32_t desiredCapacityHint,

228

char16_t *scratch, int32_t scratchCapacity,

229

int32_t *resultCapacity)

override

;

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

virtual UBool reserveAppendCapacity(int32_t appendCapacity)

Tells the object that the caller is going to append roughly appendCapacity char16_ts.

virtual UBool appendCodeUnit(char16_t c)=0

Appends a 16-bit code unit.

virtual UBool appendString(const char16_t *s, int32_t length)

Appends a string.

virtual UBool appendCodePoint(UChar32 c)

Appends a code point.

virtual char16_t * getAppendBuffer(int32_t minCapacity, int32_t desiredCapacityHint, char16_t *scratch, int32_t scratchCapacity, int32_t *resultCapacity)

Returns a writable buffer for appending and writes the buffer's capacity to *resultCapacity.

~Appendable()

Destructor.

UObject is the common ICU "boilerplate" class.

An Appendable implementation which writes to a UnicodeString.

virtual UBool reserveAppendCapacity(int32_t appendCapacity) override

Tells the UnicodeString that the caller is going to append roughly appendCapacity char16_ts.

virtual UBool appendCodePoint(UChar32 c) override

Appends a code point to the string.

UnicodeStringAppendable(UnicodeString &s)

Aliases the UnicodeString (keeps its reference) for writing.

virtual char16_t * getAppendBuffer(int32_t minCapacity, int32_t desiredCapacityHint, char16_t *scratch, int32_t scratchCapacity, int32_t *resultCapacity) override

Returns a writable buffer for appending and writes the buffer's capacity to *resultCapacity.

virtual UBool appendString(const char16_t *s, int32_t length) override

Appends a string to the UnicodeString.

virtual UBool appendCodeUnit(char16_t c) override

Appends a 16-bit code unit to the string.

~UnicodeStringAppendable()

Destructor.

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

int32_t UChar32

Define UChar32 as a type for single Unicode code points.

int8_t UBool

The ICU boolean type, a signed-byte integer.

C++ API: Common ICU base class UObject.

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

#define U_COMMON_API

Set to export library symbols from inside the common 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