top | up | prev | next

AgeTable Class

Definition at line 390 of Unicode.hpp

Constructors

AgeTable()

Member Functions

const std::vector<Age>& Ages() const
void Done() static
const Age& GetAge(AgeId id) const
const Age& GetAge(const std::string& version) const
void Init() static
AgeTable& Instance() static

Member Variables

std::unordered_map<AgeId, const Age*, AgeIdHash> ageIdMap
std::vector<Age> ages
std::unique_ptr<AgeTable> instance static
std::unordered_map<std::string, const Age*> versionMap

Constructor Details

AgeTable Constructor

soulng::unicode::AgeTable::AgeTable()

Definition at line 1200 of Unicode.cpp
Declaration at line 401 of Unicode.hpp


Member Function Details

Ages Member Function

const std::vector<Age >& soulng::unicode::AgeTable::Ages() const

Definition at line 398 of Unicode.hpp :
 398 { return ages; }


Done Member Function

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

Definition at line 1193 of Unicode.cpp :
1194 {
1195     instance.reset();
1196 }


Declaration at line 394 of Unicode.hpp


GetAge Member Function

const Age & soulng::unicode::AgeTable::GetAge(AgeId id) const

Definition at line 1231 of Unicode.cpp
Declaration at line 396 of Unicode.hpp


GetAge Member Function

const Age & soulng::unicode::AgeTable::GetAge(const std::string& version) const

Definition at line 1244 of Unicode.cpp
Declaration at line 397 of Unicode.hpp


Init Member Function

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

Definition at line 1188 of Unicode.cpp :
1189 {
1190     instance.reset(new AgeTable());
1191 }


Declaration at line 393 of Unicode.hpp


Instance Member Function

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

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


top | up | prev | next