Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

xml(3) [debian man page]

XML related functions and objects(3)				       Coin				      XML related functions and objects(3)

NAME
XML related functions and objects - Typedefs typedef struct cc_xml_doc cc_xml_doc opaque container object type for XML documents 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. 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] Creates a new cc_xml_doc object that is totally blank. void cc_xml_doc_delete_x (cc_xml_doc *doc) [related] 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] 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] Returns the set filter callback in the cb arg and userdata arg. Author Generated automatically by Doxygen for Coin from the source code. Version 3.1.3 Wed May 23 2012 XML related functions and objects(3)

Check Out this Related Man Page

SoCallbackList(3)						       Coin							 SoCallbackList(3)

NAME
SoCallbackList - The SoCallbackList is a container for callback function pointers. This list stores callback function pointers (along with user-specified extra data to pass to the callbacks) and provides a method for triggering the callback functions. SYNOPSIS
#include <Inventor/lists/SoCallbackList.h> Public Member Functions SoCallbackList (void) ~SoCallbackList () void addCallback (SoCallbackListCB *f, void *userData=NULL) void removeCallback (SoCallbackListCB *f, void *userdata=NULL) void clearCallbacks (void) int getNumCallbacks (void) const void invokeCallbacks (void *callbackdata) Detailed Description The SoCallbackList is a container for callback function pointers. This list stores callback function pointers (along with user-specified extra data to pass to the callbacks) and provides a method for triggering the callback functions. Constructor &; Destructor Documentation SoCallbackList::SoCallbackList (void) Default constructor. SoCallbackList::~SoCallbackList (void) Destructor. Member Function Documentation void SoCallbackList::addCallback (SoCallbackListCB *f, void *userdata = NULL) Append the callback function f to the list. It will be passed the userdata upon invocation. void SoCallbackList::removeCallback (SoCallbackListCB *f, void *userdata = NULL) Remove callback f from the list. void SoCallbackList::clearCallbacks (void) Remove all callbacks in the list. int SoCallbackList::getNumCallbacks (void) const Returns number of callback functions. void SoCallbackList::invokeCallbacks (void *callbackdata) Invoke all callback functions, passing the userdata and the callbackdata as the first and second argument, respectively. All callbacks registered when the method is invoked will be triggered, even though if the code in one callback removes another callback. It is safe for a callback to remove itself or any other callbacks during execution. Author Generated automatically by Doxygen for Coin from the source code. Version 3.1.3 Wed May 23 2012 SoCallbackList(3)
Man Page