#include <MiscalibReaderFromXMLDomUtils.h>
Static Public Member Functions | |
static double | getFloatAttribute (XERCES_CPP_NAMESPACE::DOMNamedNodeMap *attributes, std::string attr_name, bool &well_formed_string) |
static int | getIntAttribute (XERCES_CPP_NAMESPACE::DOMNamedNodeMap *attributes, std::string attr_name, bool &well_formed_string) |
static std::string | getStringAttribute (XERCES_CPP_NAMESPACE::DOMNamedNodeMap *attributes, std::string attr_name) |
static bool | hasAttribute (XERCES_CPP_NAMESPACE::DOMNamedNodeMap *attributes, std::string attr_name) |
static std::string | toString (const XMLCh *str) |
a collection of some XML reading utilities
Definition at line 11 of file MiscalibReaderFromXMLDomUtils.h.
double MiscalibReaderFromXML::getFloatAttribute | ( | XERCES_CPP_NAMESPACE::DOMNamedNodeMap * | attributes, |
std::string | attr_name, | ||
bool & | well_formed_string | ||
) | [inline, static] |
Definition at line 68 of file MiscalibReaderXML.cc.
References gather_cfg::cout, and MiscalibReaderFromXML::getFloatAttribute().
{ bool well_formed_string; double retval = MiscalibReaderFromXMLDomUtils::getFloatAttribute(attribute,attribute_name,well_formed_string); if(!well_formed_string) std::cout << "MiscalibReaderFromXML::getFloatAttribute PROBLEMS ...!!!" << std::endl; return retval; }
int MiscalibReaderFromXML::getIntAttribute | ( | XERCES_CPP_NAMESPACE::DOMNamedNodeMap * | attributes, |
std::string | attr_name, | ||
bool & | well_formed_string | ||
) | [inline, static] |
Definition at line 50 of file MiscalibReaderXML.cc.
References gather_cfg::cout, and MiscalibReaderFromXML::getIntAttribute().
{ bool well_formed_string; int retval = MiscalibReaderFromXMLDomUtils::getIntAttribute(attribute,attribute_name,well_formed_string); if(!well_formed_string) std::cout << "MiscalibReaderFromXML::getIntAttribute PROBLEMS ...!!!" << std::endl; return retval; }
static std::string MiscalibReaderFromXMLDomUtils::getStringAttribute | ( | XERCES_CPP_NAMESPACE::DOMNamedNodeMap * | attributes, |
std::string | attr_name | ||
) | [inline, static] |
static bool MiscalibReaderFromXMLDomUtils::hasAttribute | ( | XERCES_CPP_NAMESPACE::DOMNamedNodeMap * | attributes, |
std::string | attr_name | ||
) | [inline, static] |
static std::string MiscalibReaderFromXMLDomUtils::toString | ( | const XMLCh * | str | ) | [inline, static] |