LinkTable Class

Definition

Line 132 of cmsxo/Link.cm

Constructors & Destructor

public nothrow LinkTable(const ClassIdMap& classIdMap_)
public ~LinkTable()

Member Functions

public void AddCopyRange(const CopyRange& copyRange, bool debug)
public void AddLinkCommand(const String<char>& symbolName, LinkCommand* command)
public void AddUnprocessedSymbol(Symbol* symbol, Section* section, SymbolTable* symbolTable)
public void AddUsedSymbolName(const String<char>& symbolName)
public ulong CodeByteCount() const
public void CopyRanges(bool debug)
public void ExecuteLinkCommands(const String<char>& symbolName, ulong value, bool debug)
public ulong GetClassId(const Uuid& typeId) const
public List<Pair<Symbol*, Pair<Section*, SymbolTable*>>>* GetUnprocessedSymbolList(const String<char>& symbolName)
public bool IsUsedSymbolName(const String<char>& symbolName)
public void ReportUnresolvedSymbols()

Member Variables

private const ClassIdMap& classIdMap
private List<CopyRange> copyRanges
private Map<String<char>, List<LinkCommand*>, Less<String<char>>> linkCommandMap
private HashMap<String<char>, List<Pair<Symbol*, Pair<Section*, SymbolTable*>>>, Hasher<String<char>>, EqualTo<String<char>>> unprocessedSymbolLists
private HashSet<String<char>, Hasher<String<char>>, EqualTo<String<char>>> usedSymbolNames

Constructor& Destructor Details

LinkTable Constructor

public nothrow LinkTable(const ClassIdMap& classIdMap_)

Definition
Line 134 of cmsxo/Link.cm


~LinkTable Destructor

public ~LinkTable()

Definition
Line 251 of cmsxo/Link.cm


Member Function Details

AddCopyRange Member Function

public void AddCopyRange(const CopyRange& copyRange, bool debug)

Definition
Line 160 of cmsxo/Link.cm


AddLinkCommand Member Function

public void AddLinkCommand(const String<char>& symbolName, LinkCommand* command)

Definition
Line 137 of cmsxo/Link.cm


AddUnprocessedSymbol Member Function

public void AddUnprocessedSymbol(Symbol* symbol, Section* section, SymbolTable* symbolTable)

Definition
Line 261 of cmsxo/Link.cm


AddUsedSymbolName Member Function

public void AddUsedSymbolName(const String<char>& symbolName)

Definition
Line 243 of cmsxo/Link.cm


CodeByteCount Member Function

public ulong CodeByteCount()

Definition
Line 227 of cmsxo/Link.cm


CopyRanges Member Function

public void CopyRanges(bool debug)

Definition
Line 205 of cmsxo/Link.cm


ExecuteLinkCommands Member Function

public void ExecuteLinkCommands(const String<char>& symbolName, ulong value, bool debug)

Definition
Line 142 of cmsxo/Link.cm


GetClassId Member Function

public ulong GetClassId(const Uuid& typeId)

Definition
Line 239 of cmsxo/Link.cm


GetUnprocessedSymbolList Member Function

public List<Pair<Symbol*, Pair<Section*, SymbolTable*>>>* GetUnprocessedSymbolList(const String<char>& symbolName)

Definition
Line 266 of cmsxo/Link.cm


IsUsedSymbolName Member Function

public bool IsUsedSymbolName(const String<char>& symbolName)

Definition
Line 247 of cmsxo/Link.cm


ReportUnresolvedSymbols Member Function

public void ReportUnresolvedSymbols()

Definition
Line 189 of cmsxo/Link.cm