Blender V2.61 - r43446
Public Member Functions

CStringValue Class Reference

#include <StringValue.h>

Inheritance diagram for CStringValue:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 CStringValue ()
 Construction / destruction.
 CStringValue (const char *txt, const char *name, AllocationTYPE alloctype=CValue::HEAPVALUE)
virtual ~CStringValue ()
virtual bool IsEqual (const STR_String &other)
 CValue implementation.
virtual const STR_StringGetText ()
virtual double GetNumber ()
virtual CValueCalc (VALUE_OPERATOR op, CValue *val)
virtual CValueCalcFinal (VALUE_DATA_TYPE dtype, VALUE_OPERATOR op, CValue *val)
virtual void SetValue (CValue *newval)
virtual CValueGetReplica ()

Detailed Description

Definition at line 24 of file StringValue.h.


Constructor & Destructor Documentation

CStringValue::CStringValue ( )

Construction / destruction.

Definition at line 27 of file StringValue.cpp.

Referenced by CalcFinal(), and GetReplica().

CStringValue::CStringValue ( const char *  txt,
const char *  name,
AllocationTYPE  alloctype = CValue::HEAPVALUE 
)
virtual CStringValue::~CStringValue ( ) [inline, virtual]

Definition at line 34 of file StringValue.h.


Member Function Documentation

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

Implements CValue.

Definition at line 55 of file StringValue.cpp.

References CValue::CalcFinal(), and VALUE_STRING_TYPE.

CValue * CStringValue::CalcFinal ( VALUE_DATA_TYPE  dtype,
VALUE_OPERATOR  op,
CValue val 
) [virtual]
double CStringValue::GetNumber ( ) [virtual]

Implements CValue.

Definition at line 115 of file StringValue.cpp.

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

Implements CValue.

Definition at line 132 of file StringValue.cpp.

References CStringValue(), and CValue::ProcessReplica().

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

Implements CValue.

Definition at line 122 of file StringValue.cpp.

Referenced by CalcFinal().

bool CStringValue::IsEqual ( const STR_String other) [virtual]

CValue implementation.

Definition at line 127 of file StringValue.cpp.

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

Sets the value to this cvalue.

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

Reimplemented from CValue.

Definition at line 42 of file StringValue.h.

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


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