DGtal  1.5.beta
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)
35 #define CVertexPredicate_RECURSES
36 
37 #if !defined CVertexPredicate_h
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  namespace concepts {
50 
52  // class CVertexPredicate
72  template <typename T>
73  struct CVertexPredicate : CPredicate< T, typename T::Vertex>
74  {
75  }; // end of concept CVertexPredicate
76 
77 } // namespace concepts
78 } // namespace DGtal
79 
80 // //
82 
83 #endif // !defined CVertexPredicate_h
84 
85 #undef CVertexPredicate_RECURSES
86 #endif // else defined(CVertexPredicate_RECURSES)
DGtal is the top-level namespace which contains all DGtal functions and types.
Aim: Defines a predicate function, ie. a functor mapping a domain into the set of booleans.
Definition: CPredicate.h:94
Aim: Defines a predicate on a vertex.