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

DOMDocument* Impala::Persistency::XmlFileReader::Read ( const std::string &  filePath,
Util::IOBuffer ioBuf 
) [inline]

Reads a DOM document from the specified buffer; keep reader 'alive' until doc can be discarded!

Definition at line 74 of file XmlFileReader.h.

References ClearParser(), InitializeXerces(), and ReadDomDoc().

00075     {
00076         ClearParser(); // clear in case the reader is used more than once
00077 
00078         if (!InitializeXerces()) 
00079             throw std::runtime_error("xerces initialization failed");
00080 
00081         DOMDocument* domDoc = ReadDomDoc(filePath, ioBuf);
00082         return domDoc;
00083     }

Here is the call graph for this function:


Generated on Thu Jan 13 09:23:58 2011 for ImpalaSrc by  doxygen 1.5.1