5#include <CesiumGltf/Library.h>
6#include <CesiumUtility/ExtensibleObject.h>
20 static constexpr const char* TypeName =
"EnumValue";
35 int64_t value = int64_t();
48 accum += int64_t(this->name.capacity() *
sizeof(
char));
49 if (this->description) {
50 accum += int64_t(this->description->capacity() *
sizeof(
char));
Classes for working with glTF models.
std::optional< std::string > description
The description of the enum value.
int64_t getSizeBytes() const
Calculates the size in bytes of this object, including the contents of all collections,...
std::string name
The name of the enum value.
The base class for objects that have extensions and extras.
int64_t getSizeBytes() const
Calculates the size in bytes of this ExtensibleObject, including all of its extras but NOT including ...