C++ main module for gpm Package  1.0
GPM_Snow3DFunction.h
Go to the documentation of this file.
1 #ifndef GPM_Snow3DFunction_H
2 #define GPM_Snow3DFunction_H
3 
4 #include "GPM_PatternFunction.h"
5 
6 
8 
16 
18  SP_OBJECT(GPM_Snow3DFunction);
19 
20 
21 private:
22  // ATTRIBUTES
23  // ASSOCIATIONS
24 
25 
26 protected:
27  // METHODS
28 
29  // CONSTRUCTORS
30 
32  GPM_Snow3DFunction(void);
33 
34 
35 
36  // DESTRUCTORS
37 
38 
41  virtual ~GPM_Snow3DFunction(void);
42 
43 
44 public:
45 
46  // NEW methods
47 
50  static inline SP::GPM_Snow3DFunction New() {
51  SP::GPM_Snow3DFunction p(new GPM_Snow3DFunction(),
53  p->setThis(p);
54  return p;
55  }
56 
57  // SET & GET methods
58 
59 
60 protected:
61 
65  const vector<tVertexIID>& mappingP2L,
66  const map<tVertexIID,tVertexIID>& mappingT2L,CORE_Out& io);
69  virtual tBoolean updatePatternGraphStates(GPM_Graph& largeGraph,
70  const vector<tVertexIID>& mappingP2L,CORE_Out& io);
71 
74  virtual tBoolean updatePTEdgesStates(SP::GPM_Edge PTedge,SP::GPM_Edge ledge,
75  GPM_Graph& largeGraph,
76  const vector<tVertexIID>& mappingP2L,
77  const map<tVertexIID,tVertexIID>& mappingT2L,
78  CORE_Out& io){return true;};
79 
80 
81 };
82 
83 #endif
static SP::GPM_Snow3DFunction New()
create a port
Definition: GPM_Snow3DFunction.h:50
virtual ~GPM_Snow3DFunction(void)
destroy an object.
Definition: GPM_Snow3DFunction.cpp:13
DEFINE_SVPTR(GPM_Snow3DFunction)
GPM_Snow3DFunction(void)
create an object
Definition: GPM_Snow3DFunction.cpp:7
This class describes a patten function.
Definition: GPM_Snow3DFunction.h:17
#define tBoolean
Definition: types.h:35
DEFINE_SPTR(GPM_Graph)
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_Snow3DFunction.cpp:37
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_Snow3DFunction.h:74
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_Snow3DFunction.cpp:18
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
class Free introduced for deleting a smart pointer
Definition: CORE_Object.h:106