ldas-tools-ldasgen 2.7.3
Classes | Public Types | Public Member Functions | Static Public Member Functions | Protected Types | Protected Member Functions | Static Protected Attributes | Private Attributes | List of all members
GenericAPI::SymbolMapper Class Referenceabstract

#include <SymbolMapper.hh>

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

Classes

class  info
 

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

virtual ~SymbolMapper ()
 
virtual ~SymbolMapper ()
 
virtual ~SymbolMapper ()
 

Static Public Member Functions

static void Add (const std::string &Symbol, arg_type Arg, func_type Function)
 
static void OnExit ()
 
static void Add (const std::string &Symbol, arg_type Arg, func_type Function)
 
static void OnExit ()
 
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, 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

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
 
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
 
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 = init( )
 

Private Attributes

symbol_table_type m_symbol_table
 

Member Typedef Documentation

◆ func_type [1/3]

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

◆ func_type [2/3]

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

◆ func_type [3/3]

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

◆ symbol_table_type [1/3]

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

◆ symbol_table_type [2/3]

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

◆ symbol_table_type [3/3]

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

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::SymbolMapper::~SymbolMapper ( )
virtual

◆ ~SymbolMapper() [2/3]

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

◆ ~SymbolMapper() [3/3]

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

Member Function Documentation

◆ Add() [1/3]

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

◆ add() [1/3]

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

◆ Add() [2/3]

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

◆ add() [2/3]

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

◆ Add() [3/3]

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

◆ add() [3/3]

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

◆ addSymbol() [1/3]

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

◆ addSymbol() [2/3]

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

◆ addSymbol() [3/3]

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

◆ lookup() [1/3]

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

◆ lookup() [2/3]

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

◆ lookup() [3/3]

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

◆ OnExit() [1/3]

void GenericAPI::SymbolMapper::OnExit ( )
static

◆ OnExit() [2/3]

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

◆ OnExit() [3/3]

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

Member Data Documentation

◆ m_symbol_mapper

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

◆ m_symbol_table

symbol_table_type GenericAPI::SymbolMapper::m_symbol_table
private

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