top | up | prev | next

BinaryPropertyTable Class

Definition at line 139 of Unicode.hpp

Constructors

BinaryPropertyTable()

Member Functions

const std::vector<BinaryProperty>& BinaryProperties() const
void Done() static
const BinaryProperty& GetBinaryProperty(BinaryPropertyId binaryPropertyId) const
const BinaryProperty& GetBinaryPropertyByLongName(const std::string& longName) const
const BinaryProperty& GetBinaryPropertyByShortName(const std::string& shortName) const
void Init() static
BinaryPropertyTable& Instance() static
bool IsBinaryProperty(const std::string& shortName) const

Member Variables

std::vector<BinaryProperty> binaryProperties
std::unordered_map<BinaryPropertyId, const BinaryProperty*, BinaryPropertyIdHash> binaryPropertyIdMap
std::unique_ptr<BinaryPropertyTable> instance static
std::unordered_map<std::string, const BinaryProperty*> longNameMap
std::unordered_map<std::string, const BinaryProperty*> shortNameMap

Constructor Details

BinaryPropertyTable Constructor

soulng::unicode::BinaryPropertyTable::BinaryPropertyTable()

Definition at line 598 of Unicode.cpp
Declaration at line 151 of Unicode.hpp


Member Function Details

BinaryProperties Member Function

const std::vector<BinaryProperty >& soulng::unicode::BinaryPropertyTable::BinaryProperties() const

Definition at line 149 of Unicode.hpp :
 149 { return binaryProperties; }


Done Member Function

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

Definition at line 591 of Unicode.cpp :
 592 {
 593     instance.reset();
 594 }


Declaration at line 143 of Unicode.hpp


GetBinaryProperty Member Function

const BinaryProperty & soulng::unicode::BinaryPropertyTable::GetBinaryProperty(BinaryPropertyId binaryPropertyId) const

Definition at line 669 of Unicode.cpp
Declaration at line 145 of Unicode.hpp


GetBinaryPropertyByLongName Member Function

const BinaryProperty & soulng::unicode::BinaryPropertyTable::GetBinaryPropertyByLongName(const std::string& longName) const

Definition at line 700 of Unicode.cpp
Declaration at line 148 of Unicode.hpp


GetBinaryPropertyByShortName Member Function

const BinaryProperty & soulng::unicode::BinaryPropertyTable::GetBinaryPropertyByShortName(const std::string& shortName) const

Definition at line 687 of Unicode.cpp
Declaration at line 147 of Unicode.hpp


Init Member Function

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

Definition at line 586 of Unicode.cpp :
 587 {
 588     instance.reset(new BinaryPropertyTable());
 589 }


Declaration at line 142 of Unicode.hpp


Instance Member Function

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

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


IsBinaryProperty Member Function

bool soulng::unicode::BinaryPropertyTable::IsBinaryProperty(const std::string& shortName) const

Definition at line 682 of Unicode.cpp :
 683 {
 684     return shortNameMap.find(MakeCanonicalPropertyName(shortName)) != shortNameMap.cend();
 685 }


Declaration at line 146 of Unicode.hpp


top | up | prev | next