|
MBDyn-1.7.3
|
#include <mathtyp.h>


Public Member Functions | |
| Var (const char *const s, const TypedValue &v) | |
| Var (const char *const s, const bool &b) | |
| Var (const char *const s, const Int &v) | |
| Var (const char *const s, const Real &v) | |
| Var (const char *const s, const std::string &v) | |
| ~Var (void) | |
| bool | IsVar (void) const |
| TypedValue::Type | GetType (void) const |
| bool | Const (void) const |
| bool | MayChange (void) const |
| TypedValue | GetVal (void) const |
| void | SetVal (const bool &b) |
| void | SetVal (const Int &v) |
| void | SetVal (const Real &v) |
| void | SetVal (const std::string &v) |
| void | SetVal (const TypedValue &v) |
| void | Cast (const TypedValue &v, bool bErr=false) |
Public Member Functions inherited from NamedValue | |
| NamedValue (const char *const s) | |
| virtual | ~NamedValue (void) |
| const char * | GetName (void) const |
| virtual const char *const | GetTypeName (void) const |
Private Attributes | |
| TypedValue | value |
| Var::Var | ( | const char *const | s, |
| const TypedValue & | v | ||
| ) |
Definition at line 1763 of file mathp.cc.
References TypedValue::Const(), TypedValue::SetConst(), and value.

| Var::Var | ( | const char *const | s, |
| const bool & | b | ||
| ) |
| Var::Var | ( | const char *const | s, |
| const Int & | v | ||
| ) |
| Var::Var | ( | const char *const | s, |
| const Real & | v | ||
| ) |
| Var::Var | ( | const char *const | s, |
| const std::string & | v | ||
| ) |
| Var::~Var | ( | void | ) |
| void Var::Cast | ( | const TypedValue & | v, |
| bool | bErr = false |
||
| ) |
Definition at line 1859 of file mathp.cc.
References TypedValue::Cast(), and value.

|
virtual |
Implements NamedValue.
Definition at line 1811 of file mathp.cc.
References TypedValue::Const(), and value.
Referenced by EE_DeclareAssign::Output().

|
virtual |
Implements NamedValue.
Definition at line 1805 of file mathp.cc.
References TypedValue::GetType(), and value.

|
virtual |
|
virtual |
Reimplemented from NamedValue.
|
virtual |
Implements NamedValue.
Definition at line 1817 of file mathp.cc.
References TypedValue::Const(), and value.

| void Var::SetVal | ( | const bool & | b | ) |
Definition at line 1829 of file mathp.cc.
References TypedValue::Set(), and value.
Referenced by EE_Assign::Eval(), EE_DeclareAssign::Eval(), DriveHandler::SetTime(), and DriveHandler::SetVar().

| void Var::SetVal | ( | const Int & | v | ) |
| void Var::SetVal | ( | const Real & | v | ) |
Definition at line 1841 of file mathp.cc.
References TypedValue::Set(), and value.

| void Var::SetVal | ( | const std::string & | v | ) |
Definition at line 1847 of file mathp.cc.
References TypedValue::Set(), and value.

| void Var::SetVal | ( | const TypedValue & | v | ) |
|
private |