C++ main module for gpm Package  1.0
GPM_Snow2DFunction.h
Go to the documentation of this file.
1 #ifndef GPM_Snow2DFunction_H
2 #define GPM_Snow2DFunction_H
3 
4 #include "GPM_PatternFunction.h"
5 
6 
8 
16 
18  SP_OBJECT(GPM_Snow2DFunction);
19 
20 
21 private:
22  // ATTRIBUTES
23  // ASSOCIATIONS
24 
25 
26 
27 protected:
28  // METHODS
29 
30  // CONSTRUCTORS
31 
33  GPM_Snow2DFunction(void);
34 
35 
36 
37  // DESTRUCTORS
38 
39 
42  virtual ~GPM_Snow2DFunction(void);
43 
44 
45 public:
46 
47  // NEW methods
48 
51  static inline SP::GPM_Snow2DFunction New() {
52  SP::GPM_Snow2DFunction p(new GPM_Snow2DFunction(),
54  p->setThis(p);
55  return p;
56  }
57 
58  // SET & GET methods
59 
60 
61 protected:
62 
66  const vector<tVertexIID>& mappingP2L,
67  const map<tVertexIID,tVertexIID>& mappingT2L,CORE_Out& io);
68 
71  virtual tBoolean updatePatternGraphStates(GPM_Graph& largeGraph,
72  const vector<tVertexIID>& mappingP2L,CORE_Out& io);
73 
74 
77  virtual tBoolean updatePTEdgesStates(SP::GPM_Edge PTedge,SP::GPM_Edge ledge,
78  GPM_Graph& largeGraph,
79  const vector<tVertexIID>& mappingP2L,
80  const map<tVertexIID,tVertexIID>& mappingT2L,
81  CORE_Out& io){return true;};
82 };
83 
84 #endif
virtual tBoolean updateTransformerGraphStates(GPM_Graph &largeGraph, const vector< tVertexIID > &mappingP2L, const map< tVertexIID, tVertexIID > &mappingT2L, CORE_Out &io)
update the states of the transformed graph copied in the large graph
Definition: GPM_Snow2DFunction.cpp:17
virtual tBoolean updatePTEdgesStates(SP::GPM_Edge PTedge, SP::GPM_Edge ledge, GPM_Graph &largeGraph, const vector< tVertexIID > &mappingP2L, const map< tVertexIID, tVertexIID > &mappingT2L, CORE_Out &io)
update the states of edges betwen pattern & transform graph
Definition: GPM_Snow2DFunction.h:77
DEFINE_SVPTR(GPM_Snow2DFunction)
#define tBoolean
Definition: types.h:35
GPM_Snow2DFunction(void)
create an object
Definition: GPM_Snow2DFunction.cpp:7
This class describes a patten function.
Definition: GPM_Snow2DFunction.h:17
DEFINE_SPTR(GPM_Graph)
static SP::GPM_Snow2DFunction New()
create a port
Definition: GPM_Snow2DFunction.h:51
virtual tBoolean updatePatternGraphStates(GPM_Graph &largeGraph, const vector< tVertexIID > &mappingP2L, CORE_Out &io)
update the states of the transformed graph copied in the large graph
Definition: GPM_Snow2DFunction.cpp:94
This class describes a patten function.
Definition: GPM_PatternFunction.h:20
this class describes the output by default write on standart output
Definition: CORE_Out.h:21
This class describes a graph which is a list of nodes & ports.
Definition: GPM_Graph.h:19
virtual ~GPM_Snow2DFunction(void)
destroy an object.
Definition: GPM_Snow2DFunction.cpp:13
class Free introduced for deleting a smart pointer
Definition: CORE_Object.h:106