![]() |
TerraLib 4.1
|
Implements a decoder to raster data in a bynary file, using the memory map operation system functionality. More...
#include <TeDecoderMemoryMap.h>
Public Member Functions | |
| TeDecoderMemoryMap (const TeRasterParams &) | |
| Constructor. | |
| ~TeDecoderMemoryMap () | |
| Destructor. | |
| bool | setElement (int col, int lin, double val, int band=0) |
| Reads an element. | |
| bool | getElement (int col, int lin, double &val, int band=0) |
| Writes an element. | |
| virtual void | init () |
| Initalizes the internal structures. | |
| virtual bool | clear () |
| Releases the internal structures. | |
Implements a decoder to raster data in a bynary file, using the memory map operation system functionality.
| TeDecoderMemoryMap::TeDecoderMemoryMap | ( | const TeRasterParams & | par | ) |
Constructor.
| TeDecoderMemoryMap::~TeDecoderMemoryMap | ( | ) |
Destructor.
| bool TeDecoderMemoryMap::clear | ( | ) | [virtual] |
Releases the internal structures.
Implements TeDecoder.
| bool TeDecoderMemoryMap::getElement | ( | int | col, |
| int | lin, | ||
| double & | val, | ||
| int | band = 0 |
||
| ) | [virtual] |
Writes an element.
Implements TeDecoder.
| void TeDecoderMemoryMap::init | ( | ) | [virtual] |
Initalizes the internal structures.
Implements TeDecoder.
| bool TeDecoderMemoryMap::setElement | ( | int | col, |
| int | lin, | ||
| double | val, | ||
| int | band = 0 |
||
| ) | [virtual] |
Reads an element.
Implements TeDecoder.