The XmlSquirrel class is derived from the TreeVisitor class. An object of this class is used to perform some kind of action while iterating a joint tree. The function visit is called whenever a joint/leaf is reached. In this visit function a node of the internal xml document is added. This object converts all leaf information to a xml structure.
More...
#include <ParserXpressiveXml.h>
The XmlSquirrel class is derived from the TreeVisitor class. An object of this class is used to perform some kind of action while iterating a joint tree. The function visit is called whenever a joint/leaf is reached. In this visit function a node of the internal xml document is added. This object converts all leaf information to a xml structure.
- Author
- Juergen Berwein, Florian Briegel
- Version
- Date
- 2010-10-26 01:01:09 PM
◆ XmlSquirrel()
Nice::XmlSquirrel::XmlSquirrel |
( |
std::ostream & |
_s | ) |
|
◆ ~XmlSquirrel()
Nice::XmlSquirrel::~XmlSquirrel |
( |
| ) |
|
|
virtual |
◆ operator()()
Function is called each time a leaf is visited.
The XML string document m_data is created from each leaf joint.
- Returns
- True, if the walkTree/walkLeaf has to be visited multiple times (see documentation of Nice::Joint).
Implements Nice::Squirrel.
◆ m_depth
int Nice::XmlSquirrel::m_depth |
|
private |
◆ m_last
◆ m_s
std::ostream& Nice::XmlSquirrel::m_s |
|
private |
The documentation for this class was generated from the following files: