Coin Logo http://www.sim.no/
http://www.coin3d.org/

Functions
XML related functions and objects

Functions

cc_xml_doc * cc_xml_doc_new (void)
 
void cc_xml_doc_delete_x (cc_xml_doc *doc)
 
void cc_xml_doc_set_filter_cb_x (cc_xml_doc *doc, cc_xml_filter_cb *cb, void *userdata)
 
void cc_xml_doc_get_filter_cb (const cc_xml_doc *doc, cc_xml_filter_cb *&cb, void *&userdata)
 

Detailed Description

Coin now has its own XML parser that also canb be used from client code.

Function Documentation

◆ cc_xml_doc_new()

cc_xml_doc * cc_xml_doc_new ( void  )
related

Creates a new cc_xml_doc object that is totally blank.

◆ cc_xml_doc_delete_x()

void cc_xml_doc_delete_x ( cc_xml_doc *  doc)
related

Frees up a cc_xml_doc object and all its resources.

◆ cc_xml_doc_set_filter_cb_x()

void cc_xml_doc_set_filter_cb_x ( cc_xml_doc *  doc,
cc_xml_filter_cb *  cb,
void *  userdata 
)
related

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.

◆ cc_xml_doc_get_filter_cb()

void cc_xml_doc_get_filter_cb ( const cc_xml_doc *  doc,
cc_xml_filter_cb *&  cb,
void *&  userdata 
)
related

Returns the set filter callback in the cb arg and userdata arg.


Copyright © 1998-2010 by Kongsberg Oil & Gas Technologies. All rights reserved.

Generated on Wed Jul 19 2023 for Coin by Doxygen 1.9.7.