top | up | prev | next

GeneralCategoryTable Class

Definition at line 320 of Unicode.hpp

Constructors

GeneralCategoryTable()

Member Functions

void Done() static
const std::vector<GeneralCategory>& GeneralCategories() const
const GeneralCategory& GetGeneralCategory(GeneralCategoryId generalCategoryId) const
const GeneralCategory& GetGeneralCategoryByLongName(const std::string& longName) const
const GeneralCategory& GetGeneralCategoryByShortName(const std::string& shortName) const
void Init() static
GeneralCategoryTable& Instance() static

Member Variables

std::vector<GeneralCategory> generalCategories
std::unordered_map<GeneralCategoryId, const GeneralCategory*, GeneralCategoryIdHash> generalCategoryIdMap
std::unique_ptr<GeneralCategoryTable> instance static
std::unordered_map<std::string, const GeneralCategory*> longNameMap
std::unordered_map<std::string, const GeneralCategory*> shortNameMap

Constructor Details

GeneralCategoryTable Constructor

soulng::unicode::GeneralCategoryTable::GeneralCategoryTable()

Definition at line 1095 of Unicode.cpp
Declaration at line 331 of Unicode.hpp


Member Function Details

Done Member Function

void soulng::unicode::GeneralCategoryTable::Done() static

Definition at line 1088 of Unicode.cpp :
1089 {
1090     instance.reset();
1091 }


Declaration at line 324 of Unicode.hpp


GeneralCategories Member Function

const std::vector<GeneralCategory >& soulng::unicode::GeneralCategoryTable::GeneralCategories() const

Definition at line 329 of Unicode.hpp :
 329 { return generalCategories; }


GetGeneralCategory Member Function

const GeneralCategory & soulng::unicode::GeneralCategoryTable::GetGeneralCategory(GeneralCategoryId generalCategoryId) const

Definition at line 1145 of Unicode.cpp
Declaration at line 326 of Unicode.hpp


GetGeneralCategoryByLongName Member Function

const GeneralCategory & soulng::unicode::GeneralCategoryTable::GetGeneralCategoryByLongName(const std::string& longName) const

Definition at line 1171 of Unicode.cpp
Declaration at line 328 of Unicode.hpp


GetGeneralCategoryByShortName Member Function

const GeneralCategory & soulng::unicode::GeneralCategoryTable::GetGeneralCategoryByShortName(const std::string& shortName) const

Definition at line 1158 of Unicode.cpp
Declaration at line 327 of Unicode.hpp


Init Member Function

void soulng::unicode::GeneralCategoryTable::Init() static

Definition at line 1083 of Unicode.cpp :
1084 {
1085     instance.reset(new GeneralCategoryTable());
1086 }


Declaration at line 323 of Unicode.hpp


Instance Member Function

GeneralCategoryTable & soulng::unicode::GeneralCategoryTable::Instance() static

Definition at line 325 of Unicode.hpp :
 325 { return *instance; }


top | up | prev | next