306 virtual int32_t getMaxLabelCount()
const;
376 virtual int32_t getBucketCount(
UErrorCode &status);
387 virtual int32_t getRecordCount(
UErrorCode &status);
412 virtual int32_t getBucketIndex()
const;
455 virtual int32_t getBucketRecordCount()
const;
500 virtual const void *getRecordData()
const;
554 static void staticCleanup();
561 UVector *firstStringsInScript(
UErrorCode &status);
587 int32_t serialNumber_;
635 static ELangType langTypeFromLocale(
const Locale &loc);
642 UVector *bucketList_;
644 int32_t labelsIterIndex_;
645 int32_t itemsIterIndex_;
646 Bucket *currentBucket_;
650 UBool indexBuildRequired_;
654 int32_t maxLabelCount_;
656 UHashtable *alreadyIn_;
677 UVector *firstScriptCharacters_;
692 typedef const UChar PinyinLookup[24][3];
693 static PinyinLookup HACK_PINYIN_LOOKUP_SHORT;
694 static PinyinLookup HACK_PINYIN_LOOKUP_LONG;
698 static PinyinLookup *HACK_PINYIN_LOOKUP;
699 static const UChar *PINYIN_LOWER_BOUNDS;
703 int32_t recordCounter_;
The RuleBasedCollator class provides the simple implementation of Collator, using data-driven tables...
A mutable set of Unicode characters and multicharacter strings.
UVector * inputRecords_
Holds all user records before they are distributed into buckets.
A Bucket holds an index label and references to everything belonging to that label.
U_EXPORT UBool operator==(const StringPiece &x, const StringPiece &y)
Global operator == for StringPiece.
Normal Label, typically the starting letter of the names in the bucket with this label.
#define U_CDECL_BEGIN
This is used to begin a declaration of a library private ICU C API.
#define U_I18N_API
Set to export library symbols from inside the i18n library, and to import them from outside...
#define U_NAMESPACE_BEGIN
This is used to begin a declaration of a public ICU C++ API.
The Collator class performs locale-sensitive string comparison.
UMemory is the common ICU base class.
UnicodeString is a string class that stores Unicode characters directly and provides similar function...
UBool operator!=(const StringPiece &x, const StringPiece &y)
Global operator != for StringPiece.
C++ API: Common ICU base class UObject.
uint16_t UChar
Define UChar to be wchar_t if that is 16 bits wide; always assumed to be unsigned.
#define U_CDECL_END
This is used to end a declaration of a library private ICU C API.
#define U_NAMESPACE_END
This is used to end a declaration of a public ICU C++ API.
UObject is the common ICU "boilerplate" class.
void * UClassID
UClassID is used to identify classes without using RTTI, since RTTI is not yet supported by all C++ c...
UErrorCode
Error code to replace exception handling, so that the code is compatible with all C++ compilers...
Base class for 'pure' C++ implementations of uenum api.
C++ API: Locale ID object.
Basic definitions for ICU, for both C and C++ APIs.
class AlphabeticIndex supports the creation of a UI index appropriate for a given language...
A Locale object represents a specific geographical, political, or cultural region.
virtual UClassID getDynamicClassID() const =0
ICU4C "poor man's RTTI", returns a UClassID for the actual ICU class.
A record, or item, in the index.
int8_t UBool
The ICU boolean type.
UAlphabeticIndexLabelType
Constants for Alphabetic Index Label Types.