Celartem::ElementDef< bpc8bit > Struct Template Reference

ElementDef for 8bit element. More...

#include <pxl_pixeltypes.h>

List of all members.

Public Types

typedef u8 Unit
 The type that represents the Element.
typedef ssize_t CalcUnit
 The unit which should be used in calculation.

Static Public Member Functions

static u8 minVal ()
 Min value of the Unit.
static u8 maxVal ()
 Max value of the Unit.

Static Public Attributes

static const bool isIntegralType = true
 Whether it is an integral type or not.
static const size_t size = 8
 Element Size in bits.
static const bool canPreserveOutOfRangeValues = false
 Whether it can preserve out of range values or not.


Detailed Description

template<>
struct Celartem::ElementDef< bpc8bit >

ElementDef for 8bit element.

Definition at line 288 of file pxl_pixeltypes.h.


Member Typedef Documentation

typedef u8 Celartem::ElementDef< bpc8bit >::Unit

The type that represents the Element.

Definition at line 295 of file pxl_pixeltypes.h.

typedef ssize_t Celartem::ElementDef< bpc8bit >::CalcUnit

The unit which should be used in calculation.

Definition at line 297 of file pxl_pixeltypes.h.


Member Function Documentation

static u8 Celartem::ElementDef< bpc8bit >::minVal (  )  [inline, static]

Min value of the Unit.

Definition at line 298 of file pxl_pixeltypes.h.

static u8 Celartem::ElementDef< bpc8bit >::maxVal (  )  [inline, static]

Max value of the Unit.

Definition at line 300 of file pxl_pixeltypes.h.


Member Data Documentation

const bool Celartem::ElementDef< bpc8bit >::isIntegralType = true [static]

Whether it is an integral type or not.

Definition at line 290 of file pxl_pixeltypes.h.

const size_t Celartem::ElementDef< bpc8bit >::size = 8 [static]

Element Size in bits.

Definition at line 292 of file pxl_pixeltypes.h.

const bool Celartem::ElementDef< bpc8bit >::canPreserveOutOfRangeValues = false [static]

Whether it can preserve out of range values or not.

Definition at line 302 of file pxl_pixeltypes.h.


The documentation for this struct was generated from the following file:
This document is automatically generated using doxygen 1.5.4 at Fri Jun 27 18:23:13 2008.