34 #ifndef GRAPH_GRAPH_GFACTORY_H
35 #define GRAPH_GRAPH_GFACTORY_H
127 static std::map<std::string, Generator> & _generators();
Default abstract factory for graphs.
virtual UEdge * makeUEdge(const std::string &s)
Create an unitialized UEdge - without vertices.
virtual DEdge * makeDEdge(const std::string &s)
Create an unitialized DEdge - without vertices.
carto::GenericObject *(* Generator)(const std::string &)
static void registerGenerator(const std::string &syntax, Generator f)
static void unregisterGenerator(const std::string &syntax)
virtual Vertex * makeVertex(const std::string &s)
Create a Vertex.
The base class for graphs.
Vertices are created and managed by Graphs.