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 "Cesium3DTiles/EnumValue.h"
6 #include "Cesium3DTiles/Library.h"
7 
8 #include <CesiumUtility/ExtensibleObject.h>
9 
10 #include <optional>
11 #include <string>
12 #include <vector>
13 
14 namespace Cesium3DTiles {
18 struct CESIUM3DTILES_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<Cesium3DTiles::EnumValue> values;
65 };
66 } // namespace Cesium3DTiles
Classes for using 3D Tiles.
Definition: Buffer.h:7
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< Cesium3DTiles::EnumValue > values
An array of enum values. Duplicate names or duplicate integer values are not allowed.
Definition: Enum.h:64
std::optional< std::string > description
The description of the enum.
Definition: Enum.h:50
std::optional< std::string > name
The name of the enum, e.g. for display purposes.
Definition: Enum.h:45
The base class for objects that have extensions and extras.