Celartem::ElementDef< bpc16bit > Struct Template Reference

ElementDef for 16bit element. More...

#include <pxl_pixeltypes.h>

List of all members.

Public Types

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

Static Public Member Functions

static u16 minVal ()
 Max value of the Unit.
static u16 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 = 16
 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< bpc16bit >

ElementDef for 16bit element.

Definition at line 307 of file pxl_pixeltypes.h.


Member Typedef Documentation

typedef u16 Celartem::ElementDef< bpc16bit >::Unit

The type that represents the Element.

Definition at line 314 of file pxl_pixeltypes.h.

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

The unit which should be used in calculation.

Definition at line 316 of file pxl_pixeltypes.h.


Member Function Documentation

static u16 Celartem::ElementDef< bpc16bit >::minVal (  )  [inline, static]

Max value of the Unit.

Definition at line 317 of file pxl_pixeltypes.h.

static u16 Celartem::ElementDef< bpc16bit >::maxVal (  )  [inline, static]

Max value of the Unit.

Definition at line 319 of file pxl_pixeltypes.h.


Member Data Documentation

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

Whether it is an integral type or not.

Definition at line 309 of file pxl_pixeltypes.h.

const size_t Celartem::ElementDef< bpc16bit >::size = 16 [static]

Element Size in bits.

Definition at line 311 of file pxl_pixeltypes.h.

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

Whether it can preserve out of range values or not.

Definition at line 321 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.