GDAL

Public Types | Public Member Functions | List of all members
GDALDataset::ConstLayers::Iterator Class Reference

Layer iterator. More...

`#include <gdal_dataset.h>`

## Public Types
using | value_type = const OGRLayer *
| value_type
using | reference = const OGRLayer *
| reference
using | difference_type = void
| difference_type
using | pointer = void
| pointer
using | iterator_category = std::input_iterator_tag
| iterator_category

## Public Member Functions
| Iterator ()
| Default constructor.
| Iterator (const GDALDataset *poDS, bool bStart)
| Constructor.
| Iterator (const Iterator &oOther)
| Copy constructor.
| Iterator (Iterator &&oOther) noexcept
| Move constructor.
| ~Iterator ()
| Destructor.
Iterator & | operator= (const Iterator &oOther)
| Assignment operator.
Iterator & | operator= (Iterator &&oOther) noexcept
| Move assignment operator.
value_type | operator* () const
| Dereference operator.
Iterator & | operator++ ()
| Pre-increment operator.
Iterator | operator++ (int)
| Post-increment operator.
bool | operator!= (const Iterator &it) const
| Difference comparison operator.

## Detailed Description

Layer iterator.

Since
  GDAL 3.12

The documentation for this class was generated from the following files:

- gdal_dataset.h
- gdaldataset.cpp