DGtal
0.6.devel
|
#include <NumberTraits.h>
Public Types | |
typedef TagTrue | IsBounded |
typedef TagFalse | IsUnsigned |
typedef TagTrue | IsSigned |
typedef TagTrue | IsSpecialized |
typedef int8_t | SignedVersion |
typedef uint8_t | UnsignedVersion |
typedef int8_t | ReturnType |
typedef boost::call_traits < int8_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 int8_t &aT) |
static double | castToDouble (const int8_t &aT) |
static bool | even (ParamType aT) |
static bool | odd (ParamType aT) |
Static Public Attributes | |
static const int8_t | ZERO = 0 |
static const int8_t | ONE = 1 |
Specialization for <int8_t>.
Definition at line 407 of file NumberTraits.h.
typedef TagTrue DGtal::NumberTraits< int8_t >::IsBounded |
Definition at line 409 of file NumberTraits.h.
typedef TagTrue DGtal::NumberTraits< int8_t >::IsSigned |
Definition at line 411 of file NumberTraits.h.
typedef TagTrue DGtal::NumberTraits< int8_t >::IsSpecialized |
Definition at line 412 of file NumberTraits.h.
typedef TagFalse DGtal::NumberTraits< int8_t >::IsUnsigned |
Definition at line 410 of file NumberTraits.h.
typedef boost::call_traits<int8_t>::param_type DGtal::NumberTraits< int8_t >::ParamType |
Definition at line 416 of file NumberTraits.h.
typedef int8_t DGtal::NumberTraits< int8_t >::ReturnType |
Definition at line 415 of file NumberTraits.h.
typedef int8_t DGtal::NumberTraits< int8_t >::SignedVersion |
Definition at line 413 of file NumberTraits.h.
typedef uint8_t DGtal::NumberTraits< int8_t >::UnsignedVersion |
Definition at line 414 of file NumberTraits.h.
|
inlinestatic |
Cast method to double (for I/O or board export uses only).
Definition at line 455 of file NumberTraits.h.
|
inlinestatic |
Definition at line 447 of file NumberTraits.h.
|
inlinestatic |
Definition at line 435 of file NumberTraits.h.
|
inlinestatic |
aT | any number. |
Definition at line 463 of file NumberTraits.h.
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
Definition at line 431 of file NumberTraits.h.
|
inlinestatic |
Definition at line 427 of file NumberTraits.h.
|
inlinestatic |
aT | any number. |
Definition at line 471 of file NumberTraits.h.
|
inlinestatic |
Definition at line 423 of file NumberTraits.h.
|
inlinestatic |
Definition at line 419 of file NumberTraits.h.
|
static |
Definition at line 418 of file NumberTraits.h.
|
static |
Definition at line 417 of file NumberTraits.h.