1 #ifndef GPM_ModelGraph_H
2 #define GPM_ModelGraph_H
56 inline static SP::GPM_ModelGraph
New() {
87 virtual SP::GPM_Edge
newEdge(
const int&
id)
const {
93 virtual SP::GPM_Edge
newEdge(SP::GPM_Vertex source,SP::GPM_Vertex target)
const {
115 const vector<vector<vector<tVertexIID> > >& fmappings)
const;
void clearRules()
clear rules
Definition: GPM_ModelGraph.cpp:49
virtual SP::GPM_Port newPort() const
create a port
Definition: GPM_ModelGraph.h:77
virtual ~GPM_ModelGraph(void)
destroy
Definition: GPM_ModelGraph.cpp:12
This class describes a model graph.
Definition: GPM_ModelGraph.h:21
virtual SP::GPM_Edge newEdge(SP::GPM_Vertex source, SP::GPM_Vertex target) const
create a node
Definition: GPM_ModelGraph.h:93
virtual SP::GPM_Edge newEdge(const int &id) const
create a node
Definition: GPM_ModelGraph.h:87
static SP::GPM_ModelPort New()
create a test class
Definition: GPM_ModelPort.h:54
#define tBoolean
Definition: types.h:35
void updateRules(const GPM_ModelClassFactory &cf)
update rules
Definition: GPM_ModelGraph.cpp:25
tBoolean orderTriggerRules()
Definition: GPM_ModelGraph.cpp:103
int getRulesNumber() const
get the rules number
Definition: GPM_ModelGraph.cpp:75
virtual void toDoAfterThisSetting()
method called after this setting
Definition: GPM_ModelGraph.h:64
This class is the class to save GPM classes.
Definition: GPM_ModelClassFactory.h:16
GPM_ModelGraph(void)
create
Definition: GPM_ModelGraph.cpp:8
DEFINE_SPTR(GPM_ModelGraph)
virtual SP::GPM_Node newNode() const
create a node
Definition: GPM_ModelGraph.h:72
This class describes a graph which is a list of vertices, ports & edges.
Definition: GPM_PortGraph.h:22
virtual SP::GPM_Edge newEdge() const
create a edge
Definition: GPM_ModelGraph.h:82
virtual void patternsMappingSignalEmit(const SVC::GPM_PatternFunction patternFunction, const vector< vector< vector< tVertexIID > > > &fmappings) const
signal emmiting when the matching of patterns is done
Definition: GPM_ModelGraph.cpp:18
static SP::GPM_ModelEdge New()
create an edge
Definition: GPM_ModelEdge.h:68
virtual void toDoAfterThisSetting()
method called after setThis() method this method can oly be called once.
Definition: CORE_Object.h:188
static SP::GPM_ModelNode New()
create a test class
Definition: GPM_ModelNode.h:52
static SP::GPM_ModelGraph New()
create a test class
Definition: GPM_ModelGraph.h:56
class Free introduced for deleting a smart pointer
Definition: CORE_Object.h:106