cesium-native  0.41.0
Schema.h
1 // This file was generated by generate-classes.
2 // DO NOT EDIT THIS FILE!
3 #pragma once
4 
5 #include "Cesium3DTiles/Class.h"
6 #include "Cesium3DTiles/Enum.h"
7 #include "Cesium3DTiles/Library.h"
8 
9 #include <CesiumUtility/ExtensibleObject.h>
10 
11 #include <optional>
12 #include <string>
13 #include <unordered_map>
14 
15 namespace Cesium3DTiles {
19 struct CESIUM3DTILES_API Schema final : public CesiumUtility::ExtensibleObject {
20  static inline constexpr const char* TypeName = "Schema";
21 
26  std::string id;
27 
31  std::optional<std::string> name;
32 
36  std::optional<std::string> description;
37 
41  std::optional<std::string> version;
42 
48  std::unordered_map<std::string, Cesium3DTiles::Class> classes;
49 
55  std::unordered_map<std::string, Cesium3DTiles::Enum> enums;
56 };
57 } // namespace Cesium3DTiles
Classes for using 3D Tiles.
Definition: Buffer.h:7
An object defining classes and enums.
Definition: Schema.h:19
std::optional< std::string > description
The description of the schema.
Definition: Schema.h:36
std::string id
Unique identifier for the schema. Schema IDs shall be alphanumeric identifiers matching the regular e...
Definition: Schema.h:26
std::unordered_map< std::string, Cesium3DTiles::Enum > enums
A dictionary, where each key is an enum ID and each value is an object defining the values for the en...
Definition: Schema.h:55
std::optional< std::string > version
Application-specific version of the schema.
Definition: Schema.h:41
std::unordered_map< std::string, Cesium3DTiles::Class > classes
A dictionary, where each key is a class ID and each value is an object defining the class....
Definition: Schema.h:48
std::optional< std::string > name
The name of the schema, e.g. for display purposes.
Definition: Schema.h:31
The base class for objects that have extensions and extras.