XmlUtils.h File Reference

#include "smbios/compat.h"
#include <xercesc/util/PlatformUtils.hpp>
#include <xercesc/dom/DOM.hpp>
#include <xercesc/dom/DOMImplementationLS.hpp>
#include <xercesc/framework/StdOutFormatTarget.hpp>
#include <xercesc/framework/LocalFileFormatTarget.hpp>
#include <xercesc/parsers/XercesDOMParser.hpp>
#include <xercesc/util/XMLUni.hpp>
#include <xercesc/framework/MemBufInputSource.hpp>
#include <xercesc/framework/Wrapper4InputSource.hpp>
#include "ExceptionImpl.h"

Go to the source code of this file.

Namespaces

namespace  xmlutils

Defines

#define X(x)   XMLString::transcode(x)

Functions

 xmlutils::DECLARE_EXCEPTION (XmlUtilsException)
 xmlutils::DECLARE_EXCEPTION_EX (NotFound, xmlutils, XmlUtilsException)
 xmlutils::DECLARE_EXCEPTION_EX (Invalid, xmlutils, XmlUtilsException)
 xmlutils::DEFINE_EXCEPTION_EX (NotFoundImpl, xmlutils, NotFound)
 xmlutils::DEFINE_EXCEPTION_EX (InvalidImpl, xmlutils, Invalid)
XERCES_CPP_NAMESPACE_QUALIFIER
DOMElement * 
xmlutils::castNode2Element (XERCES_CPP_NAMESPACE_QUALIFIER DOMNode *node)
const XERCES_CPP_NAMESPACE_QUALIFIER
DOMElement * 
xmlutils::castNode2Element (const XERCES_CPP_NAMESPACE_QUALIFIER DOMNode *node)
string xmlutils::safeXMLChToString (const XMLCh *src)
std::string xmlutils::safeGetAttribute (const XERCES_CPP_NAMESPACE_QUALIFIER DOMNode *node, const std::string &attr)
DOMBuilder * xmlutils::getParser ()
XERCES_CPP_NAMESPACE_QUALIFIER
DOMElement * 
xmlutils::findElement (XERCES_CPP_NAMESPACE_QUALIFIER DOMElement *root, const std::string elementName, const std::string &attribute, const std::string &value)
XERCES_CPP_NAMESPACE_QUALIFIER
DOMElement * 
xmlutils::findElementWithNumericAttr (XERCES_CPP_NAMESPACE_QUALIFIER DOMElement *root, const std::string elementName, const std::string &attribute, long value)
std::string xmlutils::getNodeText (XERCES_CPP_NAMESPACE_QUALIFIER DOMNode *elem)
int xmlutils::getNumberFromXmlAttr (XERCES_CPP_NAMESPACE_QUALIFIER DOMElement *element, const std::string field, int base)


Define Documentation

#define X (  )     XMLString::transcode(x)

Definition at line 34 of file XmlUtils.h.

Referenced by xmlutils::findElement(), xmlutils::findElementWithNumericAttr(), xmlutils::safeGetAttribute(), and SmbiosItemXml::streamify().


Generated on Tue Jul 11 20:46:47 2006 for SMBIOS Library by  doxygen 1.4.7