BlockTable Class

Definition

Line 341 of System.Base/Unicode.cm

Constructors & Destructor

static BlockTable()
private BlockTable()
public ~BlockTable()

Member Functions

public inline nothrow const Block* GetBlock(BlockId id) const
public inline const Block* GetBlockByLongName(const String<char>& longName) const
public inline const Block* GetBlockByShortName(const String<char>& shortName) const
public static BlockTable& Instance()

Member Variables

private HashMap<uint, void*, Hasher<uint>, EqualTo<uint>> blockIdMap
private List<Block*> blocks
private static UniquePtr<BlockTable> 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

BlockTable Static Constructor

static BlockTable()

Definition
Line 343 of System.Base/Unicode.cm


BlockTable Constructor

private BlockTable()

Definition
Line 377 of System.Base/Unicode.cm


~BlockTable Destructor

public ~BlockTable()

Definition
Line 686 of System.Base/Unicode.cm


Member Function Details

GetBlock Member Function

public inline nothrow const Block* GetBlock(BlockId id)

Definition
Line 350 of System.Base/Unicode.cm


GetBlockByLongName Member Function

public inline const Block* GetBlockByLongName(const String<char>& longName)

Definition
Line 368 of System.Base/Unicode.cm


GetBlockByShortName Member Function

public inline const Block* GetBlockByShortName(const String<char>& shortName)

Definition
Line 359 of System.Base/Unicode.cm


Instance Static Member Function

public static BlockTable& Instance()

Definition
Line 346 of System.Base/Unicode.cm