QGIS API Documentation  3.6.0-Noosa (5873452)
Public Member Functions | List of all members
QgsGeometryCheckerUtils::LayerFeatures::iterator Class Reference

An iterator over all features in a QgsGeometryCheckerUtils::LayerFeatures. More...

#include <qgsgeometrycheckerutils.h>

Public Member Functions

 iterator (const QStringList::const_iterator &layerIt, const LayerFeatures *parent)
 Creates a new iterator. More...
 
 iterator (const iterator &rh)
 Copies the iterator rh. More...
 
 ~iterator ()
 
bool operator!= (const iterator &other)
 
const QgsGeometryCheckerUtils::LayerFeatureoperator* () const
 Dereferences the item at the current iterator location. More...
 
const iteratoroperator++ ()
 Increments the item the iterator currently points to by one and returns the new iterator. More...
 
iterator operator++ (int n)
 Increments the item the iterator currently points to by n and returns the new iterator. More...
 

Detailed Description

An iterator over all features in a QgsGeometryCheckerUtils::LayerFeatures.

Since
QGIS 3.4

Definition at line 142 of file qgsgeometrycheckerutils.h.

Constructor & Destructor Documentation

◆ iterator() [1/2]

QgsGeometryCheckerUtils::LayerFeatures::iterator::iterator ( const QStringList::const_iterator &  layerIt,
const LayerFeatures parent 
)

Creates a new iterator.

Definition at line 92 of file qgsgeometrycheckerutils.cpp.

◆ iterator() [2/2]

QgsGeometryCheckerUtils::LayerFeatures::iterator::iterator ( const iterator rh)

Copies the iterator rh.

Definition at line 100 of file qgsgeometrycheckerutils.cpp.

◆ ~iterator()

QgsGeometryCheckerUtils::LayerFeatures::iterator::~iterator ( )

Definition at line 112 of file qgsgeometrycheckerutils.cpp.

Member Function Documentation

◆ operator!=()

bool QgsGeometryCheckerUtils::LayerFeatures::iterator::operator!= ( const iterator other)

Definition at line 129 of file qgsgeometrycheckerutils.cpp.

◆ operator*()

const QgsGeometryCheckerUtils::LayerFeature & QgsGeometryCheckerUtils::LayerFeatures::iterator::operator* ( ) const

Dereferences the item at the current iterator location.

Definition at line 123 of file qgsgeometrycheckerutils.cpp.

◆ operator++() [1/2]

const QgsGeometryCheckerUtils::LayerFeatures::iterator & QgsGeometryCheckerUtils::LayerFeatures::iterator::operator++ ( )

Increments the item the iterator currently points to by one and returns the new iterator.

Definition at line 134 of file qgsgeometrycheckerutils.cpp.

◆ operator++() [2/2]

QgsGeometryCheckerUtils::LayerFeatures::iterator QgsGeometryCheckerUtils::LayerFeatures::iterator::operator++ ( int  n)

Increments the item the iterator currently points to by n and returns the new iterator.

Definition at line 116 of file qgsgeometrycheckerutils.cpp.


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