1#ifndef COIN_XML_TYPES_H
2#define COIN_XML_TYPES_H
36#include <Inventor/C/basic.h>
40#define COIN_XML_CDATA_TYPE "cdata"
41#define COIN_XML_ROOT_TYPE "root"
43typedef struct cc_xml_doc cc_xml_doc;
44typedef struct cc_xml_elt cc_xml_elt;
45typedef struct cc_xml_attr cc_xml_attr;
46typedef struct cc_xml_ent cc_xml_ent;
47typedef struct cc_xml_path cc_xml_path;
50typedef cc_xml_doc cc_xml_document;
51typedef cc_xml_elt cc_xml_element;
52typedef cc_xml_attr cc_xml_attribute;
53typedef cc_xml_ent cc_xml_entity;
56enum cc_xml_filter_choice {
61typedef cc_xml_filter_choice cc_xml_filter_cb(
void * userdata, cc_xml_doc * doc, cc_xml_elt * elt,
int pushing);
74SbXmlDocument * COIN_DLL_API cc_xml_wrap(cc_xml_doc * doc,
int pass_ownership = FALSE);
75SbXmlElement * COIN_DLL_API cc_xml_wrap(cc_xml_elt * elt,
int pass_ownership = FALSE);
76SbXmlAttribute * COIN_DLL_API cc_xml_wrap(cc_xml_attr * attr,
int pass_ownership = FALSE);
77SbXmlEntity * COIN_DLL_API cc_xml_wrap(cc_xml_ent * ent,
int pass_ownership = FALSE);
78SbXmlPath * COIN_DLL_API cc_xml_wrap(cc_xml_path * path,
int pass_ownership = FALSE);
80cc_xml_doc * COIN_DLL_API cc_xml_unwrap(SbXmlDocument * doc,
int pass_ownership = FALSE);
81cc_xml_elt * COIN_DLL_API cc_xml_unwrap(SbXmlElement * elt,
int pass_ownership = FALSE);
82cc_xml_attr * COIN_DLL_API cc_xml_unwrap(SbXmlAttribute * attr,
int pass_ownership = FALSE);
83cc_xml_ent * COIN_DLL_API cc_xml_unwrap(SbXmlEntity * ent,
int pass_ownership = FALSE);
84cc_xml_path * COIN_DLL_API cc_xml_unwrap(SbXmlPath * path,
int pass_ownership = FALSE);