To write an Tree to a file.
More...
#include <graph/tree/twriter.h>
To write an Tree to a file.
Definition at line 55 of file twriter.h.
◆ TreeWriter() [1/2]
TreeWriter::TreeWriter |
( |
const std::string & |
filename, |
|
|
const carto::SyntaxSet & |
syntax, |
|
|
const HelperSet & |
helpers = HelperSet() |
|
) |
| |
configure the parametres
- Parameters
-
filename | name of the file to write into |
syntax | syntactic attribute / rules pairs |
helpers | alternate/specialized IO routines |
◆ TreeWriter() [2/2]
TreeWriter::TreeWriter |
( |
const carto::SyntaxSet & |
syntax, |
|
|
const HelperSet & |
helpers = HelperSet() |
|
) |
| |
◆ ~TreeWriter()
virtual TreeWriter::~TreeWriter |
( |
| ) |
|
|
virtual |
◆ visitTree()
virtual void TreeWriter::visitTree |
( |
const Tree * |
tree | ) |
|
|
virtual |
◆ writeTree()
virtual void TreeWriter::writeTree |
( |
const Tree * |
node, |
|
|
const std::string & |
type |
|
) |
| |
|
protectedvirtual |
The documentation for this class was generated from the following file: