|
cesium-native 0.52.0
|
The const equivalent of GeoJsonObjectIterator.
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. | |
| const GeoJsonObject * | getFeature () |
| Attempts to find the Feature that contains the current item the iterator is pointing to. | |
| bool | isEnded () const |
Returns true if this is an "end" iterator (points past the end of all objects). | |
| ConstGeoJsonObjectIterator & | operator++ () |
| Iterates to the next GeoJsonObject, returning this modified iterator. | |
| ConstGeoJsonObjectIterator | operator++ (int) |
| Iterates to the next GeoJsonObject, returning the previous state of the iterator. | |
| ConstGeoJsonObjectIterator (const GeoJsonObject &rootObject) | |
| Creates a new ConstGeoJsonObjectIterator with the given GeoJsonObject as the root object. | |
| ConstGeoJsonObjectIterator ()=default | |
| Creates a new ConstGeoJsonObjectIterator without any GeoJsonObject. This is equivalent to an "end" iterator. | |
Friends | |
| bool | operator== (const ConstGeoJsonObjectIterator &a, const ConstGeoJsonObjectIterator &b) |
| Checks if two ConstGeoJsonObjectIterator iterators are equal. | |
| bool | operator!= (const ConstGeoJsonObjectIterator &a, const ConstGeoJsonObjectIterator &b) |
| Checks if two ConstGeoJsonObjectIterator iterators are not equal. | |
The const equivalent of GeoJsonObjectIterator.
Definition at line 444 of file GeoJsonObject.h.
|
inline |
Creates a new ConstGeoJsonObjectIterator with the given GeoJsonObject as the root object.
| rootObject | The root object of the new iterator. This will be the first object returned. |
Definition at line 516 of file GeoJsonObject.h.
|
inline |
Attempts to find the Feature that contains the current item the iterator is pointing to.
If the iterator is pointing to a Feature, that Feature will be returned.
Definition at line 465 of file GeoJsonObject.h.
|
inline |
Returns true if this is an "end" iterator (points past the end of all objects).
Definition at line 471 of file GeoJsonObject.h.
|
inline |
Returns a reference to the current object.
Definition at line 455 of file GeoJsonObject.h.
|
inline |
Iterates to the next GeoJsonObject, returning this modified iterator.
Definition at line 477 of file GeoJsonObject.h.
|
inline |
Iterates to the next GeoJsonObject, returning the previous state of the iterator.
Definition at line 485 of file GeoJsonObject.h.
|
inline |
Returns a pointer to the current object.
Definition at line 457 of file GeoJsonObject.h.
|
friend |
Checks if two ConstGeoJsonObjectIterator iterators are not equal.
Definition at line 503 of file GeoJsonObject.h.
|
friend |
Checks if two ConstGeoJsonObjectIterator iterators are equal.
Definition at line 493 of file GeoJsonObject.h.