5 #include "CesiumGltf/EnumValue.h"
6 #include "CesiumGltf/Library.h"
8 #include <CesiumUtility/ExtensibleObject.h>
19 static inline constexpr
const char* TypeName =
"Enum";
25 inline static const std::string INT8 =
"INT8";
27 inline static const std::string UINT8 =
"UINT8";
29 inline static const std::string INT16 =
"INT16";
31 inline static const std::string UINT16 =
"UINT16";
33 inline static const std::string INT32 =
"INT32";
35 inline static const std::string UINT32 =
"UINT32";
37 inline static const std::string INT64 =
"INT64";
39 inline static const std::string UINT64 =
"UINT64";
45 std::optional<std::string>
name;
58 std::string valueType = ValueType::UINT16;
64 std::vector<CesiumGltf::EnumValue>
values;
Classes for working with glTF models.
Known values for The type of the integer enum value.
An object defining the values of an enum.
std::vector< CesiumGltf::EnumValue > values
An array of enum values. Duplicate names or duplicate integer values are not allowed.
std::optional< std::string > name
The name of the enum, e.g. for display purposes.
std::optional< std::string > description
The description of the enum.
The base class for objects that have extensions and extras.