MBDyn-1.7.3
|
#include <mathtyp.h>
Public Member Functions | |
NamedValue (const char *const s) | |
virtual | ~NamedValue (void) |
virtual bool | IsVar (void) const |
const char * | GetName (void) const |
virtual TypedValue::Type | GetType (void) const =0 |
virtual const char *const | GetTypeName (void) const |
virtual TypedValue | GetVal (void) const =0 |
virtual bool | Const (void) const =0 |
virtual bool | MayChange (void) const =0 |
Private Member Functions | |
void | AllocName (const char *const s) |
Private Attributes | |
char * | name |
NamedValue::NamedValue | ( | const char *const | s | ) |
Definition at line 1725 of file mathp.cc.
References AllocName().
|
virtual |
|
private |
Definition at line 1738 of file mathp.cc.
References ASSERT, name, and SAFESTRDUP.
Referenced by NamedValue().
|
pure virtual |
Implemented in MathParser::PlugInVar, and Var.
Referenced by MathParser::stmt().
const char * NamedValue::GetName | ( | void | ) | const |
Definition at line 1751 of file mathp.cc.
Referenced by EE_DeclareAssign::Eval(), MathParser::InsertSym(), EE_Var::Output(), EE_Assign::Output(), EE_DeclareAssign::Output(), and Table::Put().
|
pure virtual |
Implemented in MathParser::PlugInVar, and Var.
Referenced by GetTypeName(), and MathParser::stmt().
|
virtual |
Definition at line 1758 of file mathp.cc.
References GetType(), and TypedValue::GetTypeName().
Referenced by EE_DeclareAssign::Output(), and MathParser::stmt().
|
pure virtual |
Implemented in MathParser::PlugInVar, and Var.
Referenced by EE_Var::Eval(), MathParser::expr(), MathParser::readplugin(), and MathParser::stmt().
|
virtual |
Reimplemented in Var.
Definition at line 1745 of file mathp.cc.
Referenced by DriveHandler::DriveHandler(), MathParser::InsertSym(), and MathParser::stmt().
|
pure virtual |
Implemented in MathParser::PlugInVar, and Var.
|
private |
Definition at line 154 of file mathtyp.h.
Referenced by AllocName(), GetName(), and ~NamedValue().