ldas-tools  2.4.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
Classes | Public Types | Public Member Functions | Static Public Member Functions | Protected Types | Protected Member Functions | Static Protected Attributes | List of all members
GenericAPI::SymbolMapper Class Referenceabstract

#include <SymbolMapper.hh>

Inheritance diagram for GenericAPI::SymbolMapper:
GenericAPI::TCL::SymbolMapper

Classes

class  info
 

Public Types

enum  arg_type { ARGS_I, ARGS_S, ARGS_NS, ARGS_LS }
 
typedef void(* func_type )(...)
 

Public Member Functions

virtual ~SymbolMapper ()
 

Static Public Member Functions

static void Add (const std::string &Symbol, arg_type Arg, func_type Function)
 
static void OnExit ()
 

Protected Types

typedef
LDASTools::AL::unordered_map
< std::string, info
symbol_table_type
 

Protected Member Functions

void add (const std::string &Symbol, arg_type Arg, func_type Function)
 
virtual void addSymbol (const std::string &Symbol, arg_type Arg, func_type Function)=0
 
const infolookup (const std::string &Symbol) const
 

Static Protected Attributes

static SymbolMapperm_symbol_mapper
 

Member Typedef Documentation

typedef void(* GenericAPI::SymbolMapper::func_type)(...)

Member Enumeration Documentation

  • I Integer parameter
  • LS List of string parameters
  • NS Variable name parameter
  • S String parameter
Enumerator
ARGS_I 
ARGS_S 
ARGS_NS 
ARGS_LS 

Constructor & Destructor Documentation

virtual GenericAPI::SymbolMapper::~SymbolMapper ( )
virtual

Reimplemented in GenericAPI::TCL::SymbolMapper.

Member Function Documentation

static void GenericAPI::SymbolMapper::Add ( const std::string &  Symbol,
arg_type  Arg,
func_type  Function 
)
inlinestatic
void GenericAPI::SymbolMapper::add ( const std::string &  Symbol,
arg_type  Arg,
func_type  Function 
)
protected
virtual void GenericAPI::SymbolMapper::addSymbol ( const std::string &  Symbol,
arg_type  Arg,
func_type  Function 
)
protectedpure virtual
const info* GenericAPI::SymbolMapper::lookup ( const std::string &  Symbol) const
protected
static void GenericAPI::SymbolMapper::OnExit ( )
static

Member Data Documentation

SymbolMapper* GenericAPI::SymbolMapper::m_symbol_mapper
staticprotected

The documentation for this class was generated from the following file: