Coconut XML Framework
beta
|
Define CNXMLObject class. More...
Go to the source code of this file.
Classes | |
struct | CNXMLObjectMethods |
Methods for CNXMLObject. More... | |
struct | CNXMLObject |
Data object which can be a component of XML document. More... | |
Typedefs | |
typedef xmlNodePtr(* | CNEncodeObjectFuncRef )(const struct CNXMLObject *src) |
Function to encode the component. | |
Functions | |
static struct CNXMLObject * | CNAllocateXMLObject (size_t size, const struct CNXMLObjectMethods *methods, struct CNResource *resource) |
Allocate CNXMLObject object. | |
static void | CNRetainXMLObject (struct CNXMLObject *dst) |
Retain the CNXMLObject object. | |
static void | CNReleaseXMLObject (struct CNXMLObject *dst) |
Release the CNXMLObject object. | |
static xmlNodePtr | CNEncodeXMLObject (const struct CNXMLObject *src) |
Encode object into XML node. |
Define CNXMLObject class.
static struct CNXMLObject* CNAllocateXMLObject | ( | size_t | size, |
const struct CNXMLObjectMethods * | methods, | ||
struct CNResource * | resource | ||
) | [static, read] |
Allocate CNXMLObject object.
obj | Allocate object |
NULL | Allocation failed |
size | Size of component |
methods | Methods for thiins object |
resource | Resource to allocate the object |
References CNXMLObjectMethods::superClass.
static void CNRetainXMLObject | ( | struct CNXMLObject * | dst | ) | [inline, static] |
Retain the CNXMLObject object.
dst | Destination object |
References CNXMLObject::superClass.
static void CNReleaseXMLObject | ( | struct CNXMLObject * | dst | ) | [inline, static] |
Release the CNXMLObject object.
dst | Destination object |
References CNXMLObject::superClass.
static xmlNodePtr CNEncodeXMLObject | ( | const struct CNXMLObject * | src | ) | [inline, static] |
Encode object into XML node.
src | Source object |
References CNXMLObjectMethods::encodeFuncRef, and CNXMLObject::superClass.