graph
5.0.5
Graph: generic attributed relational graphs
|
Default abstract factory for graphs. More...
#include <graph/graph/gfactory.h>
Public Types | |
typedef carto::GenericObject *(* | Generator) (const std::string &) |
Public Types inherited from carto::RCObject | |
typedef int | RefCounterType |
Public Member Functions | |
GraphFactory () | |
virtual | ~GraphFactory () |
Public Member Functions inherited from carto::RCObject | |
RCObject () | |
RCObject (const RCObject &) | |
RCObject & | operator= (const RCObject &) |
virtual | ~RCObject () |
Static Public Member Functions | |
static void | registerGenerator (const std::string &syntax, Generator f) |
static void | unregisterGenerator (const std::string &syntax) |
Protected Member Functions | |
Factory methods | |
virtual Vertex * | makeVertex (const std::string &s) |
Create a Vertex. More... | |
virtual UEdge * | makeUEdge (const std::string &s) |
Create an unitialized UEdge - without vertices. More... | |
virtual DEdge * | makeDEdge (const std::string &s) |
Create an unitialized DEdge - without vertices. More... | |
Friends | |
Friends | |
class | Graph |
export makeVertex, makeUEdge and makeDEdge More... | |
Default abstract factory for graphs.
The Abstract Factory pattern can be found in:
Definition at line 71 of file gfactory.h.
typedef carto::GenericObject*(* GraphFactory::Generator) (const std::string &) |
Definition at line 78 of file gfactory.h.
GraphFactory::GraphFactory | ( | ) |
|
virtual |
|
protectedvirtual |
Create an unitialized DEdge - without vertices.
|
protectedvirtual |
Create an unitialized UEdge - without vertices.
|
static |
|
static |
|
friend |
export makeVertex, makeUEdge and makeDEdge
Definition at line 112 of file gfactory.h.