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

#include <SymbolMapperTCL.hh>

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

Public Types

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

Public Member Functions

 SymbolMapper (Tcl_Interp *Interp)
 
virtual ~SymbolMapper ()
 

Static Public Member Functions

static void Create (Tcl_Interp *Interp)
 
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

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

Static Protected Attributes

static SymbolMapperm_symbol_mapper
 

Member Typedef Documentation

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

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

GenericAPI::TCL::SymbolMapper::SymbolMapper ( Tcl_Interp *  Interp)
virtual GenericAPI::TCL::SymbolMapper::~SymbolMapper ( )
virtual

Reimplemented from GenericAPI::SymbolMapper.

Member Function Documentation

static void GenericAPI::SymbolMapper::Add ( const std::string &  Symbol,
arg_type  Arg,
func_type  Function 
)
inlinestaticinherited
void GenericAPI::SymbolMapper::add ( const std::string &  Symbol,
arg_type  Arg,
func_type  Function 
)
protectedinherited
virtual void GenericAPI::TCL::SymbolMapper::addSymbol ( const std::string &  Symbol,
arg_type  Arg,
func_type  Function 
)
protectedvirtual
static void GenericAPI::TCL::SymbolMapper::Create ( Tcl_Interp *  Interp)
static
const info* GenericAPI::SymbolMapper::lookup ( const std::string &  Symbol) const
protectedinherited
static void GenericAPI::SymbolMapper::OnExit ( )
staticinherited

Member Data Documentation

SymbolMapper* GenericAPI::SymbolMapper::m_symbol_mapper
staticprotectedinherited

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