5#include <Cesium3DTiles/Library.h>
6#include <Cesium3DTiles/PropertyStatistics.h>
7#include <CesiumUtility/ExtensibleObject.h>
12#include <unordered_map>
24 static constexpr const char* TypeName =
"ClassStatistics";
36 std::unordered_map<std::string, Cesium3DTiles::PropertyStatistics>
properties;
50 this->properties.bucket_count() *
52 for (
const auto& [k, v] : this->properties) {
53 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.
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.
std::unordered_map< std::string, Cesium3DTiles::PropertyStatistics > properties
A dictionary, where each key corresponds to a property ID in the class' properties dictionary and eac...
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 ...