Data table.
System | |
| virtual void | SetName (const achar *aaszName)=0 |
| Set the table name. {Property}. More... | |
| virtual const achar * | GetName () const =0 |
| Get the table name. {Property}. More... | |
| virtual iDataTable * | GetRoot () const =0 |
| Get the root table. {Property}. More... | |
| virtual iDataTable * | GetParent () const =0 |
| Get the parent table. {Property}. More... | |
| virtual iDataTable * | GetPrevSibling () const =0 |
| Get the previous sibling of this data table. {Property}. More... | |
| virtual iDataTable * | GetNextSibling () const =0 |
| Get the next sibling of this data table. {Property}. More... | |
| virtual tU32 | GetIndex () const =0 |
| Get the index of this datatable. {Property}. More... | |
| virtual iDataTable * | Clone () const =0 |
| Clone this table. More... | |
| virtual iDataTable * | CloneEx (tDataTableCopyFlags aMode) const =0 |
| Clone this table. More... | |
| virtual tBool | Copy (const iDataTable *apSource, tDataTableCopyFlags aMode)=0 |
| Copy the source table inside this table. More... | |
| virtual void | Clear ()=0 |
| Clear the children datatables and properties. More... | |
| virtual tBool | GetHasSink () const =0 |
| Check if any sink is inside the data table. {Property}. More... | |
| virtual tDataTableSinkLst * | GetSinkList () const =0 |
| Get the data table's sink list. {Property}. More... | |
Children DataTables | |
| virtual void | ClearChildren ()=0 |
| Clear the child tables. More... | |
| virtual tU32 | GetNumChildren () const =0 |
| Get the number of child tables. {Property}. More... | |
| virtual tU32 | GetChildIndex (const achar *aaszName) const =0 |
| Get the index of the first child table with the specified name. {Property}. More... | |
| virtual iDataTable * | GetChild (const achar *aaszName) const =0 |
| Get the child table with the specified name. {Property}. More... | |
| virtual iDataTable * | GetChildFromIndex (tU32 anIndex) const =0 |
| Get the child table at the specified index. {Property}. More... | |
| virtual tBool | AddChild (iDataTable *apTable)=0 |
| Append a child table. More... | |
| virtual tBool | RemoveChild (tU32 anIndex)=0 |
| Remove the child table at the specified index. More... | |
Properties | |
| virtual void | ClearProperties ()=0 |
| Clear the properties. More... | |
| virtual tBool | RemoveProperty (const achar *aaszName)=0 |
| Remove the property with the specified name. More... | |
| virtual tBool | RemovePropertyFromIndex (tU32 anIndex)=0 |
| Remove the property at the specified index. More... | |
| virtual tU32 | GetNumProperties () const =0 |
| Get the number of properties in the table. {Property}. More... | |
| virtual tU32 | GetPropertyIndex (const achar *aaszName) const =0 |
| Get the index of the specified property. {Property}. More... | |
| virtual const achar * | GetPropertyName (tU32 anIndex) const =0 |
| Get the name of the property at the specified index. {Property}. More... | |
| virtual eDataTablePropertyType | GetPropertyType (const achar *aaszProp) const =0 |
| Get the type of a property. {Property}. More... | |
| virtual eDataTablePropertyType | GetPropertyTypeFromIndex (tU32 anIndex) const =0 |
| Get the type of the property at the specified index. {Property}. More... | |
| virtual tBool | HasProperty (const achar *aaszName) const =0 |
| Check whether the data table has a property with the specified name. More... | |
Properties metadata | |
| virtual tBool | SetMetadata (const achar *aaszProp, iHString *ahspData)=0 |
| Set a property meta-data. {Property}. More... | |
| virtual Ptr< iHString > | GetMetadata (const achar *aaszProp) const =0 |
| Get a property meta-data. {Property}. More... | |
| virtual tBool | SetMetadataFromIndex (tU32 anIndex, iHString *ahspData)=0 |
| Set a property meta-data. {Property}. More... | |
| virtual Ptr< iHString > | GetMetadataFromIndex (tU32 anIndex) const =0 |
| Get a property meta-data. {Property}. More... | |
Get Properties | |
| virtual Var | GetVar (const achar *aaszName) const =0 |
| Get a Var property. {Property}. More... | |
| virtual Var | GetVarFromIndex (tU32 anIndex) const =0 |
| Get a Var property from the specified index. {Property}. More... | |
| virtual Var | GetVarDefault (const achar *aaszName, const Var &v) const =0 |
| Get a Var property. More... | |
| virtual cString | GetString (const achar *aaszName) const =0 |
| Get a String property. {Property}. More... | |
| virtual cString | GetStringFromIndex (tU32 anIndex) const =0 |
| Get a String property from the specified index. {Property}. More... | |
| virtual cString | GetStringDefault (const achar *aaszName, const achar *v) const =0 |
| Get a String property. More... | |
| virtual Ptr< iHString > | GetHString (const achar *aaszName) const =0 |
| Get a HString property. {Property}. More... | |
| virtual Ptr< iHString > | GetHStringFromIndex (tU32 anIndex) const =0 |
| Get a HString property from the specified index. {Property}. More... | |
| virtual Ptr< iHString > | GetHStringDefault (const achar *aaszName, iHString *v) const =0 |
| Get a HString property. More... | |
| virtual tI64 | GetInt (const achar *aaszName) const =0 |
| Get a Int property. {Property}. More... | |
| virtual tI64 | GetIntFromIndex (tU32 anIndex) const =0 |
| Get a Int property from the specified index. {Property}. More... | |
| virtual tI64 | GetIntDefault (const achar *aaszName, tI64 v) const =0 |
| Get a Int property. More... | |
| virtual tBool | GetBool (const achar *aaszName) const =0 |
| Get a Bool property. {Property}. More... | |
| virtual tBool | GetBoolFromIndex (tU32 anIndex) const =0 |
| Get a Bool property from the specified index. {Property}. More... | |
| virtual tBool | GetBoolDefault (const achar *aaszName, tBool v) const =0 |
| Get a Bool property. More... | |
| virtual tF64 | GetFloat (const achar *aaszName) const =0 |
| Get a Float property. {Property}. More... | |
| virtual tF64 | GetFloatFromIndex (tU32 anIndex) const =0 |
| Get a Float property from the specified index. {Property}. More... | |
| virtual tF64 | GetFloatDefault (const achar *aaszName, tF64 v) const =0 |
| Get a Float property. More... | |
| virtual sVec2f | GetVec2 (const achar *aaszName) const =0 |
| Get a Vec2 property. {Property}. More... | |
| virtual sVec2f | GetVec2FromIndex (tU32 anIndex) const =0 |
| Get a Vec2 property from the specified index. {Property}. More... | |
| virtual sVec2f | GetVec2Default (const achar *aaszName, const sVec2f &v) const =0 |
| Get a Vec2 property. More... | |
| virtual sVec3f | GetVec3 (const achar *aaszName) const =0 |
| Get a Vec3 property. {Property}. More... | |
| virtual sVec3f | GetVec3FromIndex (tU32 anIndex) const =0 |
| Get a Vec3 property from the specified index. {Property}. More... | |
| virtual sVec3f | GetVec3Default (const achar *aaszName, const sVec3f &v) const =0 |
| Get a Vec3 property. More... | |
| virtual sVec4f | GetVec4 (const achar *aaszName) const =0 |
| Get a Vec4 property. {Property}. More... | |
| virtual sVec4f | GetVec4FromIndex (tU32 anIndex) const =0 |
| Get a Vec4 property from the specified index. {Property}. More... | |
| virtual sVec4f | GetVec4Default (const achar *aaszName, const sVec4f &v) const =0 |
| Get a Vec4 property. More... | |
| virtual sVec3f | GetCol3 (const achar *aaszName) const =0 |
| Get a Color3 property. {Property}. More... | |
| virtual sVec3f | GetCol3FromIndex (tU32 anIndex) const =0 |
| Get a Color3 property from the specified index. {Property}. More... | |
| virtual sVec4f | GetCol4 (const achar *aaszName) const =0 |
| Get a Color4 property. {Property}. More... | |
| virtual sVec4f | GetCol4FromIndex (tU32 anIndex) const =0 |
| Get a Color4 property from the specified index. {Property}. More... | |
| virtual sMatrixf | GetMatrix (const achar *aaszName) const =0 |
| Get a Matrix property. {Property}. More... | |
| virtual sMatrixf | GetMatrixFromIndex (tU32 anIndex) const =0 |
| Get a Matrix property from the specified index. {Property}. More... | |
| virtual sMatrixf | GetMatrixDefault (const achar *aaszName, const sMatrixf &v) const =0 |
| Get a Matrix property. More... | |
| virtual iUnknown * | GetIUnknown (const achar *aaszName) const =0 |
| Get a IUnknown property. {Property}. More... | |
| virtual iUnknown * | GetIUnknownFromIndex (tU32 anIndex) const =0 |
| Get a IUnknown property from the specified index. {Property}. More... | |
| virtual iUnknown * | GetIUnknownDefault (const achar *aaszName, iUnknown *v) const =0 |
| Get a IUnknown property. More... | |
| virtual tU32 | GetEnum (const achar *aaszName, const sEnumDef *apEnumDef, tEnumToStringFlags aFlags) const =0 |
| Get a Enum property. More... | |
| virtual tU32 | GetEnumFromIndex (tU32 anIndex, const sEnumDef *apEnumDef, tEnumToStringFlags aFlags) const =0 |
| Get a Enum property from the specified index. More... | |
| virtual tU32 | GetEnumDefault (const achar *aaszName, const sEnumDef *apEnumDef, tEnumToStringFlags aFlags, tU32 v) const =0 |
| Get a Enum property. More... | |
Set Properties | |
| virtual tU32 | SetVar (const achar *aaszName, const Var &v)=0 |
| Set a Var property. {Property}. More... | |
| virtual void | SetVarFromIndex (tU32 anIndex, const Var &v)=0 |
| Set a Var property from the specified index. {Property}. More... | |
| virtual tU32 | SetString (const achar *aaszName, const achar *v)=0 |
| Set a String property. {Property}. More... | |
| virtual void | SetStringFromIndex (tU32 anIndex, const achar *v)=0 |
| Set a String property from the specified index. {Property}. More... | |
| virtual tU32 | SetHString (const achar *aaszName, iHString *v)=0 |
| Set a HString property. {Property}. More... | |
| virtual void | SetHStringFromIndex (tU32 anIndex, iHString *v)=0 |
| Set a HString property from the specified index. {Property}. More... | |
| virtual tU32 | SetInt (const achar *aaszName, tI64 v)=0 |
| Set a Int property. {Property}. More... | |
| virtual void | SetIntFromIndex (tU32 anIndex, tI64 v)=0 |
| Set a Int property from the specified index. {Property}. More... | |
| virtual tU32 | SetBool (const achar *aaszName, tBool v)=0 |
| Set a Bool property. {Property}. More... | |
| virtual void | SetBoolFromIndex (tU32 anIndex, tBool v)=0 |
| Set a Bool property from the specified index. {Property}. More... | |
| virtual tU32 | SetFloat (const achar *aaszName, tF64 v)=0 |
| Set a Float property. {Property}. More... | |
| virtual void | SetFloatFromIndex (tU32 anIndex, tF64 v)=0 |
| Set a Float property from the specified index. {Property}. More... | |
| virtual tU32 | SetVec2 (const achar *aaszName, const sVec2f &v)=0 |
| Set a Vec2 property. {Property}. More... | |
| virtual void | SetVec2FromIndex (tU32 anIndex, const sVec2f &v)=0 |
| Set a Vec2 property from the specified index. {Property}. More... | |
| virtual tU32 | SetVec3 (const achar *aaszName, const sVec3f &v)=0 |
| Set a Vec3 property. {Property}. More... | |
| virtual void | SetVec3FromIndex (tU32 anIndex, const sVec3f &v)=0 |
| Set a Vec3 property from the specified index. {Property}. More... | |
| virtual tU32 | SetVec4 (const achar *aaszName, const sVec4f &v)=0 |
| Set a Vec4 property. {Property}. More... | |
| virtual void | SetVec4FromIndex (tU32 anIndex, const sVec4f &v)=0 |
| Set a Vec4 property from the specified index. {Property}. More... | |
| virtual tU32 | SetMatrix (const achar *aaszName, const sMatrixf &v)=0 |
| Set a Matrix property. {Property}. More... | |
| virtual void | SetMatrixFromIndex (tU32 anIndex, const sMatrixf &v)=0 |
| Set a Matrix property from the specified index. {Property}. More... | |
| virtual tU32 | SetIUnknown (const achar *aaszName, iUnknown *v)=0 |
| Set a IUnknown property. {Property}. More... | |
| virtual void | SetIUnknownFromIndex (tU32 anIndex, iUnknown *v)=0 |
| Set a IUnknown property from the specified index. {Property}. More... | |
| virtual tU32 | SetEnum (const achar *aaszName, const sEnumDef *apEnumDef, tEnumToStringFlags aFlags, tU32 anVal)=0 |
| Set an Enum property. More... | |
| virtual void | SetEnumFromIndex (tU32 anIndex, const sEnumDef *apEnumDef, tEnumToStringFlags aFlags, tU32 anVal)=0 |
| Set an Enum property from the specified index. More... | |
Raw access && Path Properties | |
| virtual tU32 | SetRawVar (const achar *aaszName, const Var &v)=0 |
| Set a Var property without ever calling the callback sink. {Property}. More... | |
| virtual void | SetRawVarFromIndex (tU32 anIndex, const Var &v)=0 |
| Set a Var property from the specified index without ever calling the callback sink. {Property}. More... | |
| virtual Var | GetRawVar (const achar *aaszName) const =0 |
| Get a Var property without ever calling the callback sink. {Property}. More... | |
| virtual Var | GetRawVarFromIndex (tU32 anIndex) const =0 |
| Get a Var property from the specified index without ever calling the callback sink.. {Property}. More... | |
| virtual Var | GetRawVarDefault (const achar *aaszName, const Var &v) const =0 |
| Get a Var property without ever calling the callback sink. More... | |
| virtual tBool | NewVarFromPath (const achar *aPath, const Var &aVal)=0 |
| Set a new variant property. Property name being a path. More... | |
| virtual tBool | SetVarFromPath (const achar *aPath, const Var &aVal)=0 |
| Set a variant property. Property name being a path. Return false if the path doesnt exist. More... | |
| virtual Var | GetVarFromPath (const achar *aPath, const Var &aDefault) const =0 |
| Get a variant property. Property name being a path. More... | |
Additional Inherited Members | |
Public Member Functions inherited from iUnknown | |
| virtual tBool | IsOK () const =0 |
| Check if the object is valid. More... | |
| virtual tI32 | AddRef ()=0 |
| Signal that one more reference of the object has been created. More... | |
| virtual tI32 | Release ()=0 |
| Release a reference of the object. More... | |
| virtual void | DeleteThis ()=0 |
| Bypass any reference counting and delete this object. More... | |
| virtual void | Invalidate ()=0 |
| Invalidate the object. More... | |
| virtual iUnknown * | QueryInterface (const tUUID &aIID)=0 |
| Query an interface. More... | |
| virtual void | ListInterfaces (iMutableCollection *apLst, tU32 anFlags) const =0 |
| Fill a UUID list containing the UUIDs of the implemented interfaces. More... | |
| virtual tI32 | SetNumRefs (tI32 anNumRefs)=0 |
| Set the reference counter directly. More... | |
| virtual tI32 | GetNumRefs () const =0 |
| Get the number of references to this object. More... | |
|
pure virtual |
Get the table name. {Property}.
|
pure virtual |
Get the root table. {Property}.
|
pure virtual |
Get the parent table. {Property}.
|
pure virtual |
Get the previous sibling of this data table. {Property}.
|
pure virtual |
Get the next sibling of this data table. {Property}.
|
pure virtual |
Get the index of this datatable. {Property}.
|
pure virtual |
Clone this table.
|
pure virtual |
Clone this table.
|
pure virtual |
Copy the source table inside this table.
|
pure virtual |
Clear the children datatables and properties.
|
pure virtual |
Check if any sink is inside the data table. {Property}.
|
pure virtual |
Get the data table's sink list. {Property}.
|
pure virtual |
Clear the child tables.
|
pure virtual |
Get the number of child tables. {Property}.
Get the index of the first child table with the specified name. {Property}.
|
pure virtual |
Get the child table with the specified name. {Property}.
|
pure virtual |
Get the child table at the specified index. {Property}.
|
pure virtual |
Append a child table.
Remove the child table at the specified index.
|
pure virtual |
Clear the properties.
Remove the property with the specified name.
Remove the property at the specified index.
|
pure virtual |
Get the number of properties in the table. {Property}.
Get the index of the specified property. {Property}.
Get the name of the property at the specified index. {Property}.
|
pure virtual |
Get the type of a property. {Property}.
|
pure virtual |
Get the type of the property at the specified index. {Property}.
Check whether the data table has a property with the specified name.
Set a property meta-data. {Property}.
Get a property meta-data. {Property}.
Set a property meta-data. {Property}.
Get a property meta-data. {Property}.
Get a Var property from the specified index. {Property}.
Get a Var property.
Get a String property. {Property}.
Get a String property from the specified index. {Property}.
Get a String property.
Get a HString property. {Property}.
Get a HString property from the specified index. {Property}.
Get a HString property.
Get a Int property from the specified index. {Property}.
Get a Int property.
Get a Bool property from the specified index. {Property}.
Get a Bool property.
Get a Float property. {Property}.
Get a Float property from the specified index. {Property}.
Get a Float property.
Get a Vec2 property. {Property}.
Get a Vec2 property from the specified index. {Property}.
Get a Vec2 property.
Get a Vec3 property. {Property}.
Get a Vec3 property from the specified index. {Property}.
Get a Vec3 property.
Get a Vec4 property. {Property}.
Get a Vec4 property from the specified index. {Property}.
Get a Vec4 property.
Get a Color3 property. {Property}.
Get a Color3 property from the specified index. {Property}.
Get a Color4 property. {Property}.
Get a Color4 property from the specified index. {Property}.
Get a Matrix property. {Property}.
Get a Matrix property from the specified index. {Property}.
Get a Matrix property.
Get a IUnknown property. {Property}.
Get a IUnknown property from the specified index. {Property}.
Get a IUnknown property.
|
pure virtual |
Get a Enum property.
|
pure virtual |
Get a Enum property from the specified index.
|
pure virtual |
Get a Enum property.
Set a Var property. {Property}.
Set a Var property from the specified index. {Property}.
Set a String property. {Property}.
Set a String property from the specified index. {Property}.
Set a HString property. {Property}.
Set a HString property from the specified index. {Property}.
Set a Int property from the specified index. {Property}.
Set a Bool property. {Property}.
Set a Bool property from the specified index. {Property}.
Set a Float property. {Property}.
Set a Float property from the specified index. {Property}.
Set a Vec2 property. {Property}.
Set a Vec2 property from the specified index. {Property}.
Set a Vec3 property. {Property}.
Set a Vec3 property from the specified index. {Property}.
Set a Vec4 property. {Property}.
Set a Vec4 property from the specified index. {Property}.
Set a Matrix property. {Property}.
Set a Matrix property from the specified index. {Property}.
Set a IUnknown property. {Property}.
Set a IUnknown property from the specified index. {Property}.
|
pure virtual |
Set an Enum property.
|
pure virtual |
Set an Enum property from the specified index.
Set a Var property without ever calling the callback sink. {Property}.
Set a Var property from the specified index without ever calling the callback sink. {Property}.
Get a Var property without ever calling the callback sink. {Property}.
Get a Var property from the specified index without ever calling the callback sink.. {Property}.
Get a Var property without ever calling the callback sink.
Set a new variant property. Property name being a path.
Set a variant property. Property name being a path. Return false if the path doesnt exist.
1.8.7