XML DOM parser.
More...
Inherits xmlpp::Parser.
List of all members.
Detailed Description
Constructor & Destructor Documentation
xmlpp::DomParser::DomParser |
( |
| ) |
|
xmlpp::DomParser::DomParser |
( |
const std::string & |
filename, |
|
|
bool |
validate = false |
|
) |
| [explicit] |
Instantiate the parser and parse a document immediately.
- Exceptions:
-
- Parameters:
-
filename | The path to the file. |
validate | Whether the parser should validate the XML. |
virtual xmlpp::DomParser::~DomParser |
( |
| ) |
[virtual] |
Member Function Documentation
Document* xmlpp::DomParser::get_document |
( |
| ) |
|
const Document* xmlpp::DomParser::get_document |
( |
| ) |
const |
xmlpp::DomParser::operator bool |
( |
| ) |
const |
Test whether a document has been parsed.
virtual void xmlpp::DomParser::parse_context |
( |
| ) |
[protected, virtual] |
virtual void xmlpp::DomParser::parse_file |
( |
const std::string & |
filename | ) |
[virtual] |
Parse an XML document from a file.
- Exceptions:
-
- Parameters:
-
filename | The path to the file. |
Implements xmlpp::Parser.
virtual void xmlpp::DomParser::parse_memory |
( |
const std::string & |
contents | ) |
[virtual] |
Parse an XML document from a string.
- Exceptions:
-
- Parameters:
-
contents | The XML document as a string. |
Implements xmlpp::Parser.
virtual void xmlpp::DomParser::parse_stream |
( |
std::istream & |
in | ) |
[virtual] |
Parse an XML document from a stream.
- Exceptions:
-
- Parameters:
-
Implements xmlpp::Parser.
virtual void xmlpp::DomParser::release_underlying |
( |
| ) |
[protected, virtual] |
Member Data Documentation
The documentation for this class was generated from the following file: