|
GDAL
|
Class returned by GetBands() that act as a container for raster bands. More...
#include <gdal_dataset.h>
Public Member Functions | |
| const Iterator | begin () const |
| Return beginning of band iterator. | |
| const Iterator | end () const |
| Return end of band iterator. | |
| size_t | size () const |
| Get the number of raster bands in this dataset. | |
| const GDALRasterBand * | operator[] (int iBand) const |
| Fetch a raster band by index. | |
| const GDALRasterBand * | operator[] (size_t iBand) const |
| Fetch a raster band by index. | |
Friends | |
| class | GDALDataset |
Class returned by GetBands() that act as a container for raster bands.
| const GDALDataset::ConstBands::Iterator GDALDataset::ConstBands::begin | ( | ) | const |
Return beginning of band iterator.
| const GDALDataset::ConstBands::Iterator GDALDataset::ConstBands::end | ( | ) | const |
Return end of band iterator.
| const GDALRasterBand * GDALDataset::ConstBands::operator[] | ( | int | iBand | ) | const |
Fetch a raster band by index.
The returned band remains owned by the GDALDataset and should not be deleted by the application.
| iBand | a band index between 0 and size()-1. |
| const GDALRasterBand * GDALDataset::ConstBands::operator[] | ( | size_t | iBand | ) | const |
Fetch a raster band by index.
The returned band remains owned by the GDALDataset and should not be deleted by the application.
| iBand | a band index between 0 and size()-1. |
| size_t GDALDataset::ConstBands::size | ( | ) | const |
Get the number of raster bands in this dataset.