GeneralCategoryTable Class

Definition

Line 759 of System.Base/Unicode.cm

Constructors & Destructor

static GeneralCategoryTable()
private GeneralCategoryTable()
public ~GeneralCategoryTable()

Member Functions

public nothrow const GeneralCategory* GetGeneralCategory(GeneralCategoryId id) const
public const GeneralCategory* GetGeneralCategoryByLongName(const String<char>& longName) const
public const GeneralCategory* GetGeneralCategoryByShortName(const String<char>& shortName) const
public static GeneralCategoryTable& Instance()

Member Variables

private List<GeneralCategory*> generalCategories
private HashMap<uint, void*, Hasher<uint>, EqualTo<uint>> generalCategoryIdMap
private static UniquePtr<GeneralCategoryTable> instance
private HashMap<String<char>, void*, Hasher<String<char>>, EqualTo<String<char>>> longNameMap
private HashMap<String<char>, void*, Hasher<String<char>>, EqualTo<String<char>>> shortNameMap

Constructor& Destructor Details

GeneralCategoryTable Static Constructor

static GeneralCategoryTable()

Definition
Line 761 of System.Base/Unicode.cm


GeneralCategoryTable Constructor

private GeneralCategoryTable()

Definition
Line 795 of System.Base/Unicode.cm


~GeneralCategoryTable Destructor

public ~GeneralCategoryTable()

Definition
Line 844 of System.Base/Unicode.cm


Member Function Details

GetGeneralCategory Member Function

public nothrow const GeneralCategory* GetGeneralCategory(GeneralCategoryId id)

Definition
Line 768 of System.Base/Unicode.cm


GetGeneralCategoryByLongName Member Function

public const GeneralCategory* GetGeneralCategoryByLongName(const String<char>& longName)

Definition
Line 786 of System.Base/Unicode.cm


GetGeneralCategoryByShortName Member Function

public const GeneralCategory* GetGeneralCategoryByShortName(const String<char>& shortName)

Definition
Line 777 of System.Base/Unicode.cm


Instance Static Member Function

public static GeneralCategoryTable& Instance()

Definition
Line 764 of System.Base/Unicode.cm