DGtal  1.5.beta
CSignedNumber.h
1 
17 #pragma once
18 
33 #if defined(CSignedNumber_RECURSES)
34 #error Recursive header files inclusion detected in CSignedNumber.h
35 #else // defined(CSignedNumber_RECURSES)
37 #define CSignedNumber_RECURSES
38 
39 #if !defined CSignedNumber_h
41 #define CSignedNumber_h
42 
44 // Inclusions
45 #include <iostream>
46 #include "DGtal/base/Common.h"
47 #include "DGtal/base/ConceptUtils.h"
48 #include "DGtal/kernel/NumberTraits.h"
49 #include "DGtal/base/CQuantity.h"
51 
52 namespace DGtal
53 {
54  namespace concepts
55  {
57  // class CSignedNumber
96  template <typename T>
98  {
99  // ----------------------- Concept checks ------------------------------
100  public:
102  {
103  // Will compile iff Signed.
105  }
106 
107  // ------------------------- Private Datas --------------------------------
108  private:
109 
110  // ------------------------- Internals ------------------------------------
111  private:
113 
114  }; // end of concept CSignedNumber
115  }
116 } // namespace DGtal
117 
118 
119 // //
121 
122 #endif // !defined CSignedNumber_h
123 
124 #undef CSignedNumber_RECURSES
125 #endif // else defined(CSignedNumber_RECURSES)
void checkTrue(const TagTrue &tag)
DGtal is the top-level namespace which contains all DGtal functions and types.
Aim: defines the concept of quantity in DGtal.
Definition: CQuantity.h:93
Aim: Concept checking for Signed Numbers. Models of this concept should be listed in NumberTraits cla...
Definition: CSignedNumber.h:98
NumberTraits< T >::IsSigned myIsSigned