Rechercher une page de manuel
XML
Langue: en
Version: 323867 (ubuntu - 08/07/09)
Section: 3 (Bibliothèques de fonctions)
Sommaire
- NAME
- Detailed Description
- Typedef Documentation
- Function Documentation
- cc_xml_doc * cc_xml_doc_new (void) [related, inherited]
- void cc_xml_doc_delete_x (cc_xml_doc * doc) [related, inherited]
- void cc_xml_doc_set_filter_cb_x (cc_xml_doc * doc, cc_xml_filter_cb * cb, void * userdata) [related, inherited]
- void cc_xml_doc_get_filter_cb (const cc_xml_doc * doc, cc_xml_filter_cb *& cb, void *& userdata) [related, inherited]
NAME
XML related functions and objects -Detailed Description
Coin now has its own XML parser that also canb be used from client code.
Typedefs
typedef struct cc_xml_doc cc_xml_doc
opaque container object type for XML documents
Functions
cc_xml_doc * cc_xml_doc::cc_xml_doc_new (void)
void cc_xml_doc::cc_xml_doc_delete_x (cc_xml_doc *doc)
void cc_xml_doc::cc_xml_doc_set_filter_cb_x (cc_xml_doc *doc, cc_xml_filter_cb *cb, void *userdata)
void cc_xml_doc::cc_xml_doc_get_filter_cb (const cc_xml_doc *doc, cc_xml_filter_cb *&cb, void *&userdata)
Typedef Documentation
typedef struct cc_xml_doc cc_xml_doc
opaque container object type for XML documents
This type is an opaque container object type for an XML document structure, and also the interface for configuring the parsing and writing code.
Function Documentation
cc_xml_doc * cc_xml_doc_new (void) [related, inherited]
Creates a new cc_xml_doc object that is totally blank.
void cc_xml_doc_delete_x (cc_xml_doc * doc) [related, inherited]
Frees up a cc_xml_doc object and all its resources.
void cc_xml_doc_set_filter_cb_x (cc_xml_doc * doc, cc_xml_filter_cb * cb, void * userdata) [related, inherited]
Sets the filter callback for document parsing. This makes it possible to use the parser as a streaming parser, by making the parser discard all elements it has read in.
Elements can only be discarded as they are popped - on push they will be kept regardless of what the filter callback returns.
void cc_xml_doc_get_filter_cb (const cc_xml_doc * doc, cc_xml_filter_cb *& cb, void *& userdata) [related, inherited]
Returns the set filter callback in the cb arg and userdata arg.
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre