ldas-tools-ldasgen  2.7.1
Public Types | Public Member Functions | Static Public Member Functions | Protected Types | Protected Member Functions | Static Protected Attributes | Private Member Functions | Static Private Member Functions | Private Attributes | List of all members
GenericAPI::TCL::SymbolMapper Class Reference

#include <SymbolMapperTCL.hh>

Inheritance diagram for GenericAPI::TCL::SymbolMapper:
Inheritance graph
[legend]
Collaboration diagram for GenericAPI::TCL::SymbolMapper:
Collaboration graph
[legend]

Public Types

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

Public Member Functions

 SymbolMapper (Tcl_Interp *Interp)
 
virtual ~SymbolMapper ()
 
 SymbolMapper (Tcl_Interp *Interp)
 
virtual ~SymbolMapper ()
 
 SymbolMapper (Tcl_Interp *Interp)
 
virtual ~SymbolMapper ()
 

Static Public Member Functions

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

Protected Types

typedef LDASTools::AL::unordered_map< std::string, infosymbol_table_type
 
typedef LDASTools::AL::unordered_map< std::string, infosymbol_table_type
 
typedef LDASTools::AL::unordered_map< std::string, infosymbol_table_type
 

Protected Member Functions

virtual void addSymbol (const std::string &Symbol, arg_type Arg, func_type Function)
 
virtual void addSymbol (const std::string &Symbol, arg_type Arg, func_type Function)
 
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)
 
void add (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
 
const infolookup (const std::string &Symbol) const
 
const infolookup (const std::string &Symbol) const
 

Static Protected Attributes

static SymbolMapperm_symbol_mapper = init( )
 

Private Member Functions

Tcl_Interp * interp ()
 
Tcl_Interp * interp ()
 
Tcl_Interp * interp ()
 

Static Private Member Functions

static char * change_callback (ClientData CD, Tcl_Interp *Interp, CONST84 char *Name1, CONST84 char *Name2, int Flags)
 
static char * change_callback (ClientData CD, Tcl_Interp *Interp, CONST84 char *Name1, CONST84 char *Name2, int Flags)
 
static char * change_callback (ClientData CD, Tcl_Interp *Interp, CONST84 char *Name1, CONST84 char *Name2, int Flags)
 

Private Attributes

Tcl_Interp * m_interp
 

Member Typedef Documentation

◆ func_type [1/3]

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

◆ func_type [2/3]

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

◆ func_type [3/3]

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

◆ symbol_table_type [1/3]

typedef LDASTools::AL::unordered_map< std::string, info > GenericAPI::SymbolMapper::symbol_table_type
protectedinherited

◆ symbol_table_type [2/3]

typedef LDASTools::AL::unordered_map< std::string, info > GenericAPI::SymbolMapper::symbol_table_type
protectedinherited

◆ symbol_table_type [3/3]

typedef LDASTools::AL::unordered_map< std::string, info > GenericAPI::SymbolMapper::symbol_table_type
protectedinherited

Member Enumeration Documentation

◆ arg_type [1/3]

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

◆ arg_type [2/3]

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

◆ arg_type [3/3]

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

Constructor & Destructor Documentation

◆ SymbolMapper() [1/3]

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

◆ ~SymbolMapper() [1/3]

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

Reimplemented from GenericAPI::SymbolMapper.

◆ SymbolMapper() [2/3]

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

◆ ~SymbolMapper() [2/3]

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

Reimplemented from GenericAPI::SymbolMapper.

◆ SymbolMapper() [3/3]

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

◆ ~SymbolMapper() [3/3]

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

Reimplemented from GenericAPI::SymbolMapper.

Member Function Documentation

◆ Add() [1/3]

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

◆ Add() [2/3]

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

◆ Add() [3/3]

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

◆ add() [1/3]

void GenericAPI::SymbolMapper::add ( const std::string &  Symbol,
arg_type  Arg,
func_type  Function 
)
protectedinherited

◆ add() [2/3]

void GenericAPI::SymbolMapper::add ( const std::string &  Symbol,
arg_type  Arg,
func_type  Function 
)
protectedinherited

◆ add() [3/3]

void GenericAPI::SymbolMapper::add ( const std::string &  Symbol,
arg_type  Arg,
func_type  Function 
)
protectedinherited

◆ addSymbol() [1/3]

virtual void GenericAPI::TCL::SymbolMapper::addSymbol ( const std::string &  Symbol,
arg_type  Arg,
func_type  Function 
)
protectedvirtual

◆ addSymbol() [2/3]

virtual void GenericAPI::TCL::SymbolMapper::addSymbol ( const std::string &  Symbol,
arg_type  Arg,
func_type  Function 
)
protectedvirtual

◆ addSymbol() [3/3]

void GenericAPI::TCL::SymbolMapper::addSymbol ( const std::string &  Symbol,
arg_type  Arg,
func_type  Function 
)
protectedvirtual

◆ change_callback() [1/3]

static char* GenericAPI::TCL::SymbolMapper::change_callback ( ClientData  CD,
Tcl_Interp *  Interp,
CONST84 char *  Name1,
CONST84 char *  Name2,
int  Flags 
)
staticprivate

◆ change_callback() [2/3]

char * GenericAPI::TCL::SymbolMapper::change_callback ( ClientData  CD,
Tcl_Interp *  Interp,
CONST84 char *  Name1,
CONST84 char *  Name2,
int  Flags 
)
staticprivate

◆ change_callback() [3/3]

static char* GenericAPI::TCL::SymbolMapper::change_callback ( ClientData  CD,
Tcl_Interp *  Interp,
CONST84 char *  Name1,
CONST84 char *  Name2,
int  Flags 
)
staticprivate

◆ Create() [1/3]

void GenericAPI::TCL::SymbolMapper::Create ( Tcl_Interp *  Interp)
static

◆ Create() [2/3]

static void GenericAPI::TCL::SymbolMapper::Create ( Tcl_Interp *  Interp)
static

◆ Create() [3/3]

static void GenericAPI::TCL::SymbolMapper::Create ( Tcl_Interp *  Interp)
static

◆ interp() [1/3]

Tcl_Interp* GenericAPI::TCL::SymbolMapper::interp ( )
private

◆ interp() [2/3]

Tcl_Interp * GenericAPI::TCL::SymbolMapper::interp ( )
inlineprivate

◆ interp() [3/3]

Tcl_Interp* GenericAPI::TCL::SymbolMapper::interp ( )
private

◆ lookup() [1/3]

const SymbolMapper::info * GenericAPI::SymbolMapper::lookup ( const std::string &  Symbol) const
protectedinherited

◆ lookup() [2/3]

const info* GenericAPI::SymbolMapper::lookup ( const std::string &  Symbol) const
protectedinherited

◆ lookup() [3/3]

const info* GenericAPI::SymbolMapper::lookup ( const std::string &  Symbol) const
protectedinherited

◆ OnExit() [1/3]

void GenericAPI::SymbolMapper::OnExit ( )
staticinherited

◆ OnExit() [2/3]

static void GenericAPI::SymbolMapper::OnExit ( )
staticinherited

◆ OnExit() [3/3]

static void GenericAPI::SymbolMapper::OnExit ( )
staticinherited

Member Data Documentation

◆ m_interp

Tcl_Interp * GenericAPI::TCL::SymbolMapper::m_interp
private

◆ m_symbol_mapper

static SymbolMapper * GenericAPI::SymbolMapper::m_symbol_mapper = init( )
staticprotectedinherited

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