MDSTk Libraries
1.1.0
Medical Data Segmentation Toolkit
|
Template providing type specific information. More...
#include <mdsTypeTraits.h>
Public Types | |
enum | { isPointer = SIsPointer<T>::RESULT } |
Simple type checks. More... | |
enum | { isReference = SIsReference<T>::RESULT } |
enum | { isMemberPointer = SIsMemberPointer<T>::RESULT } |
enum | { isUnsignedInt = SIsUnsignedInt<T>::RESULT } |
enum | { isSignedInt = SIsSignedInt<T>::RESULT } |
enum | { isFloat = SIsFloat<T>::RESULT } |
enum | { isConst = SIsConst<T>::RESULT } |
enum | { isIntegral = isUnsignedInt || isSignedInt || SIsOtherInt<T>::RESULT } |
enum | { isFundamental = isIntegral || isFloat || SIsOtherStd<T>::RESULT } |
typedef SIsConst< T >::tNonConst | tNonConst |
Non-const type if T is constant. | |
typedef SSelect< isFundamental||isPointer||isMemberPointer, T, tReferred & >::RESULT | tParameter |
Type used to pass type T as a function/method parameter. | |
typedef SIsPointer< T >::tPointee | tPointee |
Pointee type if T is pointer. | |
typedef SIsReference< T > ::tReferred | tReferred |
Referred type if T is reference. | |
Public Member Functions | |
template<> | |
mds::sys::tInt8 | getMax () |
template<> | |
mds::sys::tUInt8 | getMax () |
template<> | |
mds::sys::tInt16 | getMax () |
template<> | |
mds::sys::tUInt16 | getMax () |
template<> | |
mds::sys::tInt32 | getMax () |
template<> | |
mds::sys::tUInt32 | getMax () |
template<> | |
mds::img::tRGBPixel | getMax () |
template<> | |
mds::img::tRGBPixel | getMax () |
template<> | |
mds::sys::tInt8 | getMin () |
template<> | |
mds::sys::tUInt8 | getMin () |
template<> | |
mds::sys::tInt16 | getMin () |
template<> | |
mds::sys::tUInt16 | getMin () |
template<> | |
mds::sys::tInt32 | getMin () |
template<> | |
mds::sys::tUInt32 | getMin () |
template<> | |
mds::img::tRGBPixel | getMin () |
template<> | |
mds::img::tRGBPixel | getMin () |
template<> | |
mds::sys::tInt8 | getZero () |
template<> | |
mds::sys::tUInt8 | getZero () |
template<> | |
mds::sys::tInt16 | getZero () |
template<> | |
mds::sys::tUInt16 | getZero () |
template<> | |
mds::sys::tInt32 | getZero () |
template<> | |
mds::sys::tUInt32 | getZero () |
template<> | |
mds::img::tRGBPixel | getZero () |
template<> | |
mds::img::tRGBPixel | getZero () |
Static Public Member Functions | |
static T | getMax () |
Maximal value of the type T. | |
static T | getMin () |
Minimal value of the type T. | |
static tSize | getSize () |
Returns size of the type T in bytes. | |
static T | getZero () |
Zero defined for the type T. |
Template providing type specific information.
typedef SIsConst<T>::tNonConst mds::CTypeTraits< T >::tNonConst |
Non-const type if T is constant.
typedef SSelect<isFundamental || isPointer || isMemberPointer, T, tReferred&>::RESULT mds::CTypeTraits< T >::tParameter |
Type used to pass type T as a function/method parameter.
typedef SIsPointer<T>::tPointee mds::CTypeTraits< T >::tPointee |
Pointee type if T is pointer.
typedef SIsReference<T>::tReferred mds::CTypeTraits< T >::tReferred |
Referred type if T is reference.
mds::sys::tInt8 mds::CTypeTraits< mds::sys::tInt8 >::getMax | ( | ) |
mds::sys::tUInt8 mds::CTypeTraits< mds::sys::tUInt8 >::getMax | ( | ) |
mds::sys::tInt16 mds::CTypeTraits< mds::sys::tInt16 >::getMax | ( | ) |
mds::sys::tUInt16 mds::CTypeTraits< mds::sys::tUInt16 >::getMax | ( | ) |
mds::sys::tInt32 mds::CTypeTraits< mds::sys::tInt32 >::getMax | ( | ) |
mds::sys::tUInt32 mds::CTypeTraits< mds::sys::tUInt32 >::getMax | ( | ) |
static T mds::CTypeTraits< T >::getMax | ( | ) | [static] |
Maximal value of the type T.
mds::img::tRGBPixel mds::CTypeTraits< mds::img::tRGBPixel >::getMax | ( | ) |
mds::img::tRGBPixel mds::CTypeTraits< mds::img::tRGBPixel >::getMax | ( | ) |
mds::sys::tInt8 mds::CTypeTraits< mds::sys::tInt8 >::getMin | ( | ) |
mds::sys::tUInt8 mds::CTypeTraits< mds::sys::tUInt8 >::getMin | ( | ) |
mds::sys::tInt16 mds::CTypeTraits< mds::sys::tInt16 >::getMin | ( | ) |
mds::sys::tUInt16 mds::CTypeTraits< mds::sys::tUInt16 >::getMin | ( | ) |
mds::sys::tInt32 mds::CTypeTraits< mds::sys::tInt32 >::getMin | ( | ) |
mds::sys::tUInt32 mds::CTypeTraits< mds::sys::tUInt32 >::getMin | ( | ) |
mds::img::tRGBPixel mds::CTypeTraits< mds::img::tRGBPixel >::getMin | ( | ) |
mds::img::tRGBPixel mds::CTypeTraits< mds::img::tRGBPixel >::getMin | ( | ) |
static T mds::CTypeTraits< T >::getMin | ( | ) | [static] |
Minimal value of the type T.
static tSize mds::CTypeTraits< T >::getSize | ( | ) | [static] |
Returns size of the type T in bytes.
mds::sys::tInt8 mds::CTypeTraits< mds::sys::tInt8 >::getZero | ( | ) |
mds::sys::tUInt8 mds::CTypeTraits< mds::sys::tUInt8 >::getZero | ( | ) |
mds::sys::tInt16 mds::CTypeTraits< mds::sys::tInt16 >::getZero | ( | ) |
mds::sys::tUInt16 mds::CTypeTraits< mds::sys::tUInt16 >::getZero | ( | ) |
mds::sys::tInt32 mds::CTypeTraits< mds::sys::tInt32 >::getZero | ( | ) |
mds::sys::tUInt32 mds::CTypeTraits< mds::sys::tUInt32 >::getZero | ( | ) |
static T mds::CTypeTraits< T >::getZero | ( | ) | [static] |
Zero defined for the type T.
mds::img::tRGBPixel mds::CTypeTraits< mds::img::tRGBPixel >::getZero | ( | ) |
mds::img::tRGBPixel mds::CTypeTraits< mds::img::tRGBPixel >::getZero | ( | ) |