DGtal
1.1.0
src
DGtal
kernel
CInteger.h
1
17
#pragma once
18
33
#if defined(CInteger_RECURSES)
34
#error Recursive header files inclusion detected in CInteger.h
35
#else // defined(CInteger_RECURSES)
36
37
#define CInteger_RECURSES
38
39
#if !defined CInteger_h
40
41
#define CInteger_h
42
44
// Inclusions
45
#include <iostream>
46
#include "DGtal/base/Common.h"
47
#include "DGtal/base/ConceptUtils.h"
48
#include "DGtal/kernel/CEuclideanRing.h"
49
#include "DGtal/kernel/CIntegralNumber.h"
50
#include "DGtal/kernel/NumberTraits.h"
52
53
namespace
DGtal
54
{
55
namespace
concepts
56
{
58
// class CInteger
86
template
<
typename
T>
87
struct
CInteger
:
CEuclideanRing
<T>,
CIntegralNumber
<T>
88
{
89
90
91
};
// end of concept CInteger
92
}
93
}
// namespace DGtal
94
95
96
// //
98
99
#endif // !defined CInteger_h
100
101
#undef CInteger_RECURSES
102
#endif // else defined(CInteger_RECURSES)
DGtal::concepts::CInteger
Aim: Concept checking for Integer Numbers. More precisely, this concept is a refinement of both CEucl...
Definition:
CInteger.h:88
DGtal
DGtal is the top-level namespace which contains all DGtal functions and types.
Definition:
ClosedIntegerHalfPlane.h:49
DGtal::concepts::CEuclideanRing
Aim: Defines the mathematical concept equivalent to a unitary commutative ring with a division operat...
Definition:
CEuclideanRing.h:88
DGtal::concepts::CIntegralNumber
Aim: Concept checking for Integral Numbers. Models of this concept should be listed in NumberTraits c...
Definition:
CIntegralNumber.h:102
Generated on Fri Oct 9 2020 08:57:47 for DGtal by
1.8.20