34#ifndef GRAPH_TREE_TREADER_H
35#define GRAPH_TREE_TREADER_H
41#include <soma-io/reader/areader.h>
65 const carto::AttributedReader::HelperSet& helpers
66 = carto::AttributedReader::HelperSet() );
68 const carto::AttributedReader::HelperSet& helpers
69 = carto::AttributedReader::HelperSet() );
72 const carto::AttributedReader::HelperSet& helpers
73 = carto::AttributedReader::HelperSet() );
80 const carto::AttributedReader::HelperSet& helpers
81 = carto::AttributedReader::HelperSet() );
114 carto::AttributedReader::HelperSet _helpers;
117 std::list<carto::TreeParser *> _parsers;
#define __deprecated__(msg)
To read a Tree from a file.
const carto::SyntaxSet & syntaxSet() const
TreeReader(const TreeFactory &factory, const std::string &filename, const carto::SyntaxSet &syntax, const carto::AttributedReader::HelperSet &helpers=carto::AttributedReader::HelperSet())
virtual void readTree(Tree *) __attribute__((__deprecated__("OBSOLETE
void open(const std::string &filename) __attribute__((__deprecated__("use attach() instead")))
TreeReader(const carto::SyntaxSet &syntax, const carto::AttributedReader::HelperSet &helpers=carto::AttributedReader::HelperSet())
void setSyntax(const carto::SyntaxSet &syntax)
const carto::rc_ptr< carto::DataSource > dataSource() const
void attach(std::istream &s, int line_num=1)
std::list< carto::TreeParser * > & parsers()
virtual std::string name() const
TreeReader(const std::string &filename, const carto::SyntaxSet &syntax, const carto::AttributedReader::HelperSet &helpers=carto::AttributedReader::HelperSet())
TreeReader(const TreeFactory &factory, const carto::SyntaxSet &syntax, const carto::AttributedReader::HelperSet &helpers=carto::AttributedReader::HelperSet())
configure the parametres
virtual void read(Tree &)
std::map< std::string, Syntax > SyntaxSet
GRAPH_API TreeReader & operator>>(TreeReader &reader, Tree &tree)
?