OpCodeMap Class

Definition

Line 294 of cmsxm/OpCode.cm

Constructors & Destructor

static OpCodeMap()
private OpCodeMap()

Member Functions

public nothrow int GetCode(const String<char>& name) const
public nothrow const String<char>& GetName(byte opCode) const
public static nothrow OpCodeMap& Instance()
public nothrow int MaxOpCodeNameLength() const

Member Variables

private HashMap<String<char>, byte, Hasher<String<char>>, EqualTo<String<char>>> codes
private static UniquePtr<OpCodeMap> instance
private int maxOpCodeNameLength
private String<char>[256] names

Constructor& Destructor Details

OpCodeMap Static Constructor

static OpCodeMap()

Definition
Line 296 of cmsxm/OpCode.cm


OpCodeMap Constructor

private OpCodeMap()

Definition
Line 303 of cmsxm/OpCode.cm


Member Function Details

GetCode Member Function

public nothrow int GetCode(const String<char>& name)

Definition
Line 894 of cmsxm/OpCode.cm


GetName Member Function

public nothrow const String<char>& GetName(byte opCode)

Definition
Line 890 of cmsxm/OpCode.cm


Instance Static Member Function

public static nothrow OpCodeMap& Instance()

Definition
Line 299 of cmsxm/OpCode.cm


MaxOpCodeNameLength Member Function

public nothrow int MaxOpCodeNameLength()

Definition
Line 903 of cmsxm/OpCode.cm