Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members  

CBoolValue Class Reference

Smart Boolean Value class. More...

#include <BoolValue.h>

Inheritance diagram for CBoolValue:

CPropValue CValue PyObjectPlus PyObject List of all members.

Public Methods

 CBoolValue ()
 CBoolValue (bool inBool)
 CBoolValue (bool innie,CCString name,AllocationTYPE alloctype=CValue::HEAPVALUE)
virtual const CCStringGetText ()
virtual float GetNumber ()
bool GetBool ()
virtual void SetValue (CValue* newval)
virtual CValueCalc (VALUE_OPERATOR op, CValue *val)
virtual CValueCalcFinal (VALUE_DATA_TYPE dtype, VALUE_OPERATOR op, CValue *val)
void Configure (CValue* menuvalue)
virtual CValueGetReplica ()

Detailed Description

Smart Boolean Value class.

Is used by parser when an expression tree is build containing booleans.

Definition at line 23 of file BoolValue.h.


Constructor & Destructor Documentation

CBoolValue::CBoolValue ( )
 

Definition at line 29 of file BoolValue.cpp.

Referenced by GetReplica().

CBoolValue::CBoolValue ( bool inBool ) [inline]
 

Definition at line 30 of file BoolValue.h.

CBoolValue::CBoolValue ( bool innie,
CCString name,
AllocationTYPE alloctype = CValue::HEAPVALUE )
 

Definition at line 38 of file BoolValue.cpp.


Member Function Documentation

CValue * CBoolValue::Calc ( VALUE_OPERATOR op,
CValue * val ) [virtual]
 

Reimplemented from CValue.

Definition at line 50 of file BoolValue.cpp.

CValue * CBoolValue::CalcFinal ( VALUE_DATA_TYPE dtype,
VALUE_OPERATOR op,
CValue * val ) [virtual]
 

Reimplemented from CValue.

Definition at line 70 of file BoolValue.cpp.

void CBoolValue::Configure ( CValue * menuvalue )
 

bool CBoolValue::GetBool ( )
 

Definition at line 124 of file BoolValue.cpp.

float CBoolValue::GetNumber ( ) [virtual]
 

Reimplemented from CValue.

Definition at line 135 of file BoolValue.cpp.

CValue * CBoolValue::GetReplica ( ) [virtual]
 

Reimplemented from CValue.

Definition at line 150 of file BoolValue.cpp.

const CCString & CBoolValue::GetText ( ) [virtual]
 

Reimplemented from CValue.

Definition at line 142 of file BoolValue.cpp.

void CBoolValue::SetValue ( CValue * newval ) [inline, virtual]
 

Reimplemented from CValue.

Definition at line 36 of file BoolValue.h.


The documentation for this class was generated from the following files:
Generated at Thu Feb 1 13:03:31 2001 for Ketsji Game Engine by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000