Generic hardware access library
|
Converts a DOM-tree to a list of AddressTableItems. More...
#include <DOMToVMEMapConverter.hh>
Static Public Member Functions | |
static void | convert (XERCES_CPP_NAMESPACE::DOMDocument *doc, std::list< AddressTableItem * > &itemPointerList) throw ( XMLProcessingException ) |
Convert a DOM node to a list of AddressTableItems. | |
Static Private Member Functions | |
static void | processNode (XERCES_CPP_NAMESPACE::DOMNode *item, std::list< AddressTableItem * > &itemPointerList) throw ( XMLProcessingException ) |
static void | getString (const XERCES_CPP_NAMESPACE::DOMNode *node, std::string &text) |
static void | getUnsignedLong (const XERCES_CPP_NAMESPACE::DOMNode *node, uint32_t &number) |
static bool | findNamedChild (const XERCES_CPP_NAMESPACE::DOMNode *node, std::string nodeName, uint32_t &value) |
static bool | findNamedChild (const XERCES_CPP_NAMESPACE::DOMNode *node, std::string nodeName, std::string &value) |
Converts a DOM-tree to a list of AddressTableItems.
This is a utility which does not contain data. It contains one static public function.
Definition at line 38 of file DOMToVMEMapConverter.hh.
void HAL::DOMToVMEMapConverter::convert | ( | XERCES_CPP_NAMESPACE::DOMDocument * | doc, |
std::list< AddressTableItem * > & | itemPointerList | ||
) | throw ( XMLProcessingException ) [static] |
Convert a DOM node to a list of AddressTableItems.
This routine is used by the VMEAddressTableXMLFileReader. Since other readers might have to perform the same task, the service has been isolated into this static object.
Definition at line 7 of file DOMToVMEMapConverter.cc.
static bool HAL::DOMToVMEMapConverter::findNamedChild | ( | const XERCES_CPP_NAMESPACE::DOMNode * | node, |
std::string | nodeName, | ||
uint32_t & | value | ||
) | [static, private] |
static bool HAL::DOMToVMEMapConverter::findNamedChild | ( | const XERCES_CPP_NAMESPACE::DOMNode * | node, |
std::string | nodeName, | ||
std::string & | value | ||
) | [static, private] |
void HAL::DOMToVMEMapConverter::getString | ( | const XERCES_CPP_NAMESPACE::DOMNode * | node, |
std::string & | text | ||
) | [static, private] |
Definition at line 108 of file DOMToVMEMapConverter.cc.
void HAL::DOMToVMEMapConverter::getUnsignedLong | ( | const XERCES_CPP_NAMESPACE::DOMNode * | node, |
uint32_t & | number | ||
) | [static, private] |
Definition at line 118 of file DOMToVMEMapConverter.cc.
void HAL::DOMToVMEMapConverter::processNode | ( | XERCES_CPP_NAMESPACE::DOMNode * | item, |
std::list< AddressTableItem * > & | itemPointerList | ||
) | throw ( XMLProcessingException ) [static, private] |
Definition at line 28 of file DOMToVMEMapConverter.cc.