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() );
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 Tree * read()
creates and reads a tree
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
virtual rc_ptr< DataSource > dataSource()
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
virtual Tree * readSubTree()
std::map< std::string, Syntax > SyntaxSet