cesium-native 0.50.0
Loading...
Searching...
No Matches
CesiumVectorData::ConstGeoJsonObjectTypeIterator< TObject > Struct Template Reference

An iterator over all GeoJsonObject objects that contain a value of type ObjectType. More...

#include <CesiumVectorData/GeoJsonObject.h>

Public Member Functions

reference operator* () const
 Returns a reference to the current object.
 
pointer operator-> ()
 Returns a pointer to the current object.
 
ConstGeoJsonObjectTypeIteratoroperator++ ()
 Iterates to the next ObjectType, returning this modified iterator.
 
ConstGeoJsonObjectTypeIterator operator++ (int)
 Iterates to the next ObjectType, returning the previous state of the iterator.
 
 ConstGeoJsonObjectTypeIterator (const GeoJsonObject &rootObject)
 Creates a new ConstGeoJsonObjectTypeIterator with the given GeoJsonObject as the root object.
 
 ConstGeoJsonObjectTypeIterator ()=default
 Creates a new ConstGeoJsonObjectTypeIterator without any GeoJsonObject. This is equivalent to an "end" iterator.
 

Friends

bool operator== (const ConstGeoJsonObjectTypeIterator &a, const ConstGeoJsonObjectTypeIterator &b)
 Checks if two ConstGeoJsonObjectTypeIterator iterators are equal.
 
bool operator!= (const ConstGeoJsonObjectTypeIterator &a, const ConstGeoJsonObjectTypeIterator &b)
 Checks if two ConstGeoJsonObjectTypeIterator iterators are not equal.
 

Detailed Description

template<typename TObject>
struct CesiumVectorData::ConstGeoJsonObjectTypeIterator< TObject >

An iterator over all GeoJsonObject objects that contain a value of type ObjectType.

Definition at line 645 of file GeoJsonObject.h.

Constructor & Destructor Documentation

◆ ConstGeoJsonObjectTypeIterator()

template<typename TObject>
CesiumVectorData::ConstGeoJsonObjectTypeIterator< TObject >::ConstGeoJsonObjectTypeIterator ( const GeoJsonObject & rootObject)
inline

Creates a new ConstGeoJsonObjectTypeIterator with the given GeoJsonObject as the root object.

Parameters
rootObjectThe root object of the new iterator. This will be the first object returned.

Definition at line 703 of file GeoJsonObject.h.

Member Function Documentation

◆ operator*()

template<typename TObject>
reference CesiumVectorData::ConstGeoJsonObjectTypeIterator< TObject >::operator* ( ) const
inline

Returns a reference to the current object.

Definition at line 656 of file GeoJsonObject.h.

◆ operator++() [1/2]

template<typename TObject>
ConstGeoJsonObjectTypeIterator & CesiumVectorData::ConstGeoJsonObjectTypeIterator< TObject >::operator++ ( )
inline

Iterates to the next ObjectType, returning this modified iterator.

Definition at line 664 of file GeoJsonObject.h.

◆ operator++() [2/2]

template<typename TObject>
ConstGeoJsonObjectTypeIterator CesiumVectorData::ConstGeoJsonObjectTypeIterator< TObject >::operator++ ( int )
inline

Iterates to the next ObjectType, returning the previous state of the iterator.

Definition at line 672 of file GeoJsonObject.h.

◆ operator->()

template<typename TObject>
pointer CesiumVectorData::ConstGeoJsonObjectTypeIterator< TObject >::operator-> ( )
inline

Returns a pointer to the current object.

Definition at line 658 of file GeoJsonObject.h.

Friends And Related Symbol Documentation

◆ operator!=

template<typename TObject>
bool operator!= ( const ConstGeoJsonObjectTypeIterator< TObject > & a,
const ConstGeoJsonObjectTypeIterator< TObject > & b )
friend

Checks if two ConstGeoJsonObjectTypeIterator iterators are not equal.

Definition at line 690 of file GeoJsonObject.h.

◆ operator==

template<typename TObject>
bool operator== ( const ConstGeoJsonObjectTypeIterator< TObject > & a,
const ConstGeoJsonObjectTypeIterator< TObject > & b )
friend

Checks if two ConstGeoJsonObjectTypeIterator iterators are equal.

Definition at line 681 of file GeoJsonObject.h.


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