38 #ifndef __usImageHeaderXmlParser_h_
39 #define __usImageHeaderXmlParser_h_
41 #include <visp3/ustk_core/usConfig.h>
43 #if defined(VISP_HAVE_XML2) && (defined(USTK_HAVE_QT5) || defined(USTK_HAVE_VTK_QT))
47 #include <visp3/core/vpDebug.h>
48 #include <visp3/core/vpIoTools.h>
49 #include <visp3/core/vpXmlParser.h>
50 #include <visp3/io/vpParseArgv.h>
51 #include <visp3/ustk_core/us.h>
90 typedef enum { SEQUENCE_OK, SEQUENCE_ERROR } vpXmlCodeSequenceType;
101 uint32_t xmlReadUInt32Child(xmlDocPtr doc, xmlNodePtr node);
102 uint64_t xmlReadUInt64Child(xmlDocPtr doc, xmlNodePtr node);
103 void xmlWriteUInt32Child(xmlNodePtr node,
const char *label,
const uint32_t value);
104 void xmlWriteUInt64Child(xmlNodePtr node,
const char *label,
const uint64_t value);
107 std::string m_sequence_name;
110 void readMainClass(xmlDocPtr doc, xmlNodePtr node);
111 void writeMainClass(xmlNodePtr node);