#include <tvu_calculate.h>
Inheritance diagram for CTVar::

Public Methods | |
| CTVar () | |
| Contructors/Destructors. More... | |
| ~CTVar () | |
| DEFINE_ID_FUNCTIONS (CTVar, CTObject, CLASSNAME_VAR_ID, CLASSNAME_VAR) public | |
| virtual TBOOL | SaveExpression (LPCTFile pFile, TINT Marge) |
| Save the expression. More... | |
| virtual LPCTObject | GetValue () |
| Get the result of the expression. More... | |
| virtual CTObject* | Calculate (TINT iOperator, CTObject *Object) |
| Calculate the mathematical operators: +, -, *, / and the comparing operators: =, <, <=, >, >=. In this case, the returned value is an object of CTInt. More... | |
| virtual TBOOL | SetObject (LPCTObject Object) |
| Attach the object. More... | |
| virtual TBOOL | Build (CTList Objects, TLPCSTR lpCreateClass=TNULL) |
| Find the corresponding object in the list and attach. More... | |
| virtual TBOOL | IsWellBuilt (TBOOL bTestOnly=TFALSE) |
| verify if the object if well built. More... | |
| virtual TBOOL | IsContains (TLPCSTR ObjectName) |
| CTVar& | operator= (CTVar &Object) |
| Operations. More... | |
Static Public Methods | |
| CTObject* | Holds (CTList pObjects) |
| Coded functions Assign an object for a variable. More... | |
Data Fields | |
| CTString | m_Name |
| Name of the corresponding object. More... | |
| LPCTObject | m_pObject |
| Pointer to the variable. More... | |
|
|
Contructors/Destructors.
|
|
|
Find the corresponding object in the list and attach.
|
|
|
Calculate the mathematical operators: +, -, *, / and the comparing operators: =, <, <=, >, >=. In this case, the returned value is an object of CTInt.
Reimplemented from CTObject. |
|
|
Get the result of the expression.
Reimplemented from CTObject. |
|
|
Coded functions Assign an object for a variable.
|
|
|
verify if the object if well built.
|
|
|
Save the expression.
Reimplemented from CTObject. |
|
|
Attach the object.
00100 { return (m_pObject = Object) != TNULL; };
|
|
|
Operations.
|
|
|
Name of the corresponding object.
|
|
|
Pointer to the variable.
|
1.2.8.1 written by Dimitri van Heesch,
© 1997-2001