Public Types | Static Public Member Functions | Static Public Attributes

DGtal::IntegerTraits< unsigned char > Struct Template Reference

#include <IntegerTraits.h>

Public Types

typedef TagTrue IsBounded
typedef TagTrue IsUnsigned
typedef TagTrue IsSpecialized
typedef char SignedVersion
typedef unsigned char UnsignedVersion
typedef unsigned char ReturnType
typedef boost::call_traits
< unsigned char >::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 isUnsigned ()

Static Public Attributes

static const unsigned char ZERO = 0
static const unsigned char ONE = 1

Detailed Description

template<>
struct DGtal::IntegerTraits< unsigned char >

Specialization for <usigned char>="">.


Member Typedef Documentation

typedef TagTrue DGtal::IntegerTraits< unsigned char >::IsBounded
typedef TagTrue DGtal::IntegerTraits< unsigned char >::IsSpecialized
typedef TagTrue DGtal::IntegerTraits< unsigned char >::IsUnsigned
typedef boost::call_traits<unsigned char>::param_type DGtal::IntegerTraits< unsigned char >::ParamType
typedef unsigned char DGtal::IntegerTraits< unsigned char >::ReturnType
typedef char DGtal::IntegerTraits< unsigned char >::SignedVersion
typedef unsigned char DGtal::IntegerTraits< unsigned char >::UnsignedVersion

Member Function Documentation

static unsigned int DGtal::IntegerTraits< unsigned char >::digits (  )  [inline, static]
static BoundEnum DGtal::IntegerTraits< unsigned char >::isBounded (  )  [inline, static]
static SignEnum DGtal::IntegerTraits< unsigned char >::isUnsigned (  )  [inline, static]
static ReturnType DGtal::IntegerTraits< unsigned char >::max (  )  [inline, static]
static ReturnType DGtal::IntegerTraits< unsigned char >::min (  )  [inline, static]
static ReturnType DGtal::IntegerTraits< unsigned char >::one (  )  [inline, static]
static ReturnType DGtal::IntegerTraits< unsigned char >::zero (  )  [inline, static]

Field Documentation

const unsigned char DGtal::IntegerTraits< unsigned char >::ONE = 1 [static]
const unsigned char DGtal::IntegerTraits< unsigned char >::ZERO = 0 [static]

The documentation for this struct was generated from the following file: