cesium-native 0.50.0
Loading...
Searching...
No Matches
CesiumVectorData::ConstGeoJsonPrimitiveIterator< TSingle, TMulti, TValue > Struct Template Reference

Returns all geometry data of a given type from a GeoJsonObject. More...

#include <CesiumVectorData/GeoJsonObject.h>

Public Member Functions

reference operator* () const
 Returns a reference to the current value.
 
pointer operator-> ()
 Returns a pointer to the current value.
 
ConstGeoJsonPrimitiveIteratoroperator++ ()
 Iterates to the next value, returning the modified iterator.
 
ConstGeoJsonPrimitiveIterator operator++ (int)
 Iterates to the next value, returning the previous state of the iterator.
 
 ConstGeoJsonPrimitiveIterator (const GeoJsonObject &rootObject)
 Creates a new ConstGeoJsonPrimitiveIterator from the given root GeoJsonObject.
 
 ConstGeoJsonPrimitiveIterator ()=default
 Creates an empty ConstGeoJsonPrimitiveIterator.
 

Friends

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

Detailed Description

template<typename TSingle, typename TMulti, typename TValue>
struct CesiumVectorData::ConstGeoJsonPrimitiveIterator< TSingle, TMulti, TValue >

Returns all geometry data of a given type from a GeoJsonObject.

Template Parameters
TSingleThe type of the "single" version of this geometry object. For example, Point.
TMultiThe type of the "multi" version of this geometry object. For example, MultiPoint.
TValueThe type of the geometry data included in both TSingle::coordinates and TMulti::coordinates[i].

Definition at line 539 of file GeoJsonObject.h.

Constructor & Destructor Documentation

◆ ConstGeoJsonPrimitiveIterator()

template<typename TSingle, typename TMulti, typename TValue>
CesiumVectorData::ConstGeoJsonPrimitiveIterator< TSingle, TMulti, TValue >::ConstGeoJsonPrimitiveIterator ( const GeoJsonObject & rootObject)
inline

Creates a new ConstGeoJsonPrimitiveIterator from the given root GeoJsonObject.

Definition at line 604 of file GeoJsonObject.h.

Member Function Documentation

◆ operator*()

template<typename TSingle, typename TMulti, typename TValue>
reference CesiumVectorData::ConstGeoJsonPrimitiveIterator< TSingle, TMulti, TValue >::operator* ( ) const
inline

Returns a reference to the current value.

Definition at line 552 of file GeoJsonObject.h.

◆ operator++() [1/2]

template<typename TSingle, typename TMulti, typename TValue>
ConstGeoJsonPrimitiveIterator & CesiumVectorData::ConstGeoJsonPrimitiveIterator< TSingle, TMulti, TValue >::operator++ ( )
inline

Iterates to the next value, returning the modified iterator.

Definition at line 568 of file GeoJsonObject.h.

◆ operator++() [2/2]

template<typename TSingle, typename TMulti, typename TValue>
ConstGeoJsonPrimitiveIterator CesiumVectorData::ConstGeoJsonPrimitiveIterator< TSingle, TMulti, TValue >::operator++ ( int )
inline

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

Definition at line 576 of file GeoJsonObject.h.

◆ operator->()

template<typename TSingle, typename TMulti, typename TValue>
pointer CesiumVectorData::ConstGeoJsonPrimitiveIterator< TSingle, TMulti, TValue >::operator-> ( )
inline

Returns a pointer to the current value.

Definition at line 563 of file GeoJsonObject.h.

Friends And Related Symbol Documentation

◆ operator!=

template<typename TSingle, typename TMulti, typename TValue>
bool operator!= ( const ConstGeoJsonPrimitiveIterator< TSingle, TMulti, TValue > & a,
const ConstGeoJsonPrimitiveIterator< TSingle, TMulti, TValue > & b )
friend

Checks if two ConstGeoJsonPrimitiveIterator iterators are not equal.

Definition at line 594 of file GeoJsonObject.h.

◆ operator==

template<typename TSingle, typename TMulti, typename TValue>
bool operator== ( const ConstGeoJsonPrimitiveIterator< TSingle, TMulti, TValue > & a,
const ConstGeoJsonPrimitiveIterator< TSingle, TMulti, TValue > & b )
friend

Checks if two ConstGeoJsonPrimitiveIterator iterators are equal.

Definition at line 585 of file GeoJsonObject.h.


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