DGtal
0.9.3
|
#include <DGtal/kernel/NumberTraits.h>
Public Types | |
typedef TagTrue | IsIntegral |
typedef TagTrue | IsBounded |
typedef TagFalse | IsUnsigned |
typedef TagTrue | IsSigned |
typedef TagTrue | IsSpecialized |
typedef int32_t | SignedVersion |
typedef uint32_t | UnsignedVersion |
typedef int32_t | ReturnType |
typedef boost::call_traits< int32_t >::param_type | ParamType |
Static Public Member Functions | |
static ReturnType | zero () |
static ReturnType | one () |
static ReturnType | min () |
static ReturnType | max () |
static unsigned int | digits () |
static BoundEnum | isBounded () |
static SignEnum | isSigned () |
static DGtal::int64_t | castToInt64_t (const int32_t &aT) |
static double | castToDouble (const int32_t &aT) |
static bool | even (ParamType aT) |
static bool | odd (ParamType aT) |
Static Public Attributes | |
static const int32_t | ZERO = 0 |
static const int32_t | ONE = 1 |
Specialization for DGtal::int32_t.
Definition at line 555 of file NumberTraits.h.
typedef TagTrue DGtal::NumberTraits< int32_t >::IsBounded |
Definition at line 558 of file NumberTraits.h.
typedef TagTrue DGtal::NumberTraits< int32_t >::IsIntegral |
Definition at line 557 of file NumberTraits.h.
typedef TagTrue DGtal::NumberTraits< int32_t >::IsSigned |
Definition at line 560 of file NumberTraits.h.
typedef TagTrue DGtal::NumberTraits< int32_t >::IsSpecialized |
Definition at line 561 of file NumberTraits.h.
typedef TagFalse DGtal::NumberTraits< int32_t >::IsUnsigned |
Definition at line 559 of file NumberTraits.h.
typedef boost::call_traits<int32_t>::param_type DGtal::NumberTraits< int32_t >::ParamType |
Definition at line 565 of file NumberTraits.h.
typedef int32_t DGtal::NumberTraits< int32_t >::ReturnType |
Definition at line 564 of file NumberTraits.h.
typedef int32_t DGtal::NumberTraits< int32_t >::SignedVersion |
Definition at line 562 of file NumberTraits.h.
typedef uint32_t DGtal::NumberTraits< int32_t >::UnsignedVersion |
Definition at line 563 of file NumberTraits.h.
|
inlinestatic |
Cast method to double (for I/O or board export uses only).
Definition at line 604 of file NumberTraits.h.
|
inlinestatic |
Definition at line 596 of file NumberTraits.h.
|
inlinestatic |
Definition at line 584 of file NumberTraits.h.
|
inlinestatic |
aT | any number. |
Definition at line 612 of file NumberTraits.h.
|
inlinestatic |
Definition at line 588 of file NumberTraits.h.
References DGtal::BOUNDED.
|
inlinestatic |
Definition at line 592 of file NumberTraits.h.
References DGtal::SIGNED.
|
inlinestatic |
Definition at line 580 of file NumberTraits.h.
|
inlinestatic |
Definition at line 576 of file NumberTraits.h.
|
inlinestatic |
aT | any number. |
Definition at line 620 of file NumberTraits.h.
|
inlinestatic |
Definition at line 572 of file NumberTraits.h.
|
inlinestatic |
Definition at line 568 of file NumberTraits.h.
|
static |
Definition at line 567 of file NumberTraits.h.
|
static |
Definition at line 566 of file NumberTraits.h.