SPATMOD::IMAGE::SAMPLEITERATOR Class Reference

Iterator for accessing samples in memory array. More...

#include <spatmod/imagesampleiterator.h>

Inheritance diagram for SPATMOD::IMAGE::SAMPLEITERATOR:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 SAMPLEITERATOR (void *pSample, DATATYPE DataType)
 SAMPLEITERATOR ()
void * GetPtr (int offset) const
void * GetPtr () const
SAMPLEITERATORoperator++ ()
SAMPLEITERATORoperator-- ()
void PutBool (bool value) const
void PutValueFast (const void *pValue) const
void PutValueFastFloor (double value) const
void PutValueFastRound (double value) const
void PutValueLimitFloor (double value) const
void PutValueLimitRound (double value) const

Detailed Description

Iterator for accessing samples in memory array.


Constructor & Destructor Documentation

SPATMOD::IMAGE::SAMPLEITERATOR::SAMPLEITERATOR (  )  [inline]

Default constructor.

SPATMOD::IMAGE::SAMPLEITERATOR::SAMPLEITERATOR ( void *  pSample,
DATATYPE  DataType 
) [inline]

Construct with pointer and data type.


Member Function Documentation

void* SPATMOD::IMAGE::SAMPLEITERATOR::GetPtr ( int  offset  )  const [inline]

Get pointer to sample.

Parameters:
offset Position before (-) or after (+) current value.

Reimplemented from SPATMOD::IMAGE::SAMPLEITERATOR_CONST.

void* SPATMOD::IMAGE::SAMPLEITERATOR::GetPtr (  )  const [inline]

Get pointer to sample.

Reimplemented from SPATMOD::IMAGE::SAMPLEITERATOR_CONST.

SAMPLEITERATOR& SPATMOD::IMAGE::SAMPLEITERATOR::operator++ (  )  [inline]

Pre-increment operator.

Reimplemented from SPATMOD::IMAGE::SAMPLEITERATOR_CONST.

SAMPLEITERATOR& SPATMOD::IMAGE::SAMPLEITERATOR::operator-- (  )  [inline]

Pre-decrement operator.

Reimplemented from SPATMOD::IMAGE::SAMPLEITERATOR_CONST.

void SPATMOD::IMAGE::SAMPLEITERATOR::PutBool ( bool  value  )  const [inline]

Put bool value into buffer.

void SPATMOD::IMAGE::SAMPLEITERATOR::PutValueFast ( const void *  pValue  )  const [inline]

Put value into buffer from pointer.

Parameters:
pValue Pointer to source value, must be of proper type and alignment
void SPATMOD::IMAGE::SAMPLEITERATOR::PutValueFastFloor ( double  value  )  const [inline]

Put value into buffer with no limit validation, using floor if integer buffer.

void SPATMOD::IMAGE::SAMPLEITERATOR::PutValueFastRound ( double  value  )  const [inline]

Put value into buffer with no limit validation, rounding if integer buffer.

void SPATMOD::IMAGE::SAMPLEITERATOR::PutValueLimitFloor ( double  value  )  const [inline]

Put value into buffer with limit validation, using floor if integer buffer.

void SPATMOD::IMAGE::SAMPLEITERATOR::PutValueLimitRound ( double  value  )  const [inline]

Put value into buffer with limit validation, rounding if integer buffer.


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

Generated on Sun Oct 7 21:40:02 2012 for TNTsdk 2012 by  doxygen 1.6.1