34 #ifndef GRAPH_GRAPH_GPARSER_SHFJ_H
35 #define GRAPH_GRAPH_GPARSER_SHFJ_H
39 #include <soma-io/reader/areader.h>
44 :
public GraphParser,
public carto::AttributedReader
52 const HelperSet& helpers = HelperSet());
61 virtual std::string
name()
const;
84 void readVertex(
Graph& graph);
85 void readUEdge(
Graph& graph);
86 void readDEdge(
Graph& graph);
91 std::map<int,Vertex*> _serializer;
GraphParser_shfj(const carto::SyntaxSet &syntax, const HelperSet &helpers=HelperSet())
configure the parametres
virtual int read(Graph &graph)
read a Graph attributes from a file
virtual void attach(carto::rc_ptr< carto::DataSource > ds)
virtual ~GraphParser_shfj()
virtual std::string name() const
virtual carto::rc_ptr< carto::DataSource > dataSource()
The base class for graphs.
Vertices are created and managed by Graphs.
std::map< std::string, Syntax > SyntaxSet