26 #ifndef __TERRALIB_GRIB_INTERNAL_BAND_H 27 #define __TERRALIB_GRIB_INTERNAL_BAND_H 30 #include "../raster/Band.h" 52 Band(
Raster* r, std::size_t idx, grib_handle* handle);
62 void getValue(
unsigned int c,
unsigned int r,
double& value)
const;
64 void setValue(
unsigned int c,
unsigned int r,
const double value);
66 void getIValue(
unsigned int c,
unsigned int r,
double& value)
const;
68 void setIValue(
unsigned int c,
unsigned int r,
const double value);
70 void read(
int x,
int y,
void* buffer)
const;
72 void* read(
int x,
int y);
74 void write(
int x,
int y,
void* buffer);
76 grib_handle* getHandle()
const;
78 long getLong(
const char* key)
const;
82 std::string getString(
const char* key)
const;
84 static std::string getErrMsg(
int errCode);
96 #endif // __TERRALIB_GRIB_INTERNAL_BAND_H grib_handle * m_handle
The grib handle.
An abstract class for raster data strucutures.
A raster band description.
line< nLines;++line) for(col=0;col< nCols;++col){rasterPointer-> setValue(col, line, pixelValue, band)
double * m_data
The matrix data.
Band implemntatin for GRIB.
A raster class for GRIB format.
Raster * m_raster
The associated raster.
#define TEGRIBEXPORT
You can use this macro in order to export/import classes and functions from this module.