a DOMParser implementation based on the Boost xml parser in propertytree
More...
#include <BoostXMLParser.hpp>
Inherits DOMParser.
a DOMParser implementation based on the Boost xml parser in propertytree
◆ getRootElement()
get the top/root element in the DOM structure
- Returns
- root element of dom structure
Implements DOMParser.
◆ isDebug()
Get status of debugging.
- Returns
- true if enabled, false if disabled.
◆ load() [1/2]
void load |
( |
const std::string & |
filename | ) |
|
|
virtual |
parse from file
- Parameters
-
filename | [in] name of file |
Implements DOMParser.
◆ load() [2/2]
void load |
( |
std::istream & |
input | ) |
|
|
virtual |
parse from stream
- Parameters
-
Implements DOMParser.
◆ save() [1/2]
void save |
( |
const std::string & |
filename | ) |
|
|
virtual |
save DOM structure to file
- Parameters
-
Implements DOMParser.
◆ save() [2/2]
void save |
( |
std::ostream & |
input | ) |
|
|
virtual |
save DOM structure to stream
- Parameters
-
Implements DOMParser.
◆ setDebug()
void setDebug |
( |
bool |
debug | ) |
|
|
inlinevirtual |
Enable/disable debugging to the debug Log.
- Parameters
-
debug | [in] true to enable debug output. |
Implements DOMParser.
The documentation for this class was generated from the following file: