Iterator for accessing samples in memory array. More...
#include <spatmod/imagesampleiterator.h>

Public Member Functions | |
| SAMPLEITERATOR (void *pSample, DATATYPE DataType) | |
| SAMPLEITERATOR () | |
| void * | GetPtr (int offset) const |
| void * | GetPtr () const |
| SAMPLEITERATOR & | operator++ () |
| SAMPLEITERATOR & | operator-- () |
| 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 |
Iterator for accessing samples in memory array.
| SPATMOD::IMAGE::SAMPLEITERATOR::SAMPLEITERATOR | ( | ) | [inline] |
Default constructor.
| SPATMOD::IMAGE::SAMPLEITERATOR::SAMPLEITERATOR | ( | void * | pSample, | |
| DATATYPE | DataType | |||
| ) | [inline] |
Construct with pointer and data type.
| void* SPATMOD::IMAGE::SAMPLEITERATOR::GetPtr | ( | int | offset | ) | const [inline] |
Get pointer to sample.
| 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.
| 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.
1.6.1