1 #ifndef COIN_XMLDOCUMENT_H 2 #define COIN_XMLDOCUMENT_H 53 COIN_DLL_API SbBool cc_xml_doc_read_file_x(
cc_xml_doc * doc,
const char * path);
54 COIN_DLL_API SbBool cc_xml_doc_read_buffer_x(
cc_xml_doc * doc,
const char * buffer,
size_t buflen);
56 COIN_DLL_API SbBool cc_xml_doc_parse_buffer_partial_x(
cc_xml_doc * doc,
const char * buffer,
size_t buflen);
57 COIN_DLL_API SbBool cc_xml_doc_parse_buffer_partial_done_x(
cc_xml_doc * doc,
const char * buffer,
size_t buflen);
59 COIN_DLL_API SbBool cc_xml_doc_write_to_buffer(
const cc_xml_doc * doc,
char *& buffer,
size_t & bytes);
60 COIN_DLL_API SbBool cc_xml_doc_write_to_file(
const cc_xml_doc * doc,
const char * path);
65 COIN_DLL_API
void cc_xml_doc_set_filename_x(
cc_xml_doc * doc,
const char * path);
66 COIN_DLL_API
const char * cc_xml_doc_get_filename(
const cc_xml_doc * doc);
70 COIN_DLL_API cc_xml_elt * cc_xml_doc_get_root(
const cc_xml_doc * doc);
71 COIN_DLL_API
void cc_xml_doc_set_current_x(
cc_xml_doc * doc, cc_xml_elt * elt);
72 COIN_DLL_API cc_xml_elt * cc_xml_doc_get_current(
const cc_xml_doc * doc);
73 COIN_DLL_API
void cc_xml_doc_strip_whitespace_x(
cc_xml_doc * doc);
75 COIN_DLL_API
void cc_xml_doc_set_root_x(
cc_xml_doc * doc, cc_xml_elt * root);
77 COIN_DLL_API
const cc_xml_elt * cc_xml_doc_find_element(
const cc_xml_doc * doc, cc_xml_path * path);
78 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);
79 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)
cc_xml_filter_choice cc_xml_filter_cb(void *userdata, cc_xml_doc *doc, cc_xml_elt *elt, int pushing)
Definition: types.h:61
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:43