|
DGtal
0.6.devel
|
#include <NumberTraits.h>
Public Types | |
| typedef TagTrue | IsBounded |
| typedef TagFalse | IsUnsigned |
| typedef TagTrue | IsSigned |
| typedef TagTrue | IsSpecialized |
| typedef int16_t | SignedVersion |
| typedef uint16_t | UnsignedVersion |
| typedef int16_t | ReturnType |
| typedef boost::call_traits < int16_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 int16_t &aT) |
| static double | castToDouble (const int16_t &aT) |
| static bool | even (ParamType aT) |
| static bool | odd (ParamType aT) |
Static Public Attributes | |
| static const int16_t | ZERO = 0 |
| static const int16_t | ONE = 1 |
Specialization for <int16_t>.
Definition at line 257 of file NumberTraits.h.
| typedef TagTrue DGtal::NumberTraits< int16_t >::IsBounded |
Definition at line 259 of file NumberTraits.h.
| typedef TagTrue DGtal::NumberTraits< int16_t >::IsSigned |
Definition at line 261 of file NumberTraits.h.
| typedef TagTrue DGtal::NumberTraits< int16_t >::IsSpecialized |
Definition at line 262 of file NumberTraits.h.
| typedef TagFalse DGtal::NumberTraits< int16_t >::IsUnsigned |
Definition at line 260 of file NumberTraits.h.
| typedef boost::call_traits<int16_t>::param_type DGtal::NumberTraits< int16_t >::ParamType |
Definition at line 266 of file NumberTraits.h.
| typedef int16_t DGtal::NumberTraits< int16_t >::ReturnType |
Definition at line 265 of file NumberTraits.h.
| typedef int16_t DGtal::NumberTraits< int16_t >::SignedVersion |
Definition at line 263 of file NumberTraits.h.
| typedef uint16_t DGtal::NumberTraits< int16_t >::UnsignedVersion |
Definition at line 264 of file NumberTraits.h.
|
inlinestatic |
Cast method to double (for I/O or board export uses only).
Definition at line 305 of file NumberTraits.h.
|
inlinestatic |
Definition at line 297 of file NumberTraits.h.
|
inlinestatic |
Definition at line 285 of file NumberTraits.h.
|
inlinestatic |
| aT | any number. |
Definition at line 313 of file NumberTraits.h.
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
Definition at line 281 of file NumberTraits.h.
|
inlinestatic |
Definition at line 277 of file NumberTraits.h.
|
inlinestatic |
| aT | any number. |
Definition at line 321 of file NumberTraits.h.
|
inlinestatic |
Definition at line 273 of file NumberTraits.h.
|
inlinestatic |
Definition at line 269 of file NumberTraits.h.
|
static |
Definition at line 268 of file NumberTraits.h.
|
static |
Definition at line 267 of file NumberTraits.h.
1.8.1.1