|
| | Property () |
| |
| | Property (DatumType type, const std::string &name, Object *owner, void *data, uint32_t count=1, DatumChangeHandlerFP changeHandler=nullptr, Datum extra=NULL_DATUM, int32_t enumCount=0, const char **enumStrings=nullptr) |
| |
| virtual | ~Property () |
| |
| | Property (const Property &src) |
| |
| Property & | operator= (const Property &src) |
| |
| virtual void | ReadStream (Stream &stream, uint32_t version, bool net, bool external) override |
| |
| virtual void | WriteStream (Stream &stream, bool net) const override |
| |
| virtual uint32_t | GetSerializationSize (bool net) const override |
| |
| virtual bool | IsProperty () const override |
| |
| virtual void | DeepCopy (const Datum &src, bool forceInternalStorage) override |
| |
| virtual void | Destroy () override |
| |
| void | PushBackVector (void *value=nullptr) |
| |
| void | EraseVector (uint32_t index) |
| |
| void | ResizeVector (uint32_t count) |
| |
| Property & | MakeVector (uint8_t minCount=0, uint8_t maxCount=255) |
| |
| bool | IsVector () const |
| |
| bool | IsArray () const |
| |
| void | CreateExtraData () const |
| |
| void | DestroyExtraData () const |
| |
| | 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 |
| |
| 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 | IsTableDatum () const |
| |
| void * | GetValue (uint32_t index) |
| |