PixelLightAPI
.
|
Variable descriptor. More...
#include <VarDesc.h>
Public Member Functions | |
PLCORE_API | VarDesc (int nType, const String &sType, const String &sName, const String &sDescription, const String &sAnnotation) |
Constructor. | |
virtual PLCORE_API | ~VarDesc () |
Destructor. | |
PLCORE_API void | Dummy () |
Initialize instance. | |
int | GetTypeID () const |
Get type ID. | |
String | GetTypeName () const |
Get type name. | |
virtual PLCORE_API String | GetDefault () const |
Get default value as string. | |
virtual PLCORE_API DynVar * | GetAttribute (const Object &cObject) const |
Get attribute. | |
Protected Attributes | |
int | m_nType |
String | m_sType |
Variable descriptor.
PLCORE_API PLCore::VarDesc::VarDesc | ( | int | nType, |
const String & | sType, | ||
const String & | sName, | ||
const String & | sDescription, | ||
const String & | sAnnotation | ||
) |
virtual PLCORE_API PLCore::VarDesc::~VarDesc | ( | ) | [virtual] |
Destructor.
PLCORE_API void PLCore::VarDesc::Dummy | ( | ) |
Initialize instance.
int PLCore::VarDesc::GetTypeID | ( | ) | const [inline] |
Get type ID.
String PLCore::VarDesc::GetTypeName | ( | ) | const [inline] |
Get type name.
virtual PLCORE_API String PLCore::VarDesc::GetDefault | ( | ) | const [virtual] |
Get default value as string.
virtual PLCORE_API DynVar* PLCore::VarDesc::GetAttribute | ( | const Object & | cObject | ) | const [virtual] |
Get attribute.
[in] | cObject | Object to return the attribute pointer from |
int PLCore::VarDesc::m_nType [protected] |
Type ID
String PLCore::VarDesc::m_sType [protected] |
Type name
|