GDAL

- Main Page
- Related Pages
- Classes
- Files
- Download
- Issue Tracker

- Class List
- Class Hierarchy
- Class Members

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

Layer iterator. More...

`#include <gdal_priv.h>`

## Public Types
using | value_type = OGRLayer *
| value_type
using | reference = 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 (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.
OGRLayer * | 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 2.3

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

- gdal_priv.h
- gdaldataset.cpp