cesium-native 0.62.0
Loading...
Searching...
No Matches
ExtensionSchemaMaxarContentGeoJson.h
1// This file was generated by generate-classes.
2// DO NOT EDIT THIS FILE!
3#pragma once
4
5#include <Cesium3DTiles/ExtensionSchemaMaxarContentGeoJsonGeometryValue.h>
6#include <Cesium3DTiles/ExtensionSchemaMaxarContentGeoJsonPropertiesValue.h>
7#include <Cesium3DTiles/Library.h>
8#include <CesiumUtility/ExtensibleObject.h>
9
10#include <optional>
11#include <string>
12#include <vector>
13
14namespace Cesium3DTiles {
22struct CESIUM3DTILES_API ExtensionSchemaMaxarContentGeoJson final
27 static constexpr const char* TypeName = "ExtensionSchemaMaxarContentGeoJson";
30 static constexpr const char* ExtensionName = "MAXAR_content_geojson";
31
35 std::optional<std::string> name;
36
42 std::string semantic;
43
48
56 std::vector<Cesium3DTiles::ExtensionSchemaMaxarContentGeoJsonPropertiesValue>
58
65 int64_t getSizeBytes() const {
66 int64_t accum = 0;
67 accum += int64_t(sizeof(ExtensionSchemaMaxarContentGeoJson));
69 int64_t(sizeof(CesiumUtility::ExtensibleObject));
70 if (this->name) {
71 accum += int64_t(this->name->capacity() * sizeof(char));
72 }
73 accum += int64_t(this->semantic.capacity() * sizeof(char));
74 accum +=
75 this->geometry.getSizeBytes() -
76 int64_t(sizeof(
78 accum += int64_t(
79 sizeof(
81 this->properties.capacity());
83 value : this->properties) {
84 accum += value.getSizeBytes() -
85 int64_t(sizeof(
88 }
89 return accum;
90 }
91};
92} // namespace Cesium3DTiles
Classes for using 3D Tiles.
Definition Buffer.h:7
int64_t getSizeBytes() const
Calculates the size in bytes of this object, including the contents of all collections,...
External metadata schema that describes the structure and validation rules for properties found in Ge...
int64_t getSizeBytes() const
Calculates the size in bytes of this object, including the contents of all collections,...
static constexpr const char * ExtensionName
The official name of the extension. This should be the same as its key in the extensions object.
Cesium3DTiles::ExtensionSchemaMaxarContentGeoJsonGeometryValue geometry
geometry
std::optional< std::string > name
Human readable name for the properties schema.
static constexpr const char * TypeName
The original name of this type.
std::vector< Cesium3DTiles::ExtensionSchemaMaxarContentGeoJsonPropertiesValue > properties
An array of property definitions that correspond to the properties found in GeoJSON Feature objects....
std::string semantic
A high-level identifier that define the meaning of the properties. Recommended best practice is to se...
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 ...