DGtal 1.4.0
|
Aim: Concept checking for Integral Numbers. Models of this concept should be listed in NumberTraits class and should have the isIntegral property. More...
#include <DGtal/kernel/CIntegralNumber.h>
Public Member Functions | |
BOOST_CONCEPT_USAGE (CIntegralNumber) | |
Private Attributes | |
NumberTraits< T >::IsIntegral | myIsIntegral |
Aim: Concept checking for Integral Numbers. Models of this concept should be listed in NumberTraits class and should have the isIntegral property.
Description of concept 'CIntegralNumber'
Name | Expression | Type requirements | Return type | Precondition | Semantics | Postcondition | Complexity |
---|---|---|---|---|---|---|---|
X should be tagged true in NumberTraits for IsIntegral. | typename NumberTraits<X>::IsIntegral | TagTrue |
BigInteger, short, int, long long, uint32_t, int16_t, int32_t, int64_t, ...
T | the type that is checked. T should be a model of CBoundedInteger. |
Definition at line 101 of file CIntegralNumber.h.
|
inline |
Definition at line 105 of file CIntegralNumber.h.
References DGtal::concepts::ConceptUtils::checkTrue(), and DGtal::concepts::CIntegralNumber< T >::myIsIntegral.
|
private |
Definition at line 113 of file CIntegralNumber.h.
Referenced by DGtal::concepts::CIntegralNumber< T >::BOOST_CONCEPT_USAGE().