DGtal 1.3.0
Loading...
Searching...
No Matches
CUnsignedNumber.h
1
17#pragma once
18
33#if defined(CUnsignedNumber_RECURSES)
34#error Recursive header files inclusion detected in CUnsignedNumber.h
35#else // defined(CUnsignedNumber_RECURSES)
37#define CUnsignedNumber_RECURSES
38
39#if !defined CUnsignedNumber_h
41#define CUnsignedNumber_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
52namespace DGtal
53{
54 namespace concepts
55 {
57 // class CUnsignedNumber
93 template <typename T>
95 {
96 // ----------------------- Concept checks ------------------------------
97 public:
99 {
100 // Will compile iff Unsigned.
102 }
103
104 // ------------------------- Private Datas --------------------------------
105 private:
106
107 // ------------------------- Internals ------------------------------------
108 private:
110
111 }; // end of concept CUnsignedNumber
112}
113} // namespace DGtal
114
115 //
117
118#endif // !defined CUnsignedNumber_h
119
120#undef CUnsignedNumber_RECURSES
121#endif // else defined(CUnsignedNumber_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 Unsigned numbers. Models of this concept should be listed in NumberTraits c...
NumberTraits< T >::IsUnsigned myIsUnsigned