5#include <Cesium3DTiles/ClassStatistics.h>
6#include <Cesium3DTiles/Library.h>
7#include <CesiumUtility/ExtensibleObject.h>
10#include <unordered_map>
21 static constexpr const char* TypeName =
"Statistics";
29 std::unordered_map<std::string, Cesium3DTiles::ClassStatistics>
classes;
43 this->classes.bucket_count() *
45 for (
const auto& [k, v] : this->classes) {
46 accum += int64_t(k.capacity() *
sizeof(
char) -
sizeof(std::string));
Classes for using 3D Tiles.
Statistics about entities that conform to a class that was defined in a metadata schema.
Statistics about entities.
std::unordered_map< std::string, Cesium3DTiles::ClassStatistics > classes
A dictionary, where each key corresponds to a class ID in the classes dictionary of the metatata sche...
int64_t getSizeBytes() const
Calculates the size in bytes of this object, including the contents of all collections,...
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 ...