To read a Tree from a file.
More...
#include <graph/tree/tparser_shfj.h>
To read a Tree from a file.
Definition at line 60 of file tparser_shfj.h.
◆ TreeParser_shfj() [1/3]
carto::TreeParser_shfj::TreeParser_shfj |
( |
const SyntaxSet & |
syntax, |
|
|
const HelperSet & |
helpers = HelperSet() |
|
) |
| |
configure the parameters
- Parameters
-
◆ TreeParser_shfj() [2/3]
carto::TreeParser_shfj::TreeParser_shfj |
( |
const TreeFactory & |
factory, |
|
|
const std::string & |
filename, |
|
|
const SyntaxSet & |
syntax, |
|
|
const HelperSet & |
helpers = HelperSet() |
|
) |
| |
configure the parametres
- Parameters
-
factory | factory used to build the tree nodes |
filename | name of the file to read from |
syntax | |
helpers | |
◆ TreeParser_shfj() [3/3]
carto::TreeParser_shfj::TreeParser_shfj |
( |
const TreeFactory & |
factory, |
|
|
const SyntaxSet & |
syntax, |
|
|
const HelperSet & |
helpers = HelperSet() |
|
) |
| |
configure the parametres
- Parameters
-
factory | factory used to build the tree nodes |
syntax | |
helpers | |
◆ ~TreeParser_shfj()
virtual carto::TreeParser_shfj::~TreeParser_shfj |
( |
| ) |
|
|
virtual |
◆ attach()
virtual void carto::TreeParser_shfj::attach |
( |
rc_ptr< DataSource > |
ds | ) |
|
|
virtual |
◆ close()
virtual void carto::TreeParser_shfj::close |
( |
| ) |
|
|
virtual |
◆ dataSource()
virtual rc_ptr<DataSource> carto::TreeParser_shfj::dataSource |
( |
| ) |
|
|
virtual |
◆ detach()
virtual void carto::TreeParser_shfj::detach |
( |
| ) |
|
|
virtual |
◆ name()
std::string carto::TreeParser_shfj::name |
( |
| ) |
const |
|
virtual |
◆ read() [1/2]
virtual Tree* carto::TreeParser_shfj::read |
( |
| ) |
|
|
virtual |
◆ read() [2/2]
virtual void carto::TreeParser_shfj::read |
( |
Tree & |
| ) |
|
|
virtual |
◆ readSubTree()
virtual Tree* carto::TreeParser_shfj::readSubTree |
( |
| ) |
|
|
protectedvirtual |
◆ readTree()
virtual void carto::TreeParser_shfj::readTree |
( |
Tree * |
tree | ) |
|
|
protectedvirtual |
read a Tree attributes from a file
- Parameters
-
◆ visitTree()
virtual void carto::TreeParser_shfj::visitTree |
( |
Tree * |
tree | ) |
|
|
virtual |
◆ _factory
◆ _topTree
Tree* carto::TreeParser_shfj::_topTree |
|
protected |
The documentation for this class was generated from the following file: