1 #ifndef COIN_XML_TYPES_H
2 #define COIN_XML_TYPES_H
27 #include <Inventor/C/basic.h>
31 #define COIN_XML_CDATA_TYPE "cdata"
32 #define COIN_XML_ROOT_TYPE "root"
35 typedef struct cc_xml_elt cc_xml_elt;
36 typedef struct cc_xml_attr cc_xml_attr;
37 typedef struct cc_xml_ent cc_xml_ent;
38 typedef struct cc_xml_path cc_xml_path;
42 typedef cc_xml_elt cc_xml_element;
43 typedef cc_xml_attr cc_xml_attribute;
44 typedef cc_xml_ent cc_xml_entity;
47 enum cc_xml_filter_choice {
52 typedef cc_xml_filter_choice cc_xml_filter_cb(
void * userdata,
cc_xml_doc * doc, cc_xml_elt * elt,
int pushing);
65 SbXmlDocument * COIN_DLL_API cc_xml_wrap(
cc_xml_doc * doc,
int pass_ownership = FALSE);
66 SbXmlElement * COIN_DLL_API cc_xml_wrap(cc_xml_elt * elt,
int pass_ownership = FALSE);
67 SbXmlAttribute * COIN_DLL_API cc_xml_wrap(cc_xml_attr * attr,
int pass_ownership = FALSE);
68 SbXmlEntity * COIN_DLL_API cc_xml_wrap(cc_xml_ent * ent,
int pass_ownership = FALSE);
69 SbXmlPath * COIN_DLL_API cc_xml_wrap(cc_xml_path * path,
int pass_ownership = FALSE);
71 cc_xml_doc * COIN_DLL_API cc_xml_unwrap(SbXmlDocument * doc,
int pass_ownership = FALSE);
72 cc_xml_elt * COIN_DLL_API cc_xml_unwrap(SbXmlElement * elt,
int pass_ownership = FALSE);
73 cc_xml_attr * COIN_DLL_API cc_xml_unwrap(SbXmlAttribute * attr,
int pass_ownership = FALSE);
74 cc_xml_ent * COIN_DLL_API cc_xml_unwrap(SbXmlEntity * ent,
int pass_ownership = FALSE);
75 cc_xml_path * COIN_DLL_API cc_xml_unwrap(SbXmlPath * path,
int pass_ownership = FALSE);
struct cc_xml_doc cc_xml_doc
opaque container object type for XML documents
Definition: types.h:34