GDAL

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

- File List
- File Members

Classes | Functions
ogrsf_frmts.h File Reference

Classes related to registration of format support, and opening datasets. More...

`#include "cpl_progress.h"`
`#include "ogr_feature.h"`
`#include "ogr_featurestyle.h"`
`#include "gdal_priv.h"`
`#include <memory>`

Go to the source code of this file.

## Classes
class | OGRLayer
| This class represents a layer of simple features, with access methods. More...
class | OGRDataSource
| LEGACY class. More...
class | OGRSFDriver
| LEGACY class. More...
class | OGRSFDriverRegistrar
| LEGACY class. More...

## Functions
OGRLayer::FeatureIterator | begin (OGRLayer *poLayer)
| Return begin of feature iterator. More...
OGRLayer::FeatureIterator | end (OGRLayer *poLayer)
| Return end of feature iterator. More...

## Detailed Description

Classes related to registration of format support, and opening datasets.

## Function Documentation

OGRLayer::FeatureIterator begin | ( | OGRLayer * | poLayer | ) |
| inline

Return begin of feature iterator.

Using this iterator for standard range-based loops is safe, but due to implementation limitations, you shouldn't try to access (dereference) more than one iterator step at a time, since the std::unique_ptr<OGRFeature> reference is reused.

Only one iterator per layer can be active at a time.

Since
  GDAL 2.3

See also
  OGRLayer::begin()

OGRLayer::FeatureIterator end | ( | OGRLayer * | poLayer | ) |
| inline

Return end of feature iterator.

See also
  OGRLayer::end()

Generated for GDAL by 1.8.8.