DGtal 1.3.0
Loading...
Searching...
No Matches
CCellFunctor.h
1
17#pragma once
18
33#if defined(CCellFunctor_RECURSES)
34#error Recursive header files inclusion detected in CCellFunctor.h
35#else // defined(CCellFunctor_RECURSES)
37#define CCellFunctor_RECURSES
38
39#if !defined CCellFunctor_h
41#define CCellFunctor_h
42
44// Inclusions
45#include <iostream>
46#include "DGtal/base/Common.h"
47#include "DGtal/base/CUnaryFunctor.h"
49
50// @since 0.8 In DGtal::concepts (and in DGtal/topology)
51namespace DGtal {
52 namespace concepts {
53
55 // class CCellFunctor
88 template <typename T>
90 {
91 // ----------------------- Concept checks ------------------------------
92 public:
93 typedef typename T::Cell Cell;
94 typedef typename T::Quantity Quantity;
95
97
99 {
101 }
103 {
104 }
105
106 // ------------------------- Private Datas --------------------------------
107 private:
108 // ------------------------- Internals ------------------------------------
109 private:
111 }; // end of concept CCellFunctor
112 }
113} // namespace DGtal
114
115// //
117
118#endif // !defined CCellFunctor_h
119
120#undef CCellFunctor_RECURSES
121#endif // else defined(CCellFunctor_RECURSES)
DGtal is the top-level namespace which contains all DGtal functions and types.
Aim: Defines a functor on cells.
Definition: CCellFunctor.h:90
void check_const_constraints() const
Definition: CCellFunctor.h:102
BOOST_CONCEPT_ASSERT((CUnaryFunctor< T, Cell, Quantity >))
BOOST_CONCEPT_USAGE(CCellFunctor)
Definition: CCellFunctor.h:98
Aim: Defines a unary functor, which associates arguments to results.
Definition: CUnaryFunctor.h:90