Generic hardware access library
HAL::DOMToPCIMapConverter Class Reference

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

#include <DOMToPCIMapConverter.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:
PCIAddressTableXMLFileReader
Author:
Christoph Schwick
Revision:
1.1
Date:
2007/03/05 18:02:09

Definition at line 38 of file DOMToPCIMapConverter.hh.


Member Function Documentation

void HAL::DOMToPCIMapConverter::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 PCIAddressTableXMLFileReader. 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 DOMToPCIMapConverter.cc.

static bool HAL::DOMToPCIMapConverter::findNamedChild ( const XERCES_CPP_NAMESPACE::DOMNode *  node,
std::string  nodeName,
uint32_t &  value 
) [static, private]
static bool HAL::DOMToPCIMapConverter::findNamedChild ( const XERCES_CPP_NAMESPACE::DOMNode *  node,
std::string  nodeName,
std::string &  value 
) [static, private]
void HAL::DOMToPCIMapConverter::getString ( const XERCES_CPP_NAMESPACE::DOMNode *  node,
std::string &  text 
) [static, private]

Definition at line 80 of file DOMToPCIMapConverter.cc.

void HAL::DOMToPCIMapConverter::getUnsignedLong ( const XERCES_CPP_NAMESPACE::DOMNode *  node,
uint32_t &  number 
) [static, private]

Definition at line 90 of file DOMToPCIMapConverter.cc.

void HAL::DOMToPCIMapConverter::processNode ( XERCES_CPP_NAMESPACE::DOMNode *  item,
std::list< AddressTableItem * > &  itemPointerList 
) throw ( XMLProcessingException ) [static, private]

Definition at line 25 of file DOMToPCIMapConverter.cc.


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