PseudoOpMap Class

Definition

Line 37 of cmsxa/Assembly.cm

Constructors & Destructor

static PseudoOpMap()
private PseudoOpMap()

Member Functions

public nothrow int GetCode(const String<char>& name) const
public String<char> GetName(int code) const
public static nothrow PseudoOpMap& Instance()
public int MaxOpCodeNameLength() const

Member Variables

private HashMap<String<char>, int, Hasher<String<char>>, EqualTo<String<char>>> codes
private static UniquePtr<PseudoOpMap> instance
private int maxOpCodeNameLength
private HashMap<int, String<char>, Hasher<int>, EqualTo<int>> names

Constructor& Destructor Details

PseudoOpMap Static Constructor

static PseudoOpMap()

Definition
Line 39 of cmsxa/Assembly.cm


PseudoOpMap Constructor

private PseudoOpMap()

Definition
Line 46 of cmsxa/Assembly.cm


Member Function Details

GetCode Member Function

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

Definition
Line 92 of cmsxa/Assembly.cm


GetName Member Function

public String<char> GetName(int code)

Definition
Line 101 of cmsxa/Assembly.cm


Instance Static Member Function

public static nothrow PseudoOpMap& Instance()

Definition
Line 42 of cmsxa/Assembly.cm


MaxOpCodeNameLength Member Function

public int MaxOpCodeNameLength()

Definition
Line 113 of cmsxa/Assembly.cm