CAEN Utility  2.0.2
Utilities for CAEN projects
CAENXMLParser.h File Reference

Tools to parse an XML file using libxml. More...

#include <types/CAENXMLParserTypes.h>
#include <types/CAENMultiplatformTypes.h>
#include <CAENUtility.h>
#include <libxml/xpath.h>
Include dependency graph for CAENXMLParser.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

c_xmlfile_tc_xml_newfile (const char *filename)
 
c_xmlfile_tc_xml_newfile_from_memory (const char *buffer, int size)
 
void c_xml_freefile (c_xmlfile_t *file)
 
xmlNode * c_xml_getrootnode (const c_xmlfile_t *file)
 
const char * c_xml_getpath (const c_xmlfile_t *file)
 
xmlNodeSet * c_xml_getnodeset (c_xmlfile_t *file, const xmlChar *query)
 
void c_xml_freenodeset (xmlNodeSet *nodeset)
 
const char * c_xml_getattributevalue (const xmlNode *node, const char *attribute, bool warnEnable)
 
xmlNode * c_xml_getfirstnodefromxpathquery (c_xmlfile_t *file, const xmlChar *query)
 
xmlNode * c_xml_getnextelementfromname (xmlNode *node, const char *nodename)
 
xmlNode * c_getfirstsiblingelementfromname (xmlNode *node, const char *nodename)
 
xmlNode * c_xml_getfirstchildrenelementfromname (xmlNode *node, const char *nodename)
 
xmlNode * c_xml_getfirstdescendantelementfromname (xmlNode *node, const char *nodename)
 
int32_t c_xml_getcodefromnodechild (const xmlNode *node, double *code)
 
int32_t c_xml_getcodefromnode (const xmlNode *node, double *code)
 
int32_t c_xml_getcodefromcodename (const c_xmlfile_t *file, const char *__restrict category, const char *__restrict codename, double *code)
 
const char * c_xml_getattributevaluefromcodename (const c_xmlfile_t *file, const char *__restrict category, const char *__restrict codename, const char *__restrict attrname)
 
c_fcnhandle_t c_xml_getfunctionpointerfromcodename (const c_xmlfile_t *file, const char *codename)
 
int c_xml_snprintf (xmlChar *buf, int len, const char *msg,...)
 
int c_xml_strlen (const xmlChar *str)
 
const char * c_xml_parserversion (void)
 
void c_xml_parsercleanup (void)
 

Detailed Description

Tools to parse an XML file using libxml.

Author

Definition in file CAENXMLParser.h.