Home || Architecture || Video Search || Visual Search || Scripts || Applications || Important Messages || OGL || Src

Impala::Persistency::XmlFileReader Class Reference

#include <XmlFileReader.h>

List of all members.

Public Types

typedef XERCES_CPP_NAMESPACE_QUALIFIER
DOMDocument 
DOMDocument

Public Member Functions

 XmlFileReader ()
virtual ~XmlFileReader ()
DOMDocumentRead (const std::string &filePath, bool fileRequired=true)
 Reads a DOM document at the specified address; keep reader 'alive' until doc can be discarded!
DOMDocumentRead (const std::string &filePath, Util::IOBuffer *ioBuf)
 Reads a DOM document from the specified buffer; keep reader 'alive' until doc can be discarded!
virtual bool FileExists (const std::string &address)
virtual bool ValidateFile (const std::string &address)

Static Public Member Functions

static std::vector< XERCES_CPP_NAMESPACE_QUALIFIER
DOMNode * > 
FindChildNodesByName (const XERCES_CPP_NAMESPACE_QUALIFIER DOMNode *const node, const char *const tagName)
static XERCES_CPP_NAMESPACE_QUALIFIER
DOMNodeList * 
FindElementsByName (const XERCES_CPP_NAMESPACE_QUALIFIER DOMDocument *const doc, const char *const tagName)
static std::string GetAttributeValue (const XERCES_CPP_NAMESPACE_QUALIFIER DOMNamedNodeMap *const attributes, const char *const attributeName)

Private Member Functions

bool InitializeXerces ()
void ClearParser ()
DOMDocumentReadDomDoc (const std::string &filePath, Util::IOBuffer *ioBuf=0)
void FinalizeXerces ()

Static Private Member Functions

static std::string GetNodeValue (const XERCES_CPP_NAMESPACE_QUALIFIER DOMNode *const node)

Private Attributes

XERCES_CPP_NAMESPACE_QUALIFIER
XercesDOMParser * 
mParser


Detailed Description

Definition at line 32 of file XmlFileReader.h.


The documentation for this class was generated from the following file:
Generated on Fri Mar 19 11:37:26 2010 for ImpalaSrc by  doxygen 1.5.1