cesium-native 0.43.0
|
An STL-compatible iterator over the children of a quadtree tile. More...
#include <Cesium3DTilesContent/ImplicitTilingUtilities.h>
Public Types | |
using | iterator_category = std::forward_iterator_tag |
The iterator category tag denoting this is a forward iterator. | |
using | value_type = CesiumGeometry::QuadtreeTileID |
The type of value that is being iterated over. | |
using | difference_type = void |
The type used to identify distance between iterators. | |
using | pointer = CesiumGeometry::QuadtreeTileID* |
A pointer to the type being iterated over. | |
using | reference = CesiumGeometry::QuadtreeTileID& |
A reference to the type being iterated over. | |
Public Member Functions | |
iterator (const CesiumGeometry::QuadtreeTileID &parentTileID, bool isEnd) noexcept | |
Creates a new iterator over the children of a quadtree tile. | |
const CesiumGeometry::QuadtreeTileID & | operator* () const |
Returns a reference to the current CesiumGeometry::QuadtreeTileID being iterated. | |
const CesiumGeometry::QuadtreeTileID * | operator-> () const |
Returns a pointer to the current CesiumGeometry::QuadtreeTileID being iterated. | |
iterator & | operator++ () |
Advances the iterator to the next child. | |
iterator | operator++ (int) |
Advances the iterator to the next child. | |
bool | operator== (const iterator &rhs) const noexcept |
Checks if two iterators are at the same child. | |
bool | operator!= (const iterator &rhs) const noexcept |
Checks if two iterators are NOT at the same child. | |
An STL-compatible iterator over the children of a quadtree tile.
Definition at line 35 of file ImplicitTilingUtilities.h.
The type used to identify distance between iterators.
This is void
as the distance between two QuadtreeTileIDs isn't particularly useful.
Definition at line 51 of file ImplicitTilingUtilities.h.
using Cesium3DTilesContent::QuadtreeChildren::iterator::iterator_category = std::forward_iterator_tag |
The iterator category tag denoting this is a forward iterator.
Definition at line 40 of file ImplicitTilingUtilities.h.
A pointer to the type being iterated over.
Definition at line 55 of file ImplicitTilingUtilities.h.
A reference to the type being iterated over.
Definition at line 59 of file ImplicitTilingUtilities.h.
The type of value that is being iterated over.
Definition at line 44 of file ImplicitTilingUtilities.h.
|
explicitnoexcept |
Creates a new iterator over the children of a quadtree tile.
parentTileID | The CesiumGeometry::QuadtreeTileID of the parent tile whose children will be iterated over. |
isEnd | If true, this iterator will start at the end of the data it's iterating over. |
|
inline |
Returns a reference to the current CesiumGeometry::QuadtreeTileID being iterated.
Definition at line 77 of file ImplicitTilingUtilities.h.
|
inline |
Returns a pointer to the current CesiumGeometry::QuadtreeTileID being iterated.
Definition at line 84 of file ImplicitTilingUtilities.h.