![]() |
Public API Reference |
#include <dataobj.h>
Inheritance diagram for csDataObject:
Public Methods | |
csDataObject (void *d) | |
Initialize this object with data pointer initialized to 'd'. More... | |
void * | GetData () const |
Get the data associated with this object. More... | |
Static Public Methods | |
void * | GetData (iObject *obj) |
Get first data pointer associated with other object. More... | |
Public Attributes | |
csDataObject::DataObject | scfiDataObject |
iDataObject implementation. More... | |
Protected Attributes | |
void * | data |
Pointer to data. More... |
This class contains a pointer to a generic, untyped block of data which is not destroyed when the csObject is freed. Users are encouraged to implement their own custom csObjects, but this one can be used as a general enough and simple data storage that can be added to any object.
Definition at line 32 of file dataobj.h.
|
Initialize this object with data pointer initialized to 'd'.
Definition at line 40 of file dataobj.h. References data, SCF_CONSTRUCT_EMBEDDED_IBASE, SCF_CONSTRUCT_IBASE, and scfiDataObject. |
|
Get first data pointer associated with other object.
Definition at line 48 of file dataobj.h. References CS_GET_CHILD_OBJECT. |
|
Get the data associated with this object.
Definition at line 43 of file dataobj.h. References data. |
|
Pointer to data.
Definition at line 36 of file dataobj.h. Referenced by csDataObject, and GetData. |
|
iDataObject implementation.
Referenced by csDataObject. |