cesium-native 0.61.0
Loading...
Searching...
No Matches
Extension3dTilesContentConditionalDimensionsValue.h
1// This file was generated by generate-classes.
2// DO NOT EDIT THIS FILE!
3#pragma once
4
5#include <Cesium3DTiles/Library.h>
6#include <CesiumUtility/ExtensibleObject.h>
7#include <CesiumUtility/JsonValue.h>
8
9#include <string>
10#include <vector>
11
12namespace Cesium3DTiles {
21 static constexpr const char* TypeName =
22 "Extension3dTilesContentConditionalDimensionsValue";
23
28 std::string name;
29
33 std::vector<CesiumUtility::JsonValue> keySet;
34
41 int64_t getSizeBytes() const {
42 int64_t accum = 0;
45 int64_t(sizeof(CesiumUtility::ExtensibleObject));
46 accum += int64_t(this->name.capacity() * sizeof(char));
47 accum +=
48 int64_t(sizeof(CesiumUtility::JsonValue) * this->keySet.capacity());
49 return accum;
50 }
51};
52} // namespace Cesium3DTiles
A generic implementation of a value in a JSON structure.
Definition JsonValue.h:53
Classes for using 3D Tiles.
Definition Buffer.h:7
std::vector< CesiumUtility::JsonValue > keySet
The set of all values that appear in any condition.
std::string name
The name of the property that is used for defining the condition, to be used as one of the keys in th...
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 ...