1 #ifndef COIN_XMLDOCUMENT_H
2 #define COIN_XMLDOCUMENT_H
27 #include <Inventor/C/XML/types.h>
44 COIN_DLL_API SbBool cc_xml_doc_read_file_x(
cc_xml_doc * doc,
const char * path);
45 COIN_DLL_API SbBool cc_xml_doc_read_buffer_x(
cc_xml_doc * doc,
const char * buffer,
size_t buflen);
47 COIN_DLL_API SbBool cc_xml_doc_parse_buffer_partial_x(
cc_xml_doc * doc,
const char * buffer,
size_t buflen);
48 COIN_DLL_API SbBool cc_xml_doc_parse_buffer_partial_done_x(
cc_xml_doc * doc,
const char * buffer,
size_t buflen);
50 COIN_DLL_API SbBool cc_xml_doc_write_to_buffer(
const cc_xml_doc * doc,
char *& buffer,
size_t & bytes);
51 COIN_DLL_API SbBool cc_xml_doc_write_to_file(
const cc_xml_doc * doc,
const char * path);
56 COIN_DLL_API
void cc_xml_doc_set_filename_x(
cc_xml_doc * doc,
const char * path);
57 COIN_DLL_API
const char * cc_xml_doc_get_filename(
const cc_xml_doc * doc);
61 COIN_DLL_API cc_xml_elt * cc_xml_doc_get_root(
const cc_xml_doc * doc);
62 COIN_DLL_API
void cc_xml_doc_set_current_x(
cc_xml_doc * doc, cc_xml_elt * elt);
63 COIN_DLL_API cc_xml_elt * cc_xml_doc_get_current(
const cc_xml_doc * doc);
64 COIN_DLL_API
void cc_xml_doc_strip_whitespace_x(
cc_xml_doc * doc);
66 COIN_DLL_API
void cc_xml_doc_set_root_x(
cc_xml_doc * doc, cc_xml_elt * root);
68 COIN_DLL_API
const cc_xml_elt * cc_xml_doc_find_element(
const cc_xml_doc * doc, cc_xml_path * path);
69 COIN_DLL_API
const cc_xml_elt * cc_xml_doc_find_next_element(
const cc_xml_doc * doc, cc_xml_elt * elt, cc_xml_path * path);
70 COIN_DLL_API cc_xml_elt * cc_xml_doc_create_element_x(
cc_xml_doc * doc, cc_xml_path * path);
cc_xml_doc * cc_xml_doc_new(void)
void cc_xml_doc_get_filter_cb(const cc_xml_doc *doc, cc_xml_filter_cb *&cb, void *&userdata)
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)
struct cc_xml_doc cc_xml_doc
opaque container object type for XML documents
Definition: types.h:34