5#include <CesiumTilesetJson/Library.h>
6#include <CesiumTilesetJson/PropertyStatistics.h>
7#include <CesiumUtility/ExtensibleObject.h>
12#include <unordered_map>
24 static constexpr const char*
TypeName =
"ClassStatistics";
36 std::unordered_map<std::string, CesiumTilesetJson::PropertyStatistics>
54 accum += int64_t(k.capacity() *
sizeof(
char) -
sizeof(std::string));
55 accum += v.getSizeBytes() -
Classes to represent a tileset.json from 3D Tiles 1.1.
Statistics about entities that conform to a class that was defined in a metadata schema.
static constexpr const char * TypeName
The original name of this type.
std::unordered_map< std::string, CesiumTilesetJson::PropertyStatistics > properties
A dictionary, where each key corresponds to a property ID in the class' properties dictionary and eac...
int64_t getSizeBytes() const
Calculates the size in bytes of this object, including the contents of all collections,...
std::optional< int64_t > count
The number of entities that conform to the class.
Statistics about property values.
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 ...