Namespaces | Defines | Functions

XmlUtils.cpp File Reference

#include "XmlUtils.h"
Include dependency graph for XmlUtils.cpp:

Go to the source code of this file.

Namespaces

namespace  xmlutils

Defines

#define LIBSMBIOS_SOURCE
#define DCOUT(line)   do {} while(0)
#define DCERR(line)   do {} while(0)

Functions

DOMBuilder * getParser ()
void suppressLibxmlWarnings (void *ctx, const char *msg,...)
string safeGetAttribute (const xmlNode *node, const string &attr)
xmlNodePtr findElement (xmlNodePtr root, const string elementName, const string &attribute, const string &value)
xmlNodePtr findElement (xmlNodePtr root, const string elementName, const string &attribute, long value)
xmlNodePtr findElementWithNumericAttr (xmlNodePtr root, const string elementName, const string &attribute, long value)
string getNodeText (xmlNodePtr elem)
int getNumberFromXmlAttr (xmlNodePtr element, const string field, int base)

Define Documentation

#define DCERR (   line  )     do {} while(0)

Definition at line 30 of file XmlUtils.cpp.

Referenced by xmlutils::findElement().

#define DCOUT (   line  )     do {} while(0)

Definition at line 29 of file XmlUtils.cpp.

#define LIBSMBIOS_SOURCE

Definition at line 19 of file XmlUtils.cpp.