Cesium for Unreal 2.18.0
Loading...
Searching...
No Matches
UCesiumGeoJsonObjectIteratorFunctionLibrary Class Reference

#include <CesiumGeoJsonObjectIterator.h>

Inheritance diagram for UCesiumGeoJsonObjectIteratorFunctionLibrary:

Static Public Member Functions

static FCesiumGeoJsonObjectIterator Iterate (const FCesiumGeoJsonObject &Object)
 Creates an iterator over the GeoJSON object that will return this object and any children (and children of those children, and so on).
 
static FCesiumGeoJsonObject Next (UPARAM(Ref) FCesiumGeoJsonObjectIterator &Iterator)
 Moves the iterator to the next available GeoJSON object and returns that object.
 
static bool IsEnded (const FCesiumGeoJsonObjectIterator &Iterator)
 Checks if this iterator has ended (no further objects available).
 
static FCesiumGeoJsonFeature GetFeature (UPARAM(Ref) FCesiumGeoJsonObjectIterator &Iterator)
 Gets the feature the current object belongs to, if any.
 

Detailed Description

Definition at line 29 of file CesiumGeoJsonObjectIterator.h.

Member Function Documentation

◆ GetFeature()

static FCesiumGeoJsonFeature UCesiumGeoJsonObjectIteratorFunctionLibrary::GetFeature ( UPARAM(Ref) FCesiumGeoJsonObjectIterator & Iterator)
static

Gets the feature the current object belongs to, if any.

This will be the first parent of this object that is a feature. For example, with a document with a hierarchy like:

  • FeatureCollection -> Feature -> GeometryCollection -> Point Calling GetFeature on the Point, GeometryCollection, or Feature will both return the same Feature object. Calling GetFeature on the FeatureCollection will return an invalid feature as there is no parent feature.

◆ IsEnded()

static bool UCesiumGeoJsonObjectIteratorFunctionLibrary::IsEnded ( const FCesiumGeoJsonObjectIterator & Iterator)
static

Checks if this iterator has ended (no further objects available).

◆ Iterate()

static FCesiumGeoJsonObjectIterator UCesiumGeoJsonObjectIteratorFunctionLibrary::Iterate ( const FCesiumGeoJsonObject & Object)
static

Creates an iterator over the GeoJSON object that will return this object and any children (and children of those children, and so on).

◆ Next()

static FCesiumGeoJsonObject UCesiumGeoJsonObjectIteratorFunctionLibrary::Next ( UPARAM(Ref) FCesiumGeoJsonObjectIterator & Iterator)
static

Moves the iterator to the next available GeoJSON object and returns that object.

If no more objects are available, an invalid FCesiumGeoJsonObject is returned.


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