ScriptTable Class

Definition

Line 1040 of System.Base/Unicode.cm

Constructors & Destructor

static ScriptTable()
private ScriptTable()
public ~ScriptTable()

Member Functions

public const Script* GetScript(ScriptId id) const
public const Script* GetScriptByLongName(const String<char>& longName) const
public const Script* GetScriptByShortName(const String<char>& shortName) const
public static ScriptTable& Instance()

Member Variables

private static UniquePtr<ScriptTable> instance
private HashMap<String<char>, void*, Hasher<String<char>>, EqualTo<String<char>>> longNameMap
private HashMap<uint, void*, Hasher<uint>, EqualTo<uint>> scriptIdMap
private List<Script*> scripts
private HashMap<String<char>, void*, Hasher<String<char>>, EqualTo<String<char>>> shortNameMap

Constructor& Destructor Details

ScriptTable Static Constructor

static ScriptTable()

Definition
Line 1042 of System.Base/Unicode.cm


ScriptTable Constructor

private ScriptTable()

Definition
Line 1076 of System.Base/Unicode.cm


~ScriptTable Destructor

public ~ScriptTable()

Definition
Line 1239 of System.Base/Unicode.cm


Member Function Details

GetScript Member Function

public const Script* GetScript(ScriptId id)

Definition
Line 1049 of System.Base/Unicode.cm


GetScriptByLongName Member Function

public const Script* GetScriptByLongName(const String<char>& longName)

Definition
Line 1067 of System.Base/Unicode.cm


GetScriptByShortName Member Function

public const Script* GetScriptByShortName(const String<char>& shortName)

Definition
Line 1058 of System.Base/Unicode.cm


Instance Static Member Function

public static ScriptTable& Instance()

Definition
Line 1045 of System.Base/Unicode.cm