#include <mdobject.h>
Inheritance diagram for SymbolSpace:
Public Member Functions | |
SymbolSpace (std::string Name) | |
Construct a new symbol space. | |
bool | AddSymbol (std::string Symbol, ULPtr &UL) |
Add a new symbol to this symbol space. | |
ULPtr | Find (std::string Symbol, bool SearchAll=false) |
Locate the given symbol in this symbol space, optionally check all other spaces too. | |
const std::string & | Name (void) const |
Get the name of this symbol space. | |
Static Public Member Functions | |
static SymbolSpacePtr | FindSymbolSpace (std::string Name) |
Find the symbol space with a given name. | |
Protected Attributes | |
std::string | SymName |
The name of this symbol space. | |
Static Protected Attributes | |
static SymbolSpaceMap | AllSymbolSpaces |
Map of all existing symbol spaces by name to allow full searching. | |
Private Member Functions | |
SymbolSpace (const SymbolSpace &rhs) | |
Prevent copy construction by NOT having an implementation to this copy constructor. |
SymbolSpace | ( | const SymbolSpace & | rhs | ) | [private] |
Prevent copy construction by NOT having an implementation to this copy constructor.
SymbolSpace | ( | std::string | Name | ) | [inline] |
Construct a new symbol space.
bool AddSymbol | ( | std::string | Symbol, | |
ULPtr & | UL | |||
) | [inline] |
Add a new symbol to this symbol space.
ULPtr Find | ( | std::string | Symbol, | |
bool | SearchAll = false | |||
) | [inline] |
Locate the given symbol in this symbol space, optionally check all other spaces too.
static SymbolSpacePtr FindSymbolSpace | ( | std::string | Name | ) | [inline, static] |
Find the symbol space with a given name.
const std::string& Name | ( | void | ) | const [inline] |
Get the name of this symbol space.
SymbolSpaceMap AllSymbolSpaces [static, protected] |
Map of all existing symbol spaces by name to allow full searching.
std::string SymName [protected] |
The name of this symbol space.