|
Polyphase Game Engine
|
#include <Datum.h>
Public Member Functions | |
| Datum () | |
| Datum (DatumType type, Object *owner, void *data, uint32_t count=1u, DatumChangeHandlerFP changeHandler=nullptr) | |
| Datum (const Datum &src) | |
| virtual | ~Datum () |
| Datum (int32_t value) | |
| Datum (uint32_t value) | |
| Datum (float value) | |
| Datum (bool value) | |
| Datum (const char *value) | |
| Datum (const std::string &value) | |
| Datum (glm::vec2 value) | |
| Datum (glm::vec3 value) | |
| Datum (glm::vec4 value) | |
| Datum (Asset *value) | |
| Datum (const AssetRef &value) | |
| Datum (uint8_t value) | |
| Datum (const SharedPtr< Node > &value) | |
| Datum (const WeakPtr< Node > &value) | |
| Datum (Node *value) | |
| Datum (int16_t value) | |
| Datum (const ScriptFunc &func) | |
| template<typename T > | |
| Datum (const std::vector< T > &arr) | |
| template<typename T > | |
| Datum (const std::vector< SharedPtr< T > > &arr) | |
| template<typename T > | |
| Datum (const std::vector< WeakPtr< T > > &arr) | |
| operator int32_t () const | |
| operator uint32_t () const | |
| operator float () const | |
| operator bool () const | |
| operator const char * () const | |
| operator std::string () const | |
| operator glm::vec2 () const | |
| operator glm::vec3 () const | |
| operator glm::vec4 () const | |
| operator Asset * () const | |
| operator uint8_t () const | |
| operator WeakPtr< Node > () const | |
| operator int16_t () const | |
| DatumType | GetType () const |
| void | SetType (DatumType type) |
| uint32_t | GetCount () const |
| void | SetCount (uint32_t count) |
| uint32_t | GetDataTypeSize () const |
| uint32_t | GetDataTypeSerializationSize (bool net) const |
| bool | IsExternal () const |
| bool | IsValid () const |
| virtual void | ReadStream (Stream &stream, uint32_t version, bool net, bool external) |
| virtual void | WriteStream (Stream &stream, bool net) const |
| virtual uint32_t | GetSerializationSize (bool net) const |
| void | SetInteger (int32_t value, uint32_t index=0) |
| void | SetFloat (float value, uint32_t index=0) |
| void | SetBool (bool value, uint32_t index=0) |
| void | SetString (const std::string &value, uint32_t index=0) |
| void | SetVector2D (const glm::vec2 &value, uint32_t index=0) |
| void | SetVector (const glm::vec3 &value, uint32_t index=0) |
| void | SetColor (const glm::vec4 &value, uint32_t index=0) |
| void | SetAsset (const Asset *value, uint32_t index=0) |
| void | SetByte (uint8_t value, uint32_t index=0) |
| void | SetTableDatum (const TableDatum &value, uint32_t index=0) |
| void | SetNode (const WeakPtr< Node > &value, uint32_t index=0) |
| void | SetShort (int16_t value, uint32_t index=0) |
| void | SetFunction (const ScriptFunc &value, uint32_t index=0) |
| void | SetValue (const void *value, uint32_t index=0, uint32_t count=1) |
| void | SetValueRaw (const void *value, uint32_t index=0) |
| void | SetExternal (int32_t *data, uint32_t count=1) |
| void | SetExternal (float *data, uint32_t count=1) |
| void | SetExternal (bool *data, uint32_t count=1) |
| void | SetExternal (std::string *data, uint32_t count=1) |
| void | SetExternal (glm::vec2 *data, uint32_t count=1) |
| void | SetExternal (glm::vec3 *data, uint32_t count=1) |
| void | SetExternal (glm::vec4 *data, uint32_t count=1) |
| void | SetExternal (AssetRef *data, uint32_t count=1) |
| void | SetExternal (uint8_t *data, uint32_t count=1) |
| void | SetExternal (TableDatum *data, uint32_t count=1) |
| void | SetExternal (WeakPtr< Node > *data, uint32_t count=1) |
| void | SetExternal (int16_t *data, uint32_t count=1) |
| void | SetExternal (ScriptFunc *data, uint32_t count=1) |
| int32_t | GetInteger (uint32_t index=0) const |
| float | GetFloat (uint32_t index=0) const |
| bool | GetBool (uint32_t index=0) const |
| const std::string & | GetString (uint32_t index=0) const |
| const glm::vec2 & | GetVector2D (uint32_t index=0) const |
| const glm::vec3 & | GetVector (uint32_t index=0) const |
| const glm::vec4 & | GetColor (uint32_t index=0) const |
| Asset * | GetAsset (uint32_t index=0) const |
| uint8_t | GetByte (uint32_t index=0) const |
| TableDatum & | GetTableDatum (uint32_t index=0) |
| const TableDatum & | GetTableDatum (uint32_t index=0) const |
| WeakPtr< Node > | GetNode (uint32_t index=0) const |
| WeakPtr< Node3D > | GetNode3D (uint32_t index=0) const |
| int16_t | GetShort (uint32_t index=0) const |
| const ScriptFunc & | GetFunction (uint32_t index=0) const |
| int32_t & | GetIntegerRef (uint32_t index=0) |
| float & | GetFloatRef (uint32_t index=0) |
| bool & | GetBoolRef (uint32_t index=0) |
| std::string & | GetStringRef (uint32_t index=0) |
| glm::vec2 & | GetVector2DRef (uint32_t index=0) |
| glm::vec3 & | GetVectorRef (uint32_t index=0) |
| glm::vec4 & | GetColorRef (uint32_t index=0) |
| AssetRef & | GetAssetRef (uint32_t index=0) |
| uint8_t & | GetByteRef (uint32_t index=0) |
| WeakPtr< Node > & | GetNodeRef (uint32_t index=0) |
| int16_t & | GetShortRef (uint32_t index=0) |
| ScriptFunc & | GetFunctionRef (uint32_t index=0) |
| void | PushBack (int32_t value) |
| void | PushBack (float value) |
| void | PushBack (bool value) |
| void | PushBack (const std::string &value) |
| void | PushBack (const char *value) |
| void | PushBack (const glm::vec2 &value) |
| void | PushBack (const glm::vec3 &value) |
| void | PushBack (const glm::vec4 &value) |
| void | PushBack (Asset *value) |
| void | PushBack (const AssetRef &value) |
| void | PushBack (uint8_t value) |
| TableDatum * | PushBackTableDatum (const TableDatum &value) |
| void | PushBack (const SharedPtr< Node > &value) |
| void | PushBack (const WeakPtr< Node > &value) |
| void | PushBack (Node *node) |
| void | PushBack (int16_t value) |
| void | PushBack (const ScriptFunc &value) |
| void | Erase (uint32_t index) |
| TableDatum * | FindTableDatum (const char *key) |
| TableDatum * | FindTableDatum (int32_t key) |
| TableDatum * | GetField (const char *key) |
| TableDatum * | GetField (int32_t key) |
| TableDatum * | AddTableField (int32_t key) |
| TableDatum * | AddTableField (const char *key) |
| int32_t | GetIntegerField (const char *key) |
| float | GetFloatField (const char *key) |
| bool | GetBoolField (const char *key) |
| std::string | GetStringField (const char *key) |
| glm::vec2 | GetVector2DField (const char *key) |
| glm::vec3 | GetVectorField (const char *key) |
| glm::vec4 | GetColorField (const char *key) |
| Asset * | GetAssetField (const char *key) |
| WeakPtr< Node > | GetNodeField (const char *key) |
| TableDatum & | GetTableField (const char *key) |
| ScriptFunc | GetFunctionField (const char *key) |
| int32_t | GetIntegerField (int32_t key) |
| float | GetFloatField (int32_t key) |
| bool | GetBoolField (int32_t key) |
| std::string | GetStringField (int32_t key) |
| glm::vec2 | GetVector2DField (int32_t key) |
| glm::vec3 | GetVectorField (int32_t key) |
| glm::vec4 | GetColorField (int32_t key) |
| Asset * | GetAssetField (int32_t key) |
| WeakPtr< Node > | GetNodeField (int32_t key) |
| TableDatum & | GetTableField (int32_t key) |
| ScriptFunc | GetFunctionField (int32_t key) |
| void | SetIntegerField (const char *key, int32_t value) |
| void | SetFloatField (const char *key, float value) |
| void | SetBoolField (const char *key, bool value) |
| void | SetStringField (const char *key, const std::string &value) |
| void | SetVector2DField (const char *key, glm::vec2 value) |
| void | SetVectorField (const char *key, glm::vec3 value) |
| void | SetColorField (const char *key, glm::vec4 value) |
| void | SetAssetField (const char *key, Asset *value) |
| void | SetNodeField (const char *key, const WeakPtr< Node > &value) |
| void | SetTableField (const char *key, const TableDatum &value) |
| void | SetFunctionField (const char *key, const ScriptFunc &value) |
| void | SetIntegerField (int32_t key, int32_t value) |
| void | SetFloatField (int32_t key, float value) |
| void | SetBoolField (int32_t key, bool value) |
| void | SetStringField (int32_t key, const std::string &value) |
| void | SetVector2DField (int32_t key, glm::vec2 value) |
| void | SetVectorField (int32_t key, glm::vec3 value) |
| void | SetColorField (int32_t key, glm::vec4 value) |
| void | SetAssetField (int32_t key, Asset *value) |
| void | SetNodeField (int32_t key, const WeakPtr< Node > &value) |
| void | SetTableField (int32_t key, const TableDatum &value) |
| void | SetFunctionField (int32_t key, const ScriptFunc &value) |
| bool | HasField (const char *key) |
| bool | HasField (int32_t key) |
| Datum & | operator= (const Datum &src) |
| Datum & | operator= (int32_t src) |
| Datum & | operator= (float src) |
| Datum & | operator= (bool src) |
| Datum & | operator= (const std::string &src) |
| Datum & | operator= (const char *src) |
| Datum & | operator= (const glm::vec2 src) |
| Datum & | operator= (const glm::vec3 &src) |
| Datum & | operator= (const glm::vec4 &src) |
| Datum & | operator= (Asset *src) |
| Datum & | operator= (uint8_t src) |
| Datum & | operator= (const WeakPtr< Node > &src) |
| Datum & | operator= (int16_t src) |
| Datum & | operator= (const ScriptFunc &src) |
| bool | operator== (const Datum &other) const |
| bool | operator== (const int32_t &other) const |
| bool | operator== (const float &other) const |
| bool | operator== (const bool &other) const |
| bool | operator== (const std::string &other) const |
| bool | operator== (const char *other) const |
| bool | operator== (const glm::vec2 &other) const |
| bool | operator== (const glm::vec3 &other) const |
| bool | operator== (const glm::vec4 &other) const |
| bool | operator== (const Asset *&other) const |
| bool | operator== (const uint32_t &other) const |
| bool | operator== (const uint8_t &other) const |
| bool | operator== (const Node *&other) const |
| bool | operator== (const WeakPtr< Node > &other) const |
| bool | operator== (const SharedPtr< Node > &other) const |
| bool | operator== (const int16_t &other) const |
| bool | operator== (const ScriptFunc &other) const |
| bool | operator!= (const Datum &other) const |
| bool | operator!= (const int32_t &other) const |
| bool | operator!= (const float &other) const |
| bool | operator!= (const bool &other) const |
| bool | operator!= (const std::string &other) const |
| bool | operator!= (const char *other) const |
| bool | operator!= (const glm::vec2 &other) const |
| bool | operator!= (const glm::vec3 &other) const |
| bool | operator!= (const glm::vec4 &other) const |
| bool | operator!= (const Asset *&other) const |
| bool | operator!= (const uint32_t &other) const |
| bool | operator!= (const uint8_t &other) const |
| bool | operator!= (const Node *&other) const |
| bool | operator!= (const WeakPtr< Node > &other) const |
| bool | operator!= (const SharedPtr< Node > &other) const |
| bool | operator!= (const int16_t &other) const |
| bool | operator!= (const ScriptFunc &other) const |
| virtual bool | IsProperty () const |
| virtual bool | IsTableDatum () const |
| virtual void | DeepCopy (const Datum &src, bool forceInternalStorage) |
| void * | GetValue (uint32_t index) |
| virtual void | Destroy () |
Public Attributes | |
| DatumType | mType = DatumType::Count |
| bool | mExternal: 1 |
| bool | mForceScriptArray: 1 |
| bool | mIsNetDatum: 1 |
| Object * | mOwner = nullptr |
| DatumData | mData = {} |
| DatumChangeHandlerFP | mChangeHandler = nullptr |
| uint8_t | mCount = 0 |
| uint8_t | mCapacity = 0 |
Static Public Attributes | |
| static const Datum | sNullDatum = Datum() |
Protected Member Functions | |
| void | Reserve (uint32_t capacity) |
| void | PreSet (uint32_t index, DatumType type) |
| void | PreSetExternal (DatumType type) |
| void | PostSetExternal (DatumType type, uint32_t count) |
| void | PrePushBack (DatumType type) |
| void | PreGet (uint32_t index, DatumType type) const |
| void | PreAssign (DatumType type) |
| void | ConstructData (DatumData &dataUnion, uint32_t index) |
| void | DestructData (DatumData &dataUnion, uint32_t index) |
| void | CopyData (DatumData &dst, uint32_t dstIndex, DatumData &src, uint32_t srcIndex) |
| virtual void | Reset () |
| Datum::Datum | ( | ) |
| Datum::Datum | ( | DatumType | type, |
| Object * | owner, | ||
| void * | data, | ||
| uint32_t | count = 1u, |
||
| DatumChangeHandlerFP | changeHandler = nullptr |
||
| ) |
| Datum::Datum | ( | const Datum & | src | ) |
|
virtual |
| Datum::Datum | ( | int32_t | value | ) |
| Datum::Datum | ( | uint32_t | value | ) |
| Datum::Datum | ( | float | value | ) |
| Datum::Datum | ( | bool | value | ) |
| Datum::Datum | ( | const char * | value | ) |
| Datum::Datum | ( | const std::string & | value | ) |
| Datum::Datum | ( | glm::vec2 | value | ) |
| Datum::Datum | ( | glm::vec3 | value | ) |
| Datum::Datum | ( | glm::vec4 | value | ) |
| Datum::Datum | ( | Asset * | value | ) |
| Datum::Datum | ( | const AssetRef & | value | ) |
| Datum::Datum | ( | uint8_t | value | ) |
| Datum::Datum | ( | Node * | value | ) |
| Datum::Datum | ( | int16_t | value | ) |
| Datum::Datum | ( | const ScriptFunc & | func | ) |
|
inline |
|
inline |
|
inline |
| TableDatum * Datum::AddTableField | ( | const char * | key | ) |
| TableDatum * Datum::AddTableField | ( | int32_t | key | ) |
|
protected |
|
protected |
|
virtual |
Reimplemented in Property, and TableDatum.
|
protected |
| void Datum::Erase | ( | uint32_t | index | ) |
| TableDatum * Datum::FindTableDatum | ( | const char * | key | ) |
| TableDatum * Datum::FindTableDatum | ( | int32_t | key | ) |
| Asset * Datum::GetAsset | ( | uint32_t | index = 0 | ) | const |
| Asset * Datum::GetAssetField | ( | const char * | key | ) |
| Asset * Datum::GetAssetField | ( | int32_t | key | ) |
| AssetRef & Datum::GetAssetRef | ( | uint32_t | index = 0 | ) |
| bool Datum::GetBool | ( | uint32_t | index = 0 | ) | const |
| bool Datum::GetBoolField | ( | const char * | key | ) |
| bool Datum::GetBoolField | ( | int32_t | key | ) |
| bool & Datum::GetBoolRef | ( | uint32_t | index = 0 | ) |
| uint8_t Datum::GetByte | ( | uint32_t | index = 0 | ) | const |
| uint8_t & Datum::GetByteRef | ( | uint32_t | index = 0 | ) |
| const glm::vec4 & Datum::GetColor | ( | uint32_t | index = 0 | ) | const |
| glm::vec4 Datum::GetColorField | ( | const char * | key | ) |
| glm::vec4 Datum::GetColorField | ( | int32_t | key | ) |
| glm::vec4 & Datum::GetColorRef | ( | uint32_t | index = 0 | ) |
| uint32_t Datum::GetCount | ( | ) | const |
| uint32_t Datum::GetDataTypeSerializationSize | ( | bool | net | ) | const |
| uint32_t Datum::GetDataTypeSize | ( | ) | const |
| TableDatum * Datum::GetField | ( | const char * | key | ) |
| TableDatum * Datum::GetField | ( | int32_t | key | ) |
| float Datum::GetFloat | ( | uint32_t | index = 0 | ) | const |
| float Datum::GetFloatField | ( | const char * | key | ) |
| float Datum::GetFloatField | ( | int32_t | key | ) |
| float & Datum::GetFloatRef | ( | uint32_t | index = 0 | ) |
| const ScriptFunc & Datum::GetFunction | ( | uint32_t | index = 0 | ) | const |
| ScriptFunc Datum::GetFunctionField | ( | const char * | key | ) |
| ScriptFunc Datum::GetFunctionField | ( | int32_t | key | ) |
| ScriptFunc & Datum::GetFunctionRef | ( | uint32_t | index = 0 | ) |
| int32_t Datum::GetInteger | ( | uint32_t | index = 0 | ) | const |
| int32_t Datum::GetIntegerField | ( | const char * | key | ) |
| int32_t Datum::GetIntegerField | ( | int32_t | key | ) |
| int32_t & Datum::GetIntegerRef | ( | uint32_t | index = 0 | ) |
|
virtual |
Reimplemented in Property, and TableDatum.
| int16_t Datum::GetShort | ( | uint32_t | index = 0 | ) | const |
| int16_t & Datum::GetShortRef | ( | uint32_t | index = 0 | ) |
| const std::string & Datum::GetString | ( | uint32_t | index = 0 | ) | const |
| std::string Datum::GetStringField | ( | const char * | key | ) |
| std::string Datum::GetStringField | ( | int32_t | key | ) |
| std::string & Datum::GetStringRef | ( | uint32_t | index = 0 | ) |
| TableDatum & Datum::GetTableDatum | ( | uint32_t | index = 0 | ) |
| const TableDatum & Datum::GetTableDatum | ( | uint32_t | index = 0 | ) | const |
| TableDatum & Datum::GetTableField | ( | const char * | key | ) |
| TableDatum & Datum::GetTableField | ( | int32_t | key | ) |
| DatumType Datum::GetType | ( | ) | const |
| void * Datum::GetValue | ( | uint32_t | index | ) |
| const glm::vec3 & Datum::GetVector | ( | uint32_t | index = 0 | ) | const |
| const glm::vec2 & Datum::GetVector2D | ( | uint32_t | index = 0 | ) | const |
| glm::vec2 Datum::GetVector2DField | ( | const char * | key | ) |
| glm::vec2 Datum::GetVector2DField | ( | int32_t | key | ) |
| glm::vec2 & Datum::GetVector2DRef | ( | uint32_t | index = 0 | ) |
| glm::vec3 Datum::GetVectorField | ( | const char * | key | ) |
| glm::vec3 Datum::GetVectorField | ( | int32_t | key | ) |
| glm::vec3 & Datum::GetVectorRef | ( | uint32_t | index = 0 | ) |
| bool Datum::HasField | ( | const char * | key | ) |
| bool Datum::HasField | ( | int32_t | key | ) |
| bool Datum::IsExternal | ( | ) | const |
|
virtual |
Reimplemented in Property.
|
virtual |
Reimplemented in TableDatum.
| bool Datum::IsValid | ( | ) | const |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| bool Datum::operator!= | ( | const Asset *& | other | ) | const |
| bool Datum::operator!= | ( | const bool & | other | ) | const |
| bool Datum::operator!= | ( | const char * | other | ) | const |
| bool Datum::operator!= | ( | const Datum & | other | ) | const |
| bool Datum::operator!= | ( | const float & | other | ) | const |
| bool Datum::operator!= | ( | const glm::vec2 & | other | ) | const |
| bool Datum::operator!= | ( | const glm::vec3 & | other | ) | const |
| bool Datum::operator!= | ( | const glm::vec4 & | other | ) | const |
| bool Datum::operator!= | ( | const int16_t & | other | ) | const |
| bool Datum::operator!= | ( | const int32_t & | other | ) | const |
| bool Datum::operator!= | ( | const Node *& | other | ) | const |
| bool Datum::operator!= | ( | const ScriptFunc & | other | ) | const |
| bool Datum::operator!= | ( | const std::string & | other | ) | const |
| bool Datum::operator!= | ( | const uint32_t & | other | ) | const |
| bool Datum::operator!= | ( | const uint8_t & | other | ) | const |
| Datum & Datum::operator= | ( | bool | src | ) |
| Datum & Datum::operator= | ( | const char * | src | ) |
| Datum & Datum::operator= | ( | const glm::vec2 | src | ) |
| Datum & Datum::operator= | ( | const glm::vec3 & | src | ) |
| Datum & Datum::operator= | ( | const glm::vec4 & | src | ) |
| Datum & Datum::operator= | ( | const ScriptFunc & | src | ) |
| Datum & Datum::operator= | ( | const std::string & | src | ) |
| Datum & Datum::operator= | ( | float | src | ) |
| Datum & Datum::operator= | ( | int16_t | src | ) |
| Datum & Datum::operator= | ( | int32_t | src | ) |
| Datum & Datum::operator= | ( | uint8_t | src | ) |
| bool Datum::operator== | ( | const Asset *& | other | ) | const |
| bool Datum::operator== | ( | const bool & | other | ) | const |
| bool Datum::operator== | ( | const char * | other | ) | const |
| bool Datum::operator== | ( | const Datum & | other | ) | const |
| bool Datum::operator== | ( | const float & | other | ) | const |
| bool Datum::operator== | ( | const glm::vec2 & | other | ) | const |
| bool Datum::operator== | ( | const glm::vec3 & | other | ) | const |
| bool Datum::operator== | ( | const glm::vec4 & | other | ) | const |
| bool Datum::operator== | ( | const int16_t & | other | ) | const |
| bool Datum::operator== | ( | const int32_t & | other | ) | const |
| bool Datum::operator== | ( | const Node *& | other | ) | const |
| bool Datum::operator== | ( | const ScriptFunc & | other | ) | const |
| bool Datum::operator== | ( | const std::string & | other | ) | const |
| bool Datum::operator== | ( | const uint32_t & | other | ) | const |
| bool Datum::operator== | ( | const uint8_t & | other | ) | const |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
| void Datum::PushBack | ( | Asset * | value | ) |
| void Datum::PushBack | ( | bool | value | ) |
| void Datum::PushBack | ( | const AssetRef & | value | ) |
| void Datum::PushBack | ( | const char * | value | ) |
| void Datum::PushBack | ( | const glm::vec2 & | value | ) |
| void Datum::PushBack | ( | const glm::vec3 & | value | ) |
| void Datum::PushBack | ( | const glm::vec4 & | value | ) |
| void Datum::PushBack | ( | const ScriptFunc & | value | ) |
| void Datum::PushBack | ( | const std::string & | value | ) |
| void Datum::PushBack | ( | float | value | ) |
| void Datum::PushBack | ( | int16_t | value | ) |
| void Datum::PushBack | ( | int32_t | value | ) |
| void Datum::PushBack | ( | Node * | node | ) |
| void Datum::PushBack | ( | uint8_t | value | ) |
| TableDatum * Datum::PushBackTableDatum | ( | const TableDatum & | value | ) |
|
virtual |
Reimplemented in Property, and TableDatum.
|
protected |
|
protectedvirtual |
Reimplemented in Property.
| void Datum::SetAsset | ( | const Asset * | value, |
| uint32_t | index = 0 |
||
| ) |
| void Datum::SetAssetField | ( | const char * | key, |
| Asset * | value | ||
| ) |
| void Datum::SetAssetField | ( | int32_t | key, |
| Asset * | value | ||
| ) |
| void Datum::SetBool | ( | bool | value, |
| uint32_t | index = 0 |
||
| ) |
| void Datum::SetBoolField | ( | const char * | key, |
| bool | value | ||
| ) |
| void Datum::SetBoolField | ( | int32_t | key, |
| bool | value | ||
| ) |
| void Datum::SetByte | ( | uint8_t | value, |
| uint32_t | index = 0 |
||
| ) |
| void Datum::SetColor | ( | const glm::vec4 & | value, |
| uint32_t | index = 0 |
||
| ) |
| void Datum::SetColorField | ( | const char * | key, |
| glm::vec4 | value | ||
| ) |
| void Datum::SetColorField | ( | int32_t | key, |
| glm::vec4 | value | ||
| ) |
| void Datum::SetCount | ( | uint32_t | count | ) |
| void Datum::SetExternal | ( | AssetRef * | data, |
| uint32_t | count = 1 |
||
| ) |
| void Datum::SetExternal | ( | bool * | data, |
| uint32_t | count = 1 |
||
| ) |
| void Datum::SetExternal | ( | float * | data, |
| uint32_t | count = 1 |
||
| ) |
| void Datum::SetExternal | ( | glm::vec2 * | data, |
| uint32_t | count = 1 |
||
| ) |
| void Datum::SetExternal | ( | glm::vec3 * | data, |
| uint32_t | count = 1 |
||
| ) |
| void Datum::SetExternal | ( | glm::vec4 * | data, |
| uint32_t | count = 1 |
||
| ) |
| void Datum::SetExternal | ( | int16_t * | data, |
| uint32_t | count = 1 |
||
| ) |
| void Datum::SetExternal | ( | int32_t * | data, |
| uint32_t | count = 1 |
||
| ) |
| void Datum::SetExternal | ( | ScriptFunc * | data, |
| uint32_t | count = 1 |
||
| ) |
| void Datum::SetExternal | ( | std::string * | data, |
| uint32_t | count = 1 |
||
| ) |
| void Datum::SetExternal | ( | TableDatum * | data, |
| uint32_t | count = 1 |
||
| ) |
| void Datum::SetExternal | ( | uint8_t * | data, |
| uint32_t | count = 1 |
||
| ) |
| void Datum::SetFloat | ( | float | value, |
| uint32_t | index = 0 |
||
| ) |
| void Datum::SetFloatField | ( | const char * | key, |
| float | value | ||
| ) |
| void Datum::SetFloatField | ( | int32_t | key, |
| float | value | ||
| ) |
| void Datum::SetFunction | ( | const ScriptFunc & | value, |
| uint32_t | index = 0 |
||
| ) |
| void Datum::SetFunctionField | ( | const char * | key, |
| const ScriptFunc & | value | ||
| ) |
| void Datum::SetFunctionField | ( | int32_t | key, |
| const ScriptFunc & | value | ||
| ) |
| void Datum::SetInteger | ( | int32_t | value, |
| uint32_t | index = 0 |
||
| ) |
| void Datum::SetIntegerField | ( | const char * | key, |
| int32_t | value | ||
| ) |
| void Datum::SetIntegerField | ( | int32_t | key, |
| int32_t | value | ||
| ) |
| void Datum::SetShort | ( | int16_t | value, |
| uint32_t | index = 0 |
||
| ) |
| void Datum::SetString | ( | const std::string & | value, |
| uint32_t | index = 0 |
||
| ) |
| void Datum::SetStringField | ( | const char * | key, |
| const std::string & | value | ||
| ) |
| void Datum::SetStringField | ( | int32_t | key, |
| const std::string & | value | ||
| ) |
| void Datum::SetTableDatum | ( | const TableDatum & | value, |
| uint32_t | index = 0 |
||
| ) |
| void Datum::SetTableField | ( | const char * | key, |
| const TableDatum & | value | ||
| ) |
| void Datum::SetTableField | ( | int32_t | key, |
| const TableDatum & | value | ||
| ) |
| void Datum::SetType | ( | DatumType | type | ) |
| void Datum::SetValue | ( | const void * | value, |
| uint32_t | index = 0, |
||
| uint32_t | count = 1 |
||
| ) |
| void Datum::SetValueRaw | ( | const void * | value, |
| uint32_t | index = 0 |
||
| ) |
| void Datum::SetVector | ( | const glm::vec3 & | value, |
| uint32_t | index = 0 |
||
| ) |
| void Datum::SetVector2D | ( | const glm::vec2 & | value, |
| uint32_t | index = 0 |
||
| ) |
| void Datum::SetVector2DField | ( | const char * | key, |
| glm::vec2 | value | ||
| ) |
| void Datum::SetVector2DField | ( | int32_t | key, |
| glm::vec2 | value | ||
| ) |
| void Datum::SetVectorField | ( | const char * | key, |
| glm::vec3 | value | ||
| ) |
| void Datum::SetVectorField | ( | int32_t | key, |
| glm::vec3 | value | ||
| ) |
|
virtual |
Reimplemented in Property, and TableDatum.
| uint8_t Datum::mCapacity = 0 |
| DatumChangeHandlerFP Datum::mChangeHandler = nullptr |
| uint8_t Datum::mCount = 0 |
| DatumData Datum::mData = {} |
| bool Datum::mExternal |
| bool Datum::mForceScriptArray |
| bool Datum::mIsNetDatum |
| Object* Datum::mOwner = nullptr |
| DatumType Datum::mType = DatumType::Count |