GDAL
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.
 
Iteratoroperator= (const Iterator &oOther)
 Assignment operator.
 
Iteratoroperator= (Iterator &&oOther) noexcept
 Move assignment operator.
 
OGRLayeroperator* () const
 Dereference operator.
 
Iteratoroperator++ ()
 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:

Generated for GDAL by doxygen 1.8.13.