C++ main module for gpm Package  1.0
GPM_BGLTest.h
Go to the documentation of this file.
1 #ifndef GPM_BGLTest_H
2 #define GPM_BGLTest_H
3 
4 #include "GPM_CoreTest.h"
5 
14 class GPM_BGLTest : public virtual GPM_CoreTest {
15 
16  SP_OBJECT(GPM_BGLTest);
17  // ATTRIBUTES
18 
19 public:
20 
21 
22  static const tFlag SUB_GRAPH_ISO;
23  static const tFlag SUB_GRAPH_ISO_MULTI;
24  static const tFlag ISOMORPHISM;
25 
26 protected:
27  // METHODS
28 
29  // CONSTRUCTORS
30 
33  GPM_BGLTest(void);
34 
35 
36 
37  // DESTRUCTORS
38 
39 
42  virtual ~GPM_BGLTest(void);
43 
44 
45 
46 public:
49  inline static SP::GPM_BGLTest New() {
50  SP::GPM_BGLTest p(new GPM_BGLTest(),GPM_BGLTest::Delete());
51  p->setThis(p);
52  return p;
53  };
54 
55 
56 
59  virtual tBoolean test(const tFlag& testNumber);
62  virtual tBoolean test() {
63  return GPM_CoreTest::test();
64  }
65 
66 
67 private:
68 
69  // boost examples
70  tBoolean vf2_sub_graph_iso_multi_example() const;
71  tBoolean vf2_sub_graph_iso_multi2_example() const;
72  tBoolean vf2_sub_graph_iso_multi3_example() const;
73  tBoolean vf2_sub_graph_iso_example() const;
74  tBoolean isomorphism_example() const;
75 };
76 
77 #endif
This class is a test class for gpm in core package.
Definition: GPM_BGLTest.h:14
DEFINE_SPTR(GPM_BGLTest)
virtual ~GPM_BGLTest(void)
destroy
Definition: GPM_BGLTest.cpp:54
GPM_BGLTest(void)
create
Definition: GPM_BGLTest.cpp:50
static const tFlag SUB_GRAPH_ISO
Definition: GPM_BGLTest.h:22
#define tBoolean
Definition: types.h:35
This class is a test class for gpm in core package.
Definition: GPM_CoreTest.h:14
static SP::GPM_BGLTest New()
create a test class
Definition: GPM_BGLTest.h:49
tBoolean test()
make the test
Definition: GPM_CoreTest.cpp:29
virtual tBoolean test()
make the test
Definition: GPM_BGLTest.h:62
static const tFlag ISOMORPHISM
Definition: GPM_BGLTest.h:24
static const tFlag SUB_GRAPH_ISO_MULTI
Definition: GPM_BGLTest.h:23
class Free introduced for deleting a smart pointer
Definition: CORE_Object.h:106
#define tFlag
Definition: types.h:14