Blender V2.61 - r43446
|
#include <StringValue.h>
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_String & | GetText () |
virtual double | GetNumber () |
virtual CValue * | Calc (VALUE_OPERATOR op, CValue *val) |
virtual CValue * | CalcFinal (VALUE_DATA_TYPE dtype, VALUE_OPERATOR op, CValue *val) |
virtual void | SetValue (CValue *newval) |
virtual CValue * | GetReplica () |
Definition at line 24 of file StringValue.h.
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 |
||
) |
Definition at line 36 of file StringValue.cpp.
References CValue::DisableRefCount(), CPropValue::SetName(), and CValue::STACKVALUE.
virtual CStringValue::~CStringValue | ( | ) | [inline, virtual] |
Definition at line 34 of file StringValue.h.
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] |
Implements CValue.
Definition at line 66 of file StringValue.cpp.
References CStringValue(), GetText(), CValue::GetText(), CValue::op2str(), VALUE_ADD_OPERATOR, VALUE_EMPTY_TYPE, VALUE_EQL_OPERATOR, VALUE_ERROR_TYPE, VALUE_GEQ_OPERATOR, VALUE_GRE_OPERATOR, VALUE_LEQ_OPERATOR, VALUE_LES_OPERATOR, VALUE_NEQ_OPERATOR, and VALUE_STRING_TYPE.
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] |
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.
Reimplemented from CValue.
Definition at line 42 of file StringValue.h.
References CValue::GetText(), and CValue::SetModified().