Blender V2.61 - r43446
Public Member Functions | Protected Member Functions

CIntValue Class Reference

#include <IntValue.h>

Inheritance diagram for CIntValue:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual const STR_StringGetText ()
virtual double GetNumber ()
cInt GetInt ()
 CIntValue ()
 CIntValue (cInt innie)
 CIntValue (cInt innie, const char *name, AllocationTYPE alloctype=CValue::HEAPVALUE)
virtual CValueCalc (VALUE_OPERATOR op, CValue *val)
virtual CValueCalcFinal (VALUE_DATA_TYPE dtype, VALUE_OPERATOR op, CValue *val)
virtual void SetValue (CValue *newval)
void Configure (CValue *menuvalue)
void AddConfigurationData (CValue *menuvalue)
virtual CValueGetReplica ()

Protected Member Functions

virtual ~CIntValue ()

Detailed Description

Definition at line 27 of file IntValue.h.


Constructor & Destructor Documentation

CIntValue::CIntValue ( )

Definition at line 29 of file IntValue.cpp.

References NULL.

Referenced by Calc(), CalcFinal(), and GetReplica().

CIntValue::CIntValue ( cInt  innie)

Definition at line 44 of file IntValue.cpp.

References NULL.

CIntValue::CIntValue ( cInt  innie,
const char *  name,
AllocationTYPE  alloctype = CValue::HEAPVALUE 
)
CIntValue::~CIntValue ( ) [protected, virtual]

Definition at line 71 of file IntValue.cpp.


Member Function Documentation

void CIntValue::AddConfigurationData ( CValue menuvalue)
CValue * CIntValue::Calc ( VALUE_OPERATOR  op,
CValue val 
) [virtual]
CValue * CIntValue::CalcFinal ( VALUE_DATA_TYPE  dtype,
VALUE_OPERATOR  op,
CValue val 
) [virtual]
void CIntValue::Configure ( CValue menuvalue)
cInt CIntValue::GetInt ( )

Definition at line 282 of file IntValue.cpp.

Referenced by CalcFinal().

double CIntValue::GetNumber ( ) [virtual]

Implements CValue.

Definition at line 293 of file IntValue.cpp.

Referenced by CalcFinal().

CValue * CIntValue::GetReplica ( void  ) [virtual]

Implements CValue.

Definition at line 311 of file IntValue.cpp.

References CIntValue(), NULL, and CValue::ProcessReplica().

const STR_String & CIntValue::GetText ( ) [virtual]

Implements CValue.

Definition at line 300 of file IntValue.cpp.

References STR_String::Format().

Referenced by BL_ConvertActuators(), BL_ConvertControllers(), BL_ConvertSensors(), and CalcFinal().

void CIntValue::SetValue ( CValue newval) [virtual]

Sets the value to this cvalue.

Attention:
this particular function should never be called. Why not abstract?

Reimplemented from CValue.

Definition at line 321 of file IntValue.cpp.

References CValue::GetNumber(), and CValue::SetModified().


The documentation for this class was generated from the following files: