| 
    GDAL
    
   | 
 
Class returned by GetBands() that act as a container for raster bands. More...
#include <gdal_priv.h>
Public Member Functions | |
| const Iterator | begin () const | 
| Return beginning of band iterator.  More... | |
| const Iterator | end () const | 
| Return end of band iterator.  More... | |
| size_t | size () const | 
| Get the number of raster bands in this dataset.  More... | |
| GDALRasterBand * | operator[] (int iBand) | 
| Fetch a raster band by index.  More... | |
| GDALRasterBand * | operator[] (size_t iBand) | 
| Fetch a raster band by index.  More... | |
Friends | |
| class | GDALDataset | 
Class returned by GetBands() that act as a container for raster bands.
| const GDALDataset::Bands::Iterator GDALDataset::Bands::begin | ( | ) | const | 
Return beginning of band iterator.
| const GDALDataset::Bands::Iterator GDALDataset::Bands::end | ( | ) | const | 
Return end of band iterator.
| GDALRasterBand * GDALDataset::Bands::operator[] | ( | int | iBand | ) | 
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. | 
| GDALRasterBand * GDALDataset::Bands::operator[] | ( | size_t | iBand | ) | 
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::Bands::size | ( | ) | const | 
Get the number of raster bands in this dataset.