5#include <Cesium3DTiles/Library.h>
6#include <CesiumUtility/ExtensibleObject.h>
7#include <CesiumUtility/JsonValue.h>
22 "ExtensionSchemaMaxarContentGeoJsonPropertiesValue";
30 inline static const std::string
Integer =
"Integer";
33 inline static const std::string
Float =
"Float";
36 inline static const std::string
String =
"String";
39 inline static const std::string
Boolean =
"Boolean";
42 inline static const std::string
Variant =
"Variant";
68 std::optional<std::string>
unit;
75 std::optional<double>
max;
82 std::optional<double>
min;
88 std::optional<bool>
required = std::optional<bool>();
114 accum += int64_t(this->
id.capacity() *
sizeof(
char));
115 if (this->description) {
116 accum += int64_t(this->description->capacity() *
sizeof(
char));
119 accum += int64_t(this->unit->capacity() *
sizeof(
char));
121 if (this->semantic) {
122 accum += int64_t(this->semantic->capacity() *
sizeof(
char));
Classes for using 3D Tiles.
Known values for Expected datatype of the property value in the GeoJSON Feature's 'properties' object...
static const std::string String
String
static const std::string Integer
Integer
static const std::string Boolean
Boolean
static const std::string Variant
Variant
static const std::string Float
Float
ExtensionSchemaMaxarContentGeoJson Properties Value.
std::optional< double > min
Minimum allowed value for the property. Only applicable to integer and float types....
std::string id
Unique property identifier that corresponds to a property name in the GeoJSON Feature's 'properties' ...
std::optional< std::string > semantic
An identifier that describes how this property should be interpreted. The semantic cannot be used by ...
static constexpr const char * TypeName
The original name of this type.
std::optional< std::string > unit
Unit of the specified property.
std::optional< double > max
Maximum allowed value for the property. Only applicable to integer and float types....
std::optional< CesiumUtility::JsonValue > defaultProperty
A default value to use when this property is missing from a GeoJSON Feature's 'properties' object....
std::optional< std::string > description
Human readable description of the property.
std::optional< bool > required
If true, this property must be present in the 'properties' object of every GeoJSON Feature in the ass...
int64_t getSizeBytes() const
Calculates the size in bytes of this object, including the contents of all collections,...
std::string type
Expected datatype of the property value in the GeoJSON Feature's 'properties' object.
The base class for objects that have extensions and extras.
int64_t getSizeBytes() const
Calculates the size in bytes of this ExtensibleObject, including all of its extras but NOT including ...