OODuck
0.5
C Oriented Object framework with duck-typing support
|
Abstract class to encapsulate item objects. More...
Public Member Functions | |
void * | __constructor__ (void *self, const void *data) |
Build new node. More... | |
void * | data (const void *self) |
Get a new reference on encapsulated data. More... | |
Public Member Functions inherited from Object | |
void * | ref (void *self) |
Increment object's reference counter. More... | |
void | unref (void *self) |
Decrement object's reference counter, if equals 0, delete the object. More... | |
bool | equal (const void *self, const void *other) |
Check objects equality. More... | |
Abstract class to encapsulate item objects.
MUST be subclassed.
void * __constructor__ | ( | void * | self, |
const void * | data | ||
) |
Build new node.
self | IterableNode instance. |
data | Data to encapsulate. |
void * data | ( | const void * | self | ) |
Get a new reference on encapsulated data.
self | IterableNode instance. |