TerraLib 4.1
TeDecoderMemoryMap Class Reference

Implements a decoder to raster data in a bynary file, using the memory map operation system functionality. More...

#include <TeDecoderMemoryMap.h>

Inheritance diagram for TeDecoderMemoryMap:
TeDecoder

List of all members.

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.

Detailed Description

Implements a decoder to raster data in a bynary file, using the memory map operation system functionality.


Constructor & Destructor Documentation

TeDecoderMemoryMap::TeDecoderMemoryMap ( const TeRasterParams par)

Constructor.

TeDecoderMemoryMap::~TeDecoderMemoryMap ( )

Destructor.


Member Function Documentation

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.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines