Generic hardware access library
HAL::DOMToVMEMapConverter Class Reference

Converts a DOM-tree to a list of AddressTableItems. More...

#include <DOMToVMEMapConverter.hh>

List of all members.

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)

Detailed Description

Converts a DOM-tree to a list of AddressTableItems.

This is a utility which does not contain data. It contains one static public function.

See also:
VMEAddressTableXMLFileReader
Author:
Christoph Schwick
Revision:
1.1
Date:
2007/03/05 18:02:09

Definition at line 38 of file DOMToVMEMapConverter.hh.


Member Function Documentation

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.


The documentation for this class was generated from the following files: