cesium-native  0.41.0
Class.h
1 // This file was generated by generate-classes.
2 // DO NOT EDIT THIS FILE!
3 #pragma once
4 
5 #include "CesiumGltf/ClassProperty.h"
6 #include "CesiumGltf/Library.h"
7 
8 #include <CesiumUtility/ExtensibleObject.h>
9 
10 #include <optional>
11 #include <string>
12 #include <unordered_map>
13 
14 namespace CesiumGltf {
18 struct CESIUMGLTF_API Class final : public CesiumUtility::ExtensibleObject {
19  static inline constexpr const char* TypeName = "Class";
20 
24  std::optional<std::string> name;
25 
29  std::optional<std::string> description;
30 
36  std::unordered_map<std::string, CesiumGltf::ClassProperty> properties;
37 };
38 } // namespace CesiumGltf
Classes for working with glTF models.
A class containing a set of properties.
Definition: Class.h:18
std::optional< std::string > description
The description of the class.
Definition: Class.h:29
std::unordered_map< std::string, CesiumGltf::ClassProperty > properties
A dictionary, where each key is a property ID and each value is an object defining the property....
Definition: Class.h:36
std::optional< std::string > name
The name of the class, e.g. for display purposes.
Definition: Class.h:24
The base class for objects that have extensions and extras.