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