cisst-saw
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Macros | Functions
svlTypeCheckers.h File Reference

Go to the source code of this file.

Macros

#define MAX_INT8   127
 
#define MIN_INT8   -128
 
#define MAX_INT16   32767
 
#define MIN_INT16   -32768
 
#define MAX_INT32   2147483647
 
#define MIN_INT32   -2147483647
 
#define MAX_UINT8   255U
 
#define MIN_UINT8   0U
 
#define MAX_UINT16   65535U
 
#define MIN_UINT16   0U
 
#define MAX_UINT32   4294967295U
 
#define MIN_UINT32   0U
 

Functions

template<>
bool IsTypeInt8< char > (char CMN_UNUSED(val))
 
template<>
bool IsTypeInt16< short > (short CMN_UNUSED(val))
 
template<>
bool IsTypeInt32< int > (int CMN_UNUSED(val))
 
template<>
bool IsTypeInt64< long long int > (long long int CMN_UNUSED(val))
 
template<>
bool IsTypeUInt8< unsigned char > (unsigned char CMN_UNUSED(val))
 
template<>
bool IsTypeUInt16< unsigned short > (unsigned short CMN_UNUSED(val))
 
template<>
bool IsTypeUInt32< unsigned int > (unsigned int CMN_UNUSED(val))
 
template<>
bool IsTypeUInt64< unsigned long long int > (unsigned long long int CMN_UNUSED(val))
 
template<>
bool IsTypeFloat< float > (float CMN_UNUSED(val))
 
template<>
bool IsTypeDouble< double > (double CMN_UNUSED(val))
 
template<>
bool GetMaxValue< char > (long long int &max)
 
template<>
bool GetMaxValue< short > (long long int &max)
 
template<>
bool GetMaxValue< int > (long long int &max)
 
template<>
bool GetMaxValue< unsigned char > (long long int &max)
 
template<>
bool GetMaxValue< unsigned short > (long long int &max)
 
template<>
bool GetMaxValue< unsigned int > (long long int &max)
 
template<>
bool GetMinValue< char > (long long int &min)
 
template<>
bool GetMinValue< short > (long long int &min)
 
template<>
bool GetMinValue< int > (long long int &min)
 
template<>
bool GetMinValue< unsigned char > (long long int &min)
 
template<>
bool GetMinValue< unsigned short > (long long int &min)
 
template<>
bool GetMinValue< unsigned int > (long long int &min)
 

Macro Definition Documentation

#define MAX_INT16   32767
#define MAX_INT32   2147483647
#define MAX_INT8   127
#define MAX_UINT16   65535U
#define MAX_UINT32   4294967295U
#define MAX_UINT8   255U
#define MIN_INT16   -32768
#define MIN_INT32   -2147483647
#define MIN_INT8   -128
#define MIN_UINT16   0U
#define MIN_UINT32   0U
#define MIN_UINT8   0U

Function Documentation

template<>
bool GetMaxValue< char > ( long long int &  max)
inline
template<>
bool GetMaxValue< int > ( long long int &  max)
inline
template<>
bool GetMaxValue< short > ( long long int &  max)
inline
template<>
bool GetMaxValue< unsigned char > ( long long int &  max)
inline
template<>
bool GetMaxValue< unsigned int > ( long long int &  max)
inline
template<>
bool GetMaxValue< unsigned short > ( long long int &  max)
inline
template<>
bool GetMinValue< char > ( long long int &  min)
inline
template<>
bool GetMinValue< int > ( long long int &  min)
inline
template<>
bool GetMinValue< short > ( long long int &  min)
inline
template<>
bool GetMinValue< unsigned char > ( long long int &  min)
inline
template<>
bool GetMinValue< unsigned int > ( long long int &  min)
inline
template<>
bool GetMinValue< unsigned short > ( long long int &  min)
inline
template<>
bool IsTypeDouble< double > ( double   CMN_UNUSEDval)
inline
template<>
bool IsTypeFloat< float > ( float   CMN_UNUSEDval)
inline
template<>
bool IsTypeInt16< short > ( short   CMN_UNUSEDval)
inline
template<>
bool IsTypeInt32< int > ( int   CMN_UNUSEDval)
inline
template<>
bool IsTypeInt64< long long int > ( long long int   CMN_UNUSEDval)
inline
template<>
bool IsTypeInt8< char > ( char   CMN_UNUSEDval)
inline
template<>
bool IsTypeUInt16< unsigned short > ( unsigned short   CMN_UNUSEDval)
inline
template<>
bool IsTypeUInt32< unsigned int > ( unsigned int   CMN_UNUSEDval)
inline
template<>
bool IsTypeUInt64< unsigned long long int > ( unsigned long long int   CMN_UNUSEDval)
inline
template<>
bool IsTypeUInt8< unsigned char > ( unsigned char   CMN_UNUSEDval)
inline