MBDyn-1.7.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups
TableNameSpace Class Reference
Inheritance diagram for TableNameSpace:
Collaboration diagram for TableNameSpace:

Public Member Functions

 TableNameSpace (const std::string &sName)
 
 ~TableNameSpace (void)
 
bool IsFunc (const std::string &fname) const
 
MathParser::MathFunc_tGetFunc (const std::string &fname) const
 
TypedValue EvalFunc (MathParser::MathFunc_t *f) const
 
virtual TableGetTable (void)
 
- Public Member Functions inherited from MathParser::NameSpace
 NameSpace (const std::string &name)
 
virtual ~NameSpace (void)
 
virtual const std::string & sGetName (void) const
 

Protected Attributes

Tablem_pTable
 

Detailed Description

Definition at line 38 of file module-namespace.cc.

Constructor & Destructor Documentation

TableNameSpace::TableNameSpace ( const std::string &  sName)

Definition at line 52 of file module-namespace.cc.

References m_pTable.

53 : MathParser::NameSpace(sName)
54 {
55  m_pTable = new Table(false);
56 }
Definition: table.h:43
TableNameSpace::~TableNameSpace ( void  )

Definition at line 58 of file module-namespace.cc.

References m_pTable.

59 {
60  delete m_pTable;
61 }

Member Function Documentation

TypedValue TableNameSpace::EvalFunc ( MathParser::MathFunc_t f) const
virtual

Implements MathParser::NameSpace.

Definition at line 76 of file module-namespace.cc.

References MBDYN_EXCEPT_ARGS.

77 {
79 }
#define MBDYN_EXCEPT_ARGS
Definition: except.h:63
MathParser::MathFunc_t * TableNameSpace::GetFunc ( const std::string &  fname) const
virtual

Implements MathParser::NameSpace.

Definition at line 70 of file module-namespace.cc.

71 {
72  return 0;
73 }
Table * TableNameSpace::GetTable ( void  )
virtual

Implements MathParser::NameSpace.

Definition at line 82 of file module-namespace.cc.

References m_pTable.

83 {
84  return m_pTable;
85 }
bool TableNameSpace::IsFunc ( const std::string &  fname) const
virtual

Implements MathParser::NameSpace.

Definition at line 64 of file module-namespace.cc.

65 {
66  return false;
67 }

Member Data Documentation

Table* TableNameSpace::m_pTable
protected

Definition at line 40 of file module-namespace.cc.

Referenced by GetTable(), TableNameSpace(), and ~TableNameSpace().


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