34 #ifndef GRAPH_TREE_TPARSER_SHFJ_H
35 #define GRAPH_TREE_TPARSER_SHFJ_H
41 #include <soma-io/reader/areader.h>
69 const HelperSet& helpers = HelperSet() );
78 const HelperSet& helpers = HelperSet() );
86 const HelperSet& helpers = HelperSet() );
Abstract base class for visiting Trees.
To read a Tree from a file.
virtual Tree * readSubTree()
virtual Tree * read()
creates and reads a tree
TreeParser_shfj(const TreeFactory &factory, const std::string &filename, const SyntaxSet &syntax, const HelperSet &helpers=HelperSet())
configure the parametres
virtual ~TreeParser_shfj()
clean up
virtual rc_ptr< DataSource > dataSource()
virtual void read(Tree &)
virtual void attach(rc_ptr< DataSource > ds)
TreeParser_shfj(const SyntaxSet &syntax, const HelperSet &helpers=HelperSet())
configure the parameters
TreeParser_shfj(const TreeFactory &factory, const SyntaxSet &syntax, const HelperSet &helpers=HelperSet())
configure the parametres
TreeFactory * _factory
Nodes builder.
virtual void readTree(Tree *tree)
read a Tree attributes from a file
Tree * _topTree
Remind the top-level tree.
virtual void visitTree(Tree *tree)
read a Tree from a file
std::map< std::string, Syntax > SyntaxSet