cesium-native  0.41.0
Enum.h
1 // This file was generated by generate-classes.
2 // DO NOT EDIT THIS FILE!
3 #pragma once
4 
5 #include "CesiumGltf/EnumValue.h"
6 #include "CesiumGltf/Library.h"
7 
8 #include <CesiumUtility/ExtensibleObject.h>
9 
10 #include <optional>
11 #include <string>
12 #include <vector>
13 
14 namespace CesiumGltf {
18 struct CESIUMGLTF_API Enum final : public CesiumUtility::ExtensibleObject {
19  static inline constexpr const char* TypeName = "Enum";
20 
24  struct ValueType {
25  inline static const std::string INT8 = "INT8";
26 
27  inline static const std::string UINT8 = "UINT8";
28 
29  inline static const std::string INT16 = "INT16";
30 
31  inline static const std::string UINT16 = "UINT16";
32 
33  inline static const std::string INT32 = "INT32";
34 
35  inline static const std::string UINT32 = "UINT32";
36 
37  inline static const std::string INT64 = "INT64";
38 
39  inline static const std::string UINT64 = "UINT64";
40  };
41 
45  std::optional<std::string> name;
46 
50  std::optional<std::string> description;
51 
58  std::string valueType = ValueType::UINT16;
59 
64  std::vector<CesiumGltf::EnumValue> values;
65 };
66 } // namespace CesiumGltf
Classes for working with glTF models.
Known values for The type of the integer enum value.
Definition: Enum.h:24
An object defining the values of an enum.
Definition: Enum.h:18
std::vector< CesiumGltf::EnumValue > values
An array of enum values. Duplicate names or duplicate integer values are not allowed.
Definition: Enum.h:64
std::optional< std::string > name
The name of the enum, e.g. for display purposes.
Definition: Enum.h:45
std::optional< std::string > description
The description of the enum.
Definition: Enum.h:50
The base class for objects that have extensions and extras.