|
cesium-native 0.52.0
|
Iterates over a GeoJsonObject and all of its children. 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. | |
| GeoJsonObject * | getFeature () const |
| 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). | |
| GeoJsonObjectIterator & | operator++ () |
| Iterates to the next GeoJsonObject, returning this modified iterator. | |
| GeoJsonObjectIterator | operator++ (int) |
| Iterates to the next GeoJsonObject, returning the previous state of the iterator. | |
| GeoJsonObjectIterator (GeoJsonObject &rootObject) | |
| Creates a new GeoJsonObjectIterator with the given GeoJsonObject as the root object. | |
| GeoJsonObjectIterator () | |
| Creates a new GeoJsonObjectIterator without any GeoJsonObject. This is equivalent to an "end" iterator. | |
Friends | |
| struct | ConstGeoJsonObjectIterator |
| bool | operator== (const GeoJsonObjectIterator &a, const GeoJsonObjectIterator &b) |
| Checks if two GeoJsonObjectIterator iterators are equal. | |
| bool | operator!= (const GeoJsonObjectIterator &a, const GeoJsonObjectIterator &b) |
| Checks if two GeoJsonObjectIterator iterators are not equal. | |
Iterates over a GeoJsonObject and all of its children.
Definition at line 245 of file GeoJsonObject.h.
|
inline |
Creates a new GeoJsonObjectIterator 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 348 of file GeoJsonObject.h.
|
inline |
Creates a new GeoJsonObjectIterator without any GeoJsonObject. This is equivalent to an "end" iterator.
Definition at line 359 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 274 of file GeoJsonObject.h.
|
inline |
Returns true if this is an "end" iterator (points past the end of all objects).
Definition at line 288 of file GeoJsonObject.h.
|
inline |
Returns a reference to the current object.
Definition at line 264 of file GeoJsonObject.h.
|
inline |
Iterates to the next GeoJsonObject, returning this modified iterator.
Definition at line 296 of file GeoJsonObject.h.
|
inline |
Iterates to the next GeoJsonObject, returning the previous state of the iterator.
Definition at line 304 of file GeoJsonObject.h.
|
inline |
Returns a pointer to the current object.
Definition at line 266 of file GeoJsonObject.h.
|
friend |
Definition at line 438 of file GeoJsonObject.h.
|
friend |
Checks if two GeoJsonObjectIterator iterators are not equal.
Definition at line 337 of file GeoJsonObject.h.
|
friend |
Checks if two GeoJsonObjectIterator iterators are equal.
Definition at line 314 of file GeoJsonObject.h.