DGtal 1.4.0
|
Aim: The concept CBoundedNumber specifies what are the bounded numbers. Models of this concept should be listed in NumberTraits class and should have the isBounded property. More...
#include <DGtal/kernel/CBoundedNumber.h>
Public Member Functions | |
BOOST_CONCEPT_USAGE (CBoundedNumber) | |
Private Attributes | |
T | myX |
NumberTraits< T >::IsBounded | myIsBounded |
Aim: The concept CBoundedNumber specifies what are the bounded numbers. Models of this concept should be listed in NumberTraits class and should have the isBounded property.
Description of concept 'CBoundedNumber'
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 CBoundedNumber. |
Definition at line 96 of file CBoundedNumber.h.
|
inline |
Definition at line 100 of file CBoundedNumber.h.
References DGtal::concepts::ConceptUtils::checkTrue(), and DGtal::concepts::CBoundedNumber< T >::myIsBounded.
|
private |
Definition at line 111 of file CBoundedNumber.h.
Referenced by DGtal::concepts::CBoundedNumber< T >::BOOST_CONCEPT_USAGE().
|
private |
Definition at line 110 of file CBoundedNumber.h.