DGtal  1.2.0
CIntegralNumber.h
1 
17 #pragma once
18 
33 #if defined(CIntegralNumber_RECURSES)
34 #error Recursive header files inclusion detected in CIntegralNumber.h
35 #else // defined(CIntegralNumber_RECURSES)
37 #define CIntegralNumber_RECURSES
38 
39 #if !defined CIntegralNumber_h
41 #define CIntegralNumber_h
42 
44 // Inclusions
45 #include <iostream>
46 #include "boost/concept_check.hpp"
47 #include "DGtal/base/Common.h"
48 #include "DGtal/base/ConceptUtils.h"
49 #include "DGtal/kernel/NumberTraits.h"
50 #include "DGtal/base/CQuantity.h"
52 
53 namespace DGtal
54 {
55  namespace concepts
56  {
58  // class CIntegralNumber
100  template <typename T>
102  {
103  // ----------------------- Concept checks ------------------------------
104  public:
106  {
107  // Will compile iff Integral.
109  }
110 
111  // ------------------------- Internals ------------------------------------
112  private:
114 
115  }; // end of concept CIntegralNumber
116  }
117 } // namespace DGtal
118 
119 
120 // //
122 
123 #endif // !defined CIntegralNumber_h
124 
125 #undef CIntegralNumber_RECURSES
126 #endif // else defined(CIntegralNumber_RECURSES)
void checkTrue(const TagTrue &tag)
DGtal is the top-level namespace which contains all DGtal functions and types.
Aim: Concept checking for Integral Numbers. Models of this concept should be listed in NumberTraits c...
NumberTraits< T >::IsIntegral myIsIntegral
Aim: defines the concept of quantity in DGtal.
Definition: CQuantity.h:93