DGtal  0.6.devel
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
CVertexPredicate.h
1 
17 #pragma once
18 
31 #if defined(CVertexPredicate_RECURSES)
32 #error Recursive header files inclusion detected in CVertexPredicate.h
33 #else // defined(CVertexPredicate_RECURSES)
34 
35 #define CVertexPredicate_RECURSES
36 
37 #if !defined CVertexPredicate_h
38 
39 #define CVertexPredicate_h
40 
42 // Inclusions
43 #include <iostream>
44 #include "DGtal/base/Common.h"
45 #include "DGtal/base/CPredicate.h"
47 
48 namespace DGtal
49 {
50 
52  // class CVertexPredicate
73  template <typename T>
74  struct CVertexPredicate : CPredicate< T, typename T::Vertex>
75  {
76  }; // end of concept CVertexPredicate
77 
78 } // namespace DGtal
79 
80 // //
82 
83 #endif // !defined CVertexPredicate_h
84 
85 #undef CVertexPredicate_RECURSES
86 #endif // else defined(CVertexPredicate_RECURSES)