cesium-native 0.62.0
Loading...
Searching...
No Matches
ExtensionMetadataEntityMaxarContentGeoJson.h
1// This file was generated by generate-classes.
2// DO NOT EDIT THIS FILE!
3#pragma once
4
5#include <Cesium3DTiles/Library.h>
6#include <CesiumUtility/ExtensibleObject.h>
7
8#include <optional>
9#include <string>
10
11namespace Cesium3DTiles {
15struct CESIUM3DTILES_API ExtensionMetadataEntityMaxarContentGeoJson final
20 static constexpr const char* TypeName =
21 "ExtensionMetadataEntityMaxarContentGeoJson";
24 static constexpr const char* ExtensionName = "MAXAR_content_geojson";
25
29 std::optional<std::string> propertiesSchemaUri;
30
37 int64_t getSizeBytes() const {
38 int64_t accum = 0;
39 accum += int64_t(sizeof(ExtensionMetadataEntityMaxarContentGeoJson));
41 int64_t(sizeof(CesiumUtility::ExtensibleObject));
42 if (this->propertiesSchemaUri) {
43 accum += int64_t(this->propertiesSchemaUri->capacity() * sizeof(char));
44 }
45 return accum;
46 }
47};
48} // namespace Cesium3DTiles
Classes for using 3D Tiles.
Definition Buffer.h:7
Enables loading optional metadata schema for GeoJSON properties.
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.
static constexpr const char * TypeName
The original name of this type.
std::optional< std::string > propertiesSchemaUri
The URI (or IRI) of the external schema file for feature metadata.
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 ...