|
DGtal
0.6.devel
|
#include <NumberTraits.h>
Public Types | |
| 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 <int32_t>.
Definition at line 551 of file NumberTraits.h.
| typedef TagTrue DGtal::NumberTraits< int32_t >::IsBounded |
Definition at line 553 of file NumberTraits.h.
| typedef TagTrue DGtal::NumberTraits< int32_t >::IsSigned |
Definition at line 555 of file NumberTraits.h.
| typedef TagTrue DGtal::NumberTraits< int32_t >::IsSpecialized |
Definition at line 556 of file NumberTraits.h.
| typedef TagFalse DGtal::NumberTraits< int32_t >::IsUnsigned |
Definition at line 554 of file NumberTraits.h.
| typedef boost::call_traits<int32_t>::param_type DGtal::NumberTraits< int32_t >::ParamType |
Definition at line 560 of file NumberTraits.h.
| typedef int32_t DGtal::NumberTraits< int32_t >::ReturnType |
Definition at line 559 of file NumberTraits.h.
| typedef int32_t DGtal::NumberTraits< int32_t >::SignedVersion |
Definition at line 557 of file NumberTraits.h.
| typedef uint32_t DGtal::NumberTraits< int32_t >::UnsignedVersion |
Definition at line 558 of file NumberTraits.h.
|
inlinestatic |
Cast method to double (for I/O or board export uses only).
Definition at line 599 of file NumberTraits.h.
|
inlinestatic |
Definition at line 591 of file NumberTraits.h.
|
inlinestatic |
Definition at line 579 of file NumberTraits.h.
|
inlinestatic |
| aT | any number. |
Definition at line 607 of file NumberTraits.h.
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
Definition at line 575 of file NumberTraits.h.
|
inlinestatic |
Definition at line 571 of file NumberTraits.h.
|
inlinestatic |
| aT | any number. |
Definition at line 615 of file NumberTraits.h.
|
inlinestatic |
Definition at line 567 of file NumberTraits.h.
|
inlinestatic |
Definition at line 563 of file NumberTraits.h.
|
static |
Definition at line 562 of file NumberTraits.h.
|
static |
Definition at line 561 of file NumberTraits.h.
1.8.1.1