5#include <CesiumGltf/Library.h>
6#include <CesiumUtility/ExtensibleObject.h>
7#include <CesiumUtility/JsonValue.h>
11#include <unordered_map>
22 static constexpr const char* TypeName =
"ExtensionExtStructuralMetadata";
25 static constexpr const char* ExtensionName =
"EXT_structural_metadata";
43 std::unordered_map<std::string, CesiumUtility::JsonValue>
properties;
56 if (this->classProperty) {
57 accum += int64_t(this->classProperty->capacity() *
sizeof(
char));
60 this->properties.bucket_count() *
62 for (
const auto& [k, v] : this->properties) {
63 accum += int64_t(k.capacity() *
sizeof(
char) -
sizeof(std::string));
A generic implementation of a value in a JSON structure.
Classes for working with glTF models.
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 ...