top | up | prev | next

BidiClassTable Class

Definition at line 699 of Unicode.hpp

Constructors

BidiClassTable()

Member Functions

const std::vector<BidiClass>& BidiClasses() const
void Done() static
const BidiClass& GetBidiClass(BidiClassId id) const
const BidiClass& GetBidiClassByLongName(const std::string& longName) const
const BidiClass& GetBidiClassByShortName(const std::string& shortName) const
void Init() static
BidiClassTable& Instance() static

Member Variables

std::unordered_map<BidiClassId, const BidiClass*, BidiClassIdHash> bidiClassMap
std::vector<BidiClass> bidiClasses
std::unique_ptr<BidiClassTable> instance static
std::unordered_map<std::string, const BidiClass*> longNameMap
std::unordered_map<std::string, const BidiClass*> shortNameMap

Constructor Details

BidiClassTable Constructor

soulng::unicode::BidiClassTable::BidiClassTable()

Definition at line 1593 of Unicode.cpp
Declaration at line 711 of Unicode.hpp


Member Function Details

BidiClasses Member Function

const std::vector<BidiClass >& soulng::unicode::BidiClassTable::BidiClasses() const

Definition at line 708 of Unicode.hpp :
 708 { return bidiClasses; }


Done Member Function

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

Definition at line 1586 of Unicode.cpp :
1587 {
1588     instance.reset();
1589 }


Declaration at line 703 of Unicode.hpp


GetBidiClass Member Function

const BidiClass & soulng::unicode::BidiClassTable::GetBidiClass(BidiClassId id) const

Definition at line 1627 of Unicode.cpp
Declaration at line 705 of Unicode.hpp


GetBidiClassByLongName Member Function

const BidiClass & soulng::unicode::BidiClassTable::GetBidiClassByLongName(const std::string& longName) const

Definition at line 1653 of Unicode.cpp
Declaration at line 707 of Unicode.hpp


GetBidiClassByShortName Member Function

const BidiClass & soulng::unicode::BidiClassTable::GetBidiClassByShortName(const std::string& shortName) const

Definition at line 1640 of Unicode.cpp
Declaration at line 706 of Unicode.hpp


Init Member Function

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

Definition at line 1581 of Unicode.cpp :
1582 {
1583     instance.reset(new BidiClassTable());
1584 }


Declaration at line 702 of Unicode.hpp


Instance Member Function

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

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


top | up | prev | next