34 #ifndef GRAPH_GRAPH_GPARSER_PYTHON_H
35 #define GRAPH_GRAPH_GPARSER_PYTHON_H
39 #include <soma-io/reader/pythonreader.h>
52 const HelperSet & helpers
57 using PythonReader::read;
The base class for graphs.
Vertices are created and managed by Graphs.
GraphParser_Python(const SyntaxSet &syntax, const HelperSet &helpers=GraphParser_Python::defaultHelperSet())
void addSyntax(const carto::SyntaxSet &s)
static const carto::SyntaxSet & defaultSyntax()
std::map< std::string, Vertex * > _vertextable
static const HelperSet & defaultHelperSet()
virtual ~GraphParser_Python()
virtual int read(Tree &tree)
virtual void attach(carto::rc_ptr< carto::DataSource > ds)
virtual int read(Graph &graph)
virtual void detach()
detaches the stream (forgets it without closing it)
virtual carto::rc_ptr< carto::DataSource > dataSource()
std::map< std::string, Syntax > SyntaxSet