xmlmem.h File Reference

Memory operations for XML data. More...

#include <LibXmlKit/xmltype.h>

Go to the source code of this file.

Defines

#define XMLMEM_H_INCLUDED

Functions

void xml_mem_init (void)
 Initialize the memory system for XML processing.
XmlDocxml_mem_doc_ptr2obj (xmlDocPtr doc)
 Get XmlDoc instance from xmlDocPtr.
XmlNodexml_mem_node_ptr2obj (xmlNodePtr node)
 Get XmlNode instance from xmlNodePtr.


Detailed Description

Memory operations for XML data.

Date:
2004.02.14
Author:
Steel Wheels Project
Copyright
Copyright (C) 2004 Steel Wheels Project. All right reserved.
Description
The libxml2 library has custom memory allocation functions and they can be replaced by the user.
This file defines custom memory allocation functions used to make additional memory spaces which contains the information for each nodes and documents.

Define Documentation

#define XMLMEM_H_INCLUDED
 

Avoid include twice


Function Documentation

XmlDoc* xml_mem_doc_ptr2obj xmlDocPtr  doc  ) 
 

Get XmlDoc instance from xmlDocPtr.

Parameters:
doc xml document data.
Returns:
Instance of XmlDoc class.
Description
Get XmlDoc instance from xmlDocPtr.

void xml_mem_init void   ) 
 

Initialize the memory system for XML processing.

Description
Initialize the memory system for XML processing. This function is called in the startup initializer in XmlDoc class. DO NOT CALL this method in the other place.

XmlNode* xml_mem_node_ptr2obj xmlNodePtr  node  ) 
 

Get XmlNode instance from xmlNodePtr.

Returns:
Instance of XmlNode class.
Parameters:
node xmlNode to get pair.
Description
Get XmlNode object from xmlNodePtr.


Generated on Fri Feb 3 01:21:24 2006 for LibXmlKit by  doxygen 1.4.5