34 #ifndef GRAPH_GRAPH_GPARSER_H 35 #define GRAPH_GRAPH_GPARSER_H 38 #include <soma-io/datasource/datasource.h> 49 virtual int read(
Graph& graph) = 0;
52 virtual void detach();
56 return const_cast<GraphParser*
>(
this)->dataSource();
58 virtual std::string name()
const;
The base class for graphs.
carto::const_ref< carto::DataSource > dataSource() const
carto::rc_ptr< carto::DataSource > _datasource