Main Page   Class Hierarchy   Data Structures   File List   Data Fields   Globals  

CTFunctionCaller Class Reference

A function caller class Implemented in: tvu_function.cpp. More...

#include <tvu_calculate.h>

Inheritance diagram for CTFunctionCaller::

CTObject

Public Methods

 CTFunctionCaller ()
 Contructors/Destructors. More...

 ~CTFunctionCaller ()
 DEFINE_ID_FUNCTIONS (CTFunctionCaller, CTObject, CLASSNAME_FUNCTIONCALLER_ID, CLASSNAME_FUNCTIONCALLER) public
virtual TBOOL SaveExpression (LPCTFile pFile, TINT Marge)
 Save the expression. More...

virtual LPCTObject GetValue ()
 Get the result of the expression: execution of the function. More...

virtual CTObjectCalculate (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 Build (CTList Objects, TLPCSTR lpCreateClass=TNULL, TBOOL bBuildFunctions=TTRUE)
 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)
CTFunctionCaller& operator= (CTFunctionCaller &Object)
 Operations. More...


Data Fields

CTString m_FunctionName
 Name of the corresponding function. More...

CTFunctionModelm_Function
CTExpressionm_Values
 List of values (expressions) for the variables of the function. More...


Detailed Description

A function caller class Implemented in: tvu_function.cpp.


Constructor & Destructor Documentation

CTFunctionCaller::CTFunctionCaller ( )
 

Contructors/Destructors.


Member Function Documentation

TBOOL CTFunctionCaller::Build ( CTList Objects,
TLPCSTR lpCreateClass = TNULL,
TBOOL bBuildFunctions = TTRUE ) [virtual]
 

Find the corresponding object in the list and attach.

CTObject * CTFunctionCaller::Calculate ( TINT iOperator,
CTObject * Object ) [virtual]
 

Calculate the mathematical operators: +, -, *, / and the comparing operators: =, <, <=, >, >=. In this case, the returned value is an object of CTInt.

Reimplemented from CTObject.

LPCTObject CTFunctionCaller::GetValue ( ) [virtual]
 

Get the result of the expression: execution of the function.

Reimplemented from CTObject.

TBOOL CTFunctionCaller::IsWellBuilt ( TBOOL bTestOnly = TFALSE ) [virtual]
 

verify if the object if well built.

TBOOL CTFunctionCaller::SaveExpression ( LPCTFile pFile,
TINT Marge ) [virtual]
 

Save the expression.

Reimplemented from CTObject.

CTFunctionCaller & CTFunctionCaller::operator= ( CTFunctionCaller & Object )
 

Operations.


Field Documentation

CTString CTFunctionCaller::m_FunctionName
 

Name of the corresponding function.

CTExpression * CTFunctionCaller::m_Values
 

List of values (expressions) for the variables of the function.


The documentation for this class was generated from the following file:
Generated at Wed Aug 6 15:59:00 2003 for TVU's libraries for video surveillance: by doxygen1.2.8.1 written by Dimitri van Heesch, © 1997-2001