olp-cpp-sdk  1.22.0
Public Types | Public Member Functions | Friends | List of all members
olp::geo::SubTiles::Iterator Class Reference

The tile key iterator. More...

#include <SubTiles.h>

Inheritance diagram for olp::geo::SubTiles::Iterator:
Inheritance graph
[legend]
Collaboration diagram for olp::geo::SubTiles::Iterator:
Collaboration graph
[legend]

Public Types

using ValueType = TileKey
 An alias for the tile key.
 

Public Member Functions

ValueType operator* () const
 Gets a reference to the tile key. More...
 
Iteratoroperator++ ()
 Iterates to the next tile. More...
 
Iterator operator++ (int)
 Iterates the specified number of times to the next tile. More...
 
bool operator== (Iterator &other) const
 Checks whether the iterators are equal. More...
 
bool operator!= (Iterator &other) const
 Checks whether the iterators are not equal. More...
 

Friends

class SubTiles
 

Detailed Description

The tile key iterator.

Member Function Documentation

◆ operator!=()

bool olp::geo::SubTiles::Iterator::operator!= ( Iterator other) const
inline

Checks whether the iterators are not equal.

Parameters
otherThe other iterator.
Returns
True if the iterators are not equal; false otherwise.

◆ operator*()

SubTiles::Iterator::ValueType olp::geo::SubTiles::Iterator::operator* ( ) const
inline

Gets a reference to the tile key.

Returns
The reference to the tile key.

◆ operator++() [1/2]

SubTiles::Iterator & olp::geo::SubTiles::Iterator::operator++ ( )
inline

Iterates to the next tile.

Returns
A reference to this.

◆ operator++() [2/2]

SubTiles::Iterator olp::geo::SubTiles::Iterator::operator++ ( int  )
inline

Iterates the specified number of times to the next tile.

Returns
A new iterator.

◆ operator==()

bool olp::geo::SubTiles::Iterator::operator== ( Iterator other) const
inline

Checks whether the iterators are equal.

Parameters
otherThe other iterator.
Returns
True if the iterators are equal; false otherwise.

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