DGtal
0.6.devel
|
#include <CBoundedInteger.h>
Public Member Functions | |
BOOST_CONCEPT_USAGE (CBoundedInteger) | |
![]() | |
BOOST_CONCEPT_USAGE (CInteger) |
Private Attributes | |
T | myX |
NumberTraits< T >::IsBounded | myIsBounded |
Aim: The concept CBoundedInteger specifies what are the bounded integer numbers. Hence, it is a refinement of CInteger Concept ensuring that the numbers are bounded.
DescriptionDescription of concept 'CBoundedInteger'
Name | Expression | Type requirements | Return type | Precondition | Semantics | Postcondition | Complexity |
X should be tagged true in NumberTraits for IsBounded. | typename NumberTraits<X>::IsBounded | TagTrue |
short, int, unsigned int, long long, unsigned long long, uint16_t, uint32_t, uint64_t, int16_t, int32_t, int64_t.
T | the type that is checked. T should be a model of CBoundedInteger. |
Definition at line 110 of file CBoundedInteger.h.
|
inline |
Definition at line 114 of file CBoundedInteger.h.
References DGtal::ConceptUtils::checkTrue(), and DGtal::CBoundedInteger< T >::myIsBounded.
|
private |
Reimplemented from DGtal::CInteger< T >.
Definition at line 125 of file CBoundedInteger.h.
Referenced by DGtal::CBoundedInteger< T >::BOOST_CONCEPT_USAGE().
|
private |
Reimplemented from DGtal::CInteger< T >.
Definition at line 124 of file CBoundedInteger.h.