TalanSoft Toolkits  201707
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Groups Pages
Public Member Functions | List of all members
iDataTableWriteStack Struct Referenceabstract
Inheritance diagram for iDataTableWriteStack:
iUnknown

Detailed Description

Data table write stack interface.

Public Member Functions

virtual iDataTableGetTop () const =0
 Get the top of the data table stack. {Property}. More...
 
virtual void SetName (const achar *aaszName) const =0
 Set the name of the top data table. {Property}. More...
 
virtual const acharGetName () const =0
 Get the name of the top data table. {Property}. More...
 
virtual tU32 GetNumChildren () const =0
 Get the number of child data table of the top data table. {Property}. More...
 
virtual tBool PushChild (tU32 anIndex)=0
 Push the specified child data table on top of the stack. Push a NULL data table if it doesn't exists. More...
 
virtual tBool PushChildFail (tU32 anIndex)=0
 Push the specified child data table on top of the stack. Do not push a data table if it doesn't exists and returns eFalse. More...
 
virtual tBool Push (const achar *aaszName)=0
 Push a data table with the given name on top of the stack. If a child data table with the given name doesn't exists, creates it. More...
 
virtual tBool PushFail (const achar *aaszName)=0
 Push a data table with the given name on top of the stack. If a child data table with the given name doesn't exists, return eFalse. More...
 
virtual tBool PushNew (const achar *aaszName)=0
 Push a new data table on top of the stack. More...
 
virtual tBool PushAppend (iDataTable *apDT)=0
 Append the given data table, and push it on top of the stack. More...
 
virtual tBool PushEx (const achar *aaszName, const achar *aaszProp, const achar *aaszVal)=0
 Push the specified data table on top of the stack. Push a NULL data table if it doesn't exists. More...
 
virtual tBool PushFailEx (const achar *aaszName, const achar *aaszProp, const achar *aaszVal)=0
 Push the specified data table on top of the stack. Do not push a data table if it doesn't exists and returns eFalse. More...
 
virtual tBool Pop ()=0
 Pop the top data table. More...
 
virtual tBool HasProperty (const achar *aaszName) const =0
 Check whether the top data table has a property with the specified name. More...
 
virtual tBool RemoveProperty (const achar *aaszName)=0
 Remove a property of the top data table. More...
 
virtual void SetString (const achar *aaszName, const achar *v)=0
 Set a String in the top data table. {Property}. More...
 
virtual void SetHString (const achar *aaszName, iHString *v)=0
 Set a HString in the top data table. {Property}. More...
 
virtual void SetInt (const achar *aaszName, tI64 v)=0
 Set a Int in the top data table. {Property}. More...
 
virtual void SetBool (const achar *aaszName, tBool v)=0
 Set a Bool in the top data table. {Property}. More...
 
virtual void SetFloat (const achar *aaszName, tF64 v)=0
 Set a Float in the top data table. {Property}. More...
 
virtual void SetVec2 (const achar *aaszName, const sVec2f &v)=0
 Set a Vec2 in the top data table. {Property}. More...
 
virtual void SetVec3 (const achar *aaszName, const sVec3f &v)=0
 Set a Vec3 in the top data table. {Property}. More...
 
virtual void SetVec4 (const achar *aaszName, const sVec4f &v)=0
 Set a Vec4 in the top data table. {Property}. More...
 
virtual void SetMatrix (const achar *aaszName, const sMatrixf &v)=0
 Set a Matrix in the top data table. {Property}. More...
 
virtual void SetIUnknown (const achar *aaszName, iUnknown *v)=0
 Set a IUnknown in the top data table. {Property}. More...
 
virtual void SetEnum (const achar *aaszName, const sEnumDef *apEnumDef, tEnumToStringFlags aFlags, tU32 anVal)=0
 Set a Enum in the top data table. More...
 
virtual tBool SetMetadata (const achar *aaszProp, iHString *ahspData)=0
 Set a property meta-data. {Property}. More...
 
- 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 iUnknownQueryInterface (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...
 

Member Function Documentation

virtual iDataTable* GetTop ( ) const
pure virtual

Get the top of the data table stack. {Property}.

virtual void SetName ( const achar aaszName) const
pure virtual

Set the name of the top data table. {Property}.

virtual const achar* GetName ( ) const
pure virtual

Get the name of the top data table. {Property}.

virtual tU32 GetNumChildren ( ) const
pure virtual

Get the number of child data table of the top data table. {Property}.

virtual tBool PushChild ( tU32  anIndex)
pure virtual

Push the specified child data table on top of the stack. Push a NULL data table if it doesn't exists.

virtual tBool PushChildFail ( tU32  anIndex)
pure virtual

Push the specified child data table on top of the stack. Do not push a data table if it doesn't exists and returns eFalse.

virtual tBool Push ( const achar aaszName)
pure virtual

Push a data table with the given name on top of the stack. If a child data table with the given name doesn't exists, creates it.

virtual tBool PushFail ( const achar aaszName)
pure virtual

Push a data table with the given name on top of the stack. If a child data table with the given name doesn't exists, return eFalse.

virtual tBool PushNew ( const achar aaszName)
pure virtual

Push a new data table on top of the stack.

virtual tBool PushAppend ( iDataTable apDT)
pure virtual

Append the given data table, and push it on top of the stack.

virtual tBool PushEx ( const achar aaszName,
const achar aaszProp,
const achar aaszVal 
)
pure virtual

Push the specified data table on top of the stack. Push a NULL data table if it doesn't exists.

virtual tBool PushFailEx ( const achar aaszName,
const achar aaszProp,
const achar aaszVal 
)
pure virtual

Push the specified data table on top of the stack. Do not push a data table if it doesn't exists and returns eFalse.

virtual tBool Pop ( )
pure virtual

Pop the top data table.

virtual tBool HasProperty ( const achar aaszName) const
pure virtual

Check whether the top data table has a property with the specified name.

virtual tBool RemoveProperty ( const achar aaszName)
pure virtual

Remove a property of the top data table.

virtual void SetString ( const achar aaszName,
const achar v 
)
pure virtual

Set a String in the top data table. {Property}.

virtual void SetHString ( const achar aaszName,
iHString v 
)
pure virtual

Set a HString in the top data table. {Property}.

virtual void SetInt ( const achar aaszName,
tI64  v 
)
pure virtual

Set a Int in the top data table. {Property}.

virtual void SetBool ( const achar aaszName,
tBool  v 
)
pure virtual

Set a Bool in the top data table. {Property}.

virtual void SetFloat ( const achar aaszName,
tF64  v 
)
pure virtual

Set a Float in the top data table. {Property}.

virtual void SetVec2 ( const achar aaszName,
const sVec2f v 
)
pure virtual

Set a Vec2 in the top data table. {Property}.

virtual void SetVec3 ( const achar aaszName,
const sVec3f v 
)
pure virtual

Set a Vec3 in the top data table. {Property}.

virtual void SetVec4 ( const achar aaszName,
const sVec4f v 
)
pure virtual

Set a Vec4 in the top data table. {Property}.

virtual void SetMatrix ( const achar aaszName,
const sMatrixf v 
)
pure virtual

Set a Matrix in the top data table. {Property}.

virtual void SetIUnknown ( const achar aaszName,
iUnknown v 
)
pure virtual

Set a IUnknown in the top data table. {Property}.

virtual void SetEnum ( const achar aaszName,
const sEnumDef apEnumDef,
tEnumToStringFlags  aFlags,
tU32  anVal 
)
pure virtual

Set a Enum in the top data table.

virtual tBool SetMetadata ( const achar aaszProp,
iHString ahspData 
)
pure virtual

Set a property meta-data. {Property}.