| 
    Bridge++
    Ver. 1.2.x
    
   | 
 
#include <evalexpr_symbol.h>
Classes | |
| struct | SymbolRecord | 
Public Member Functions | |
| bool | find_symbol (const std::string &name) | 
| bool | put_symbol (const std::string &name, const double value) | 
| bool | put_symbol (const std::string &name, const function_t tptr) | 
| double | get_symbol_value (const std::string &name) const | 
| function_t | get_symbol_function (const std::string &name) const | 
| void | dump () const | 
Private Types | |
| enum | ValueType { VARIABLE, FUNCTION } | 
| typedef std::map< std::string,  SymbolRecord >  | SymbolMap_t | 
Private Attributes | |
| SymbolMap_t | table | 
Definition at line 22 of file evalexpr_symbol.h.
      
  | 
  private | 
Definition at line 39 of file evalexpr_symbol.h.
      
  | 
  private | 
| Enumerator | |
|---|---|
| VARIABLE | |
| FUNCTION | |
Definition at line 26 of file evalexpr_symbol.h.
| void SymbolTable::dump | ( | ) | const | 
Definition at line 79 of file evalexpr_symbol.cpp.
| bool SymbolTable::find_symbol | ( | const std::string & | name | ) | 
Definition at line 17 of file evalexpr_symbol.cpp.
| function_t SymbolTable::get_symbol_function | ( | const std::string & | name | ) | const | 
Definition at line 66 of file evalexpr_symbol.cpp.
| double SymbolTable::get_symbol_value | ( | const std::string & | name | ) | const | 
Definition at line 53 of file evalexpr_symbol.cpp.
| bool SymbolTable::put_symbol | ( | const std::string & | name, | 
| const double | value | ||
| ) | 
Definition at line 23 of file evalexpr_symbol.cpp.
| bool SymbolTable::put_symbol | ( | const std::string & | name, | 
| const function_t | tptr | ||
| ) | 
Definition at line 38 of file evalexpr_symbol.cpp.
      
  | 
  private | 
Definition at line 41 of file evalexpr_symbol.h.