12#ifndef SI_GRAPH_EXOTICTREEREADER_H
13#define SI_GRAPH_EXOTICTREEREADER_H
16#include <cartobase/object/attributed.h>
19#include <graph/tree/tree.h>
37 const carto::AttributedReader::HelperSet& helpers
38 = carto::AttributedReader::HelperSet());
40 const carto::AttributedReader::HelperSet& helpers
41 = carto::AttributedReader::HelperSet());
43 const std::string & filename,
45 const carto::AttributedReader::HelperSet& helpers
46 = carto::AttributedReader::HelperSet());
49 const carto::AttributedReader::HelperSet& helpers
50 = carto::AttributedReader::HelperSet());
69 { t.
accept( er );
return( er ); }
TreeReader(const std::string &filename, const carto::SyntaxSet &syntax, const carto::AttributedReader::HelperSet &helpers=carto::AttributedReader::HelperSet())
virtual void accept(TreeVisitor &visitor)
Classe ExoticTreeReader : classe de base de lecture d'arbres "exotiques".
virtual void parse(Tree *go)
virtual Tree * read()
Crée l'arbre et le lit.
virtual ~ExoticTreeReader()
static carto::SyntaxSet initSyntax(const std::string &filename)
ExoticTreeReader(const TreeFactory &factory, const carto::SyntaxSet &attr, const carto::AttributedReader::HelperSet &helpers=carto::AttributedReader::HelperSet())
ExoticTreeReader(const TreeFactory &factory, const std::string &filename, const carto::SyntaxSet &attr, const carto::AttributedReader::HelperSet &helpers=carto::AttributedReader::HelperSet())
virtual void readTree(Tree *t)
ExoticTreeReader(const carto::SyntaxSet &attr, const carto::AttributedReader::HelperSet &helpers=carto::AttributedReader::HelperSet())
virtual void parse(carto::AttributedObject *)
ExoticTreeReader(const std::string &filename, const carto::SyntaxSet &attr, const carto::AttributedReader::HelperSet &helpers=carto::AttributedReader::HelperSet())
SyntaxedObject< PropertySet > AttributedObject
std::map< std::string, Syntax > SyntaxSet
ExoticTreeReader & operator>>(ExoticTreeReader &er, Tree &t)