diff --git a/Cesium3DTilesWriter/generated/AssetJsonHandler.h b/Cesium3DTilesWriter/generated/AssetJsonHandler.h deleted file mode 100644 index ea0655c15..000000000 --- a/Cesium3DTilesWriter/generated/AssetJsonHandler.h +++ /dev/null @@ -1,35 +0,0 @@ -// This file was generated by generate-classes. -// DO NOT EDIT THIS FILE! -#pragma once - -#include -#include -#include - -namespace CesiumJsonWriter { -class ExtensionWriterContext; -} - -namespace Cesium3DTiles { -class AssetJsonHandler : public CesiumJsonWriter::ExtensibleObjectJsonHandler { -public: - using ValueType = Asset; - - AssetJsonHandler( - const CesiumJsonWriter::ExtensionWriterContext& context) noexcept; - void reset(IJsonHandler* pParentHandler, Asset* pObject); - - virtual IJsonHandler* writeObjectKey(const std::string_view& str) override; - -protected: - IJsonHandler* writeObjectKeyAsset( - const std::string& objectType, - const std::string_view& str, - Asset& o); - -private: - Asset* _pObject = nullptr; - CesiumJsonWriter::StringJsonHandler _version; - CesiumJsonWriter::StringJsonHandler _tilesetVersion; -}; -} // namespace Cesium3DTiles diff --git a/Cesium3DTilesWriter/generated/BoundingVolumeJsonHandler.h b/Cesium3DTilesWriter/generated/BoundingVolumeJsonHandler.h deleted file mode 100644 index 7a0b866f1..000000000 --- a/Cesium3DTilesWriter/generated/BoundingVolumeJsonHandler.h +++ /dev/null @@ -1,44 +0,0 @@ -// This file was generated by generate-classes. -// DO NOT EDIT THIS FILE! -#pragma once - -#include -#include -#include -#include - -namespace CesiumJsonWriter { -class ExtensionWriterContext; -} - -namespace Cesium3DTiles { -class BoundingVolumeJsonHandler - : public CesiumJsonWriter::ExtensibleObjectJsonHandler { -public: - using ValueType = BoundingVolume; - - BoundingVolumeJsonHandler( - const CesiumJsonWriter::ExtensionWriterContext& context) noexcept; - void reset(IJsonHandler* pParentHandler, BoundingVolume* pObject); - - virtual IJsonHandler* writeObjectKey(const std::string_view& str) override; - -protected: - IJsonHandler* writeObjectKeyBoundingVolume( - const std::string& objectType, - const std::string_view& str, - BoundingVolume& o); - -private: - BoundingVolume* _pObject = nullptr; - CesiumJsonWriter:: - ArrayJsonHandler - _box; - CesiumJsonWriter:: - ArrayJsonHandler - _region; - CesiumJsonWriter:: - ArrayJsonHandler - _sphere; -}; -} // namespace Cesium3DTiles diff --git a/Cesium3DTilesWriter/generated/ContentJsonHandler.h b/Cesium3DTilesWriter/generated/ContentJsonHandler.h deleted file mode 100644 index ff713cb50..000000000 --- a/Cesium3DTilesWriter/generated/ContentJsonHandler.h +++ /dev/null @@ -1,38 +0,0 @@ -// This file was generated by generate-classes. -// DO NOT EDIT THIS FILE! -#pragma once - -#include "BoundingVolumeJsonHandler.h" - -#include -#include -#include - -namespace CesiumJsonWriter { -class ExtensionWriterContext; -} - -namespace Cesium3DTiles { -class ContentJsonHandler - : public CesiumJsonWriter::ExtensibleObjectJsonHandler { -public: - using ValueType = Content; - - ContentJsonHandler( - const CesiumJsonWriter::ExtensionWriterContext& context) noexcept; - void reset(IJsonHandler* pParentHandler, Content* pObject); - - virtual IJsonHandler* writeObjectKey(const std::string_view& str) override; - -protected: - IJsonHandler* writeObjectKeyContent( - const std::string& objectType, - const std::string_view& str, - Content& o); - -private: - Content* _pObject = nullptr; - BoundingVolumeJsonHandler _boundingVolume; - CesiumJsonWriter::StringJsonHandler _uri; -}; -} // namespace Cesium3DTiles diff --git a/Cesium3DTilesWriter/generated/GeneratedJsonHandlers.cpp b/Cesium3DTilesWriter/generated/GeneratedJsonHandlers.cpp deleted file mode 100644 index ffafbcc30..000000000 --- a/Cesium3DTilesWriter/generated/GeneratedJsonHandlers.cpp +++ /dev/null @@ -1,301 +0,0 @@ -// This file was generated by generate-classes. -// DO NOT EDIT THIS FILE! -#include "TilesetJsonHandler.h" - -#include - -#include -#include - -using namespace Cesium3DTiles; - -TilesetJsonHandler::TilesetJsonHandler( - const CesiumJsonWriter::ExtensionWriterContext& context) noexcept - : CesiumJsonWriter::ExtensibleObjectJsonHandler(context), - _asset(context), - _properties(context), - _geometricError(), - _root(context), - _extensionsUsed(), - _extensionsRequired() {} - -void TilesetJsonHandler::reset( - CesiumJsonWriter::IJsonHandler* pParentHandler, - Tileset* pObject) { - CesiumJsonWriter::ExtensibleObjectJsonHandler::reset(pParentHandler, pObject); - this->_pObject = pObject; -} - -CesiumJsonWriter::IJsonHandler* -TilesetJsonHandler::writeObjectKey(const std::string_view& str) { - assert(this->_pObject); - return this->writeObjectKeyTileset(Tileset::TypeName, str, *this->_pObject); -} - -CesiumJsonWriter::IJsonHandler* TilesetJsonHandler::writeObjectKeyTileset( - const std::string& objectType, - const std::string_view& str, - Tileset& o) { - using namespace std::string_literals; - - if ("asset"s == str) - return property("asset", this->_asset, o.asset); - if ("properties"s == str) - return property("properties", this->_properties, o.properties); - if ("geometricError"s == str) - return property("geometricError", this->_geometricError, o.geometricError); - if ("root"s == str) - return property("root", this->_root, o.root); - if ("extensionsUsed"s == str) - return property("extensionsUsed", this->_extensionsUsed, o.extensionsUsed); - if ("extensionsRequired"s == str) - return property( - "extensionsRequired", - this->_extensionsRequired, - o.extensionsRequired); - - return this->writeObjectKeyExtensibleObject(objectType, str, *this->_pObject); -} -// This file was generated by generate-classes. -// DO NOT EDIT THIS FILE! -#include "TileJsonHandler.h" - -#include - -#include -#include - -using namespace Cesium3DTiles; - -TileJsonHandler::TileJsonHandler( - const CesiumJsonWriter::ExtensionWriterContext& context) noexcept - : CesiumJsonWriter::ExtensibleObjectJsonHandler(context), - _boundingVolume(context), - _viewerRequestVolume(context), - _geometricError(), - _refine(), - _transform(), - _content(context), - _children(context) {} - -void TileJsonHandler::reset( - CesiumJsonWriter::IJsonHandler* pParentHandler, - Tile* pObject) { - CesiumJsonWriter::ExtensibleObjectJsonHandler::reset(pParentHandler, pObject); - this->_pObject = pObject; -} - -CesiumJsonWriter::IJsonHandler* -TileJsonHandler::writeObjectKey(const std::string_view& str) { - assert(this->_pObject); - return this->writeObjectKeyTile(Tile::TypeName, str, *this->_pObject); -} - -CesiumJsonWriter::IJsonHandler* TileJsonHandler::writeObjectKeyTile( - const std::string& objectType, - const std::string_view& str, - Tile& o) { - using namespace std::string_literals; - - if ("boundingVolume"s == str) - return property("boundingVolume", this->_boundingVolume, o.boundingVolume); - if ("viewerRequestVolume"s == str) - return property( - "viewerRequestVolume", - this->_viewerRequestVolume, - o.viewerRequestVolume); - if ("geometricError"s == str) - return property("geometricError", this->_geometricError, o.geometricError); - if ("refine"s == str) - return property("refine", this->_refine, o.refine); - if ("transform"s == str) - return property("transform", this->_transform, o.transform); - if ("content"s == str) - return property("content", this->_content, o.content); - if ("children"s == str) - return property("children", this->_children, o.children); - - return this->writeObjectKeyExtensibleObject(objectType, str, *this->_pObject); -} -// This file was generated by generate-classes. -// DO NOT EDIT THIS FILE! -#include "ContentJsonHandler.h" - -#include - -#include -#include - -using namespace Cesium3DTiles; - -ContentJsonHandler::ContentJsonHandler( - const CesiumJsonWriter::ExtensionWriterContext& context) noexcept - : CesiumJsonWriter::ExtensibleObjectJsonHandler(context), - _boundingVolume(context), - _uri() {} - -void ContentJsonHandler::reset( - CesiumJsonWriter::IJsonHandler* pParentHandler, - Content* pObject) { - CesiumJsonWriter::ExtensibleObjectJsonHandler::reset(pParentHandler, pObject); - this->_pObject = pObject; -} - -CesiumJsonWriter::IJsonHandler* -ContentJsonHandler::writeObjectKey(const std::string_view& str) { - assert(this->_pObject); - return this->writeObjectKeyContent(Content::TypeName, str, *this->_pObject); -} - -CesiumJsonWriter::IJsonHandler* ContentJsonHandler::writeObjectKeyContent( - const std::string& objectType, - const std::string_view& str, - Content& o) { - using namespace std::string_literals; - - if ("boundingVolume"s == str) - return property("boundingVolume", this->_boundingVolume, o.boundingVolume); - if ("uri"s == str) - return property("uri", this->_uri, o.uri); - - return this->writeObjectKeyExtensibleObject(objectType, str, *this->_pObject); -} -// This file was generated by generate-classes. -// DO NOT EDIT THIS FILE! -#include "BoundingVolumeJsonHandler.h" - -#include - -#include -#include - -using namespace Cesium3DTiles; - -BoundingVolumeJsonHandler::BoundingVolumeJsonHandler( - const CesiumJsonWriter::ExtensionWriterContext& context) noexcept - : CesiumJsonWriter::ExtensibleObjectJsonHandler(context), - _box(), - _region(), - _sphere() {} - -void BoundingVolumeJsonHandler::reset( - CesiumJsonWriter::IJsonHandler* pParentHandler, - BoundingVolume* pObject) { - CesiumJsonWriter::ExtensibleObjectJsonHandler::reset(pParentHandler, pObject); - this->_pObject = pObject; -} - -CesiumJsonWriter::IJsonHandler* -BoundingVolumeJsonHandler::writeObjectKey(const std::string_view& str) { - assert(this->_pObject); - return this->writeObjectKeyBoundingVolume( - BoundingVolume::TypeName, - str, - *this->_pObject); -} - -CesiumJsonWriter::IJsonHandler* -BoundingVolumeJsonHandler::writeObjectKeyBoundingVolume( - const std::string& objectType, - const std::string_view& str, - BoundingVolume& o) { - using namespace std::string_literals; - - if ("box"s == str) - return property("box", this->_box, o.box); - if ("region"s == str) - return property("region", this->_region, o.region); - if ("sphere"s == str) - return property("sphere", this->_sphere, o.sphere); - - return this->writeObjectKeyExtensibleObject(objectType, str, *this->_pObject); -} -// This file was generated by generate-classes. -// DO NOT EDIT THIS FILE! -#include "PropertiesJsonHandler.h" - -#include - -#include -#include - -using namespace Cesium3DTiles; - -PropertiesJsonHandler::PropertiesJsonHandler( - const CesiumJsonWriter::ExtensionWriterContext& context) noexcept - : CesiumJsonWriter::ExtensibleObjectJsonHandler(context), - _maximum(), - _minimum() {} - -void PropertiesJsonHandler::reset( - CesiumJsonWriter::IJsonHandler* pParentHandler, - Properties* pObject) { - CesiumJsonWriter::ExtensibleObjectJsonHandler::reset(pParentHandler, pObject); - this->_pObject = pObject; -} - -CesiumJsonWriter::IJsonHandler* -PropertiesJsonHandler::writeObjectKey(const std::string_view& str) { - assert(this->_pObject); - return this->writeObjectKeyProperties( - Properties::TypeName, - str, - *this->_pObject); -} - -CesiumJsonWriter::IJsonHandler* PropertiesJsonHandler::writeObjectKeyProperties( - const std::string& objectType, - const std::string_view& str, - Properties& o) { - using namespace std::string_literals; - - if ("maximum"s == str) - return property("maximum", this->_maximum, o.maximum); - if ("minimum"s == str) - return property("minimum", this->_minimum, o.minimum); - - return this->writeObjectKeyExtensibleObject(objectType, str, *this->_pObject); -} -// This file was generated by generate-classes. -// DO NOT EDIT THIS FILE! -#include "AssetJsonHandler.h" - -#include - -#include -#include - -using namespace Cesium3DTiles; - -AssetJsonHandler::AssetJsonHandler( - const CesiumJsonWriter::ExtensionWriterContext& context) noexcept - : CesiumJsonWriter::ExtensibleObjectJsonHandler(context), - _version(), - _tilesetVersion() {} - -void AssetJsonHandler::reset( - CesiumJsonWriter::IJsonHandler* pParentHandler, - Asset* pObject) { - CesiumJsonWriter::ExtensibleObjectJsonHandler::reset(pParentHandler, pObject); - this->_pObject = pObject; -} - -CesiumJsonWriter::IJsonHandler* -AssetJsonHandler::writeObjectKey(const std::string_view& str) { - assert(this->_pObject); - return this->writeObjectKeyAsset(Asset::TypeName, str, *this->_pObject); -} - -CesiumJsonWriter::IJsonHandler* AssetJsonHandler::writeObjectKeyAsset( - const std::string& objectType, - const std::string_view& str, - Asset& o) { - using namespace std::string_literals; - - if ("version"s == str) - return property("version", this->_version, o.version); - if ("tilesetVersion"s == str) - return property("tilesetVersion", this->_tilesetVersion, o.tilesetVersion); - - return this->writeObjectKeyExtensibleObject(objectType, str, *this->_pObject); -} diff --git a/Cesium3DTilesWriter/generated/PropertiesJsonHandler.h b/Cesium3DTilesWriter/generated/PropertiesJsonHandler.h deleted file mode 100644 index d9eb286e5..000000000 --- a/Cesium3DTilesWriter/generated/PropertiesJsonHandler.h +++ /dev/null @@ -1,36 +0,0 @@ -// This file was generated by generate-classes. -// DO NOT EDIT THIS FILE! -#pragma once - -#include -#include -#include - -namespace CesiumJsonWriter { -class ExtensionWriterContext; -} - -namespace Cesium3DTiles { -class PropertiesJsonHandler - : public CesiumJsonWriter::ExtensibleObjectJsonHandler { -public: - using ValueType = Properties; - - PropertiesJsonHandler( - const CesiumJsonWriter::ExtensionWriterContext& context) noexcept; - void reset(IJsonHandler* pParentHandler, Properties* pObject); - - virtual IJsonHandler* writeObjectKey(const std::string_view& str) override; - -protected: - IJsonHandler* writeObjectKeyProperties( - const std::string& objectType, - const std::string_view& str, - Properties& o); - -private: - Properties* _pObject = nullptr; - CesiumJsonWriter::DoubleJsonHandler _maximum; - CesiumJsonWriter::DoubleJsonHandler _minimum; -}; -} // namespace Cesium3DTiles diff --git a/Cesium3DTilesWriter/generated/TileJsonHandler.h b/Cesium3DTilesWriter/generated/TileJsonHandler.h deleted file mode 100644 index 007985c8f..000000000 --- a/Cesium3DTilesWriter/generated/TileJsonHandler.h +++ /dev/null @@ -1,47 +0,0 @@ -// This file was generated by generate-classes. -// DO NOT EDIT THIS FILE! -#pragma once - -#include "BoundingVolumeJsonHandler.h" -#include "ContentJsonHandler.h" - -#include -#include -#include -#include -#include - -namespace CesiumJsonWriter { -class ExtensionWriterContext; -} - -namespace Cesium3DTiles { -class TileJsonHandler : public CesiumJsonWriter::ExtensibleObjectJsonHandler { -public: - using ValueType = Tile; - - TileJsonHandler( - const CesiumJsonWriter::ExtensionWriterContext& context) noexcept; - void reset(IJsonHandler* pParentHandler, Tile* pObject); - - virtual IJsonHandler* writeObjectKey(const std::string_view& str) override; - -protected: - IJsonHandler* writeObjectKeyTile( - const std::string& objectType, - const std::string_view& str, - Tile& o); - -private: - Tile* _pObject = nullptr; - BoundingVolumeJsonHandler _boundingVolume; - BoundingVolumeJsonHandler _viewerRequestVolume; - CesiumJsonWriter::DoubleJsonHandler _geometricError; - CesiumJsonWriter::StringJsonHandler _refine; - CesiumJsonWriter:: - ArrayJsonHandler - _transform; - ContentJsonHandler _content; - CesiumJsonWriter::ArrayJsonHandler _children; -}; -} // namespace Cesium3DTiles diff --git a/Cesium3DTilesWriter/generated/TilesetJsonHandler.h b/Cesium3DTilesWriter/generated/TilesetJsonHandler.h deleted file mode 100644 index 31478ff17..000000000 --- a/Cesium3DTilesWriter/generated/TilesetJsonHandler.h +++ /dev/null @@ -1,52 +0,0 @@ -// This file was generated by generate-classes. -// DO NOT EDIT THIS FILE! -#pragma once - -#include "AssetJsonHandler.h" -#include "PropertiesJsonHandler.h" -#include "TileJsonHandler.h" - -#include -#include -#include -#include -#include -#include - -namespace CesiumJsonWriter { -class ExtensionWriterContext; -} - -namespace Cesium3DTiles { -class TilesetJsonHandler - : public CesiumJsonWriter::ExtensibleObjectJsonHandler { -public: - using ValueType = Tileset; - - TilesetJsonHandler( - const CesiumJsonWriter::ExtensionWriterContext& context) noexcept; - void reset(IJsonHandler* pParentHandler, Tileset* pObject); - - virtual IJsonHandler* writeObjectKey(const std::string_view& str) override; - -protected: - IJsonHandler* writeObjectKeyTileset( - const std::string& objectType, - const std::string_view& str, - Tileset& o); - -private: - Tileset* _pObject = nullptr; - AssetJsonHandler _asset; - CesiumJsonWriter::DictionaryJsonHandler - _properties; - CesiumJsonWriter::DoubleJsonHandler _geometricError; - TileJsonHandler _root; - CesiumJsonWriter:: - ArrayJsonHandler - _extensionsUsed; - CesiumJsonWriter:: - ArrayJsonHandler - _extensionsRequired; -}; -} // namespace Cesium3DTiles