// This file was generated by generate-classes.
// DO NOT EDIT THIS FILE!
#pragma once

#include "TextureInfoJsonHandler.h"

#include <CesiumGltf/ExtensionExtStructuralMetadataPropertyTextureProperty.h>
#include <CesiumJsonReader/ArrayJsonHandler.h>
#include <CesiumJsonReader/IntegerJsonHandler.h>
#include <CesiumJsonReader/JsonObjectJsonHandler.h>

namespace CesiumJsonReader {
class ExtensionReaderContext;
}

namespace CesiumGltfReader {
class ExtensionExtStructuralMetadataPropertyTexturePropertyJsonHandler
    : public TextureInfoJsonHandler {
public:
  using ValueType =
      CesiumGltf::ExtensionExtStructuralMetadataPropertyTextureProperty;

  ExtensionExtStructuralMetadataPropertyTexturePropertyJsonHandler(
      const CesiumJsonReader::ExtensionReaderContext& context) noexcept;
  void reset(
      IJsonHandler* pParentHandler,
      CesiumGltf::ExtensionExtStructuralMetadataPropertyTextureProperty*
          pObject);

  virtual IJsonHandler* readObjectKey(const std::string_view& str) override;

protected:
  IJsonHandler*
  readObjectKeyExtensionExtStructuralMetadataPropertyTextureProperty(
      const std::string& objectType,
      const std::string_view& str,
      CesiumGltf::ExtensionExtStructuralMetadataPropertyTextureProperty& o);

private:
  CesiumGltf::ExtensionExtStructuralMetadataPropertyTextureProperty* _pObject =
      nullptr;
  CesiumJsonReader::
      ArrayJsonHandler<int64_t, CesiumJsonReader::IntegerJsonHandler<int64_t>>
          _channels;
  CesiumJsonReader::JsonObjectJsonHandler _offset;
  CesiumJsonReader::JsonObjectJsonHandler _scale;
  CesiumJsonReader::JsonObjectJsonHandler _max;
  CesiumJsonReader::JsonObjectJsonHandler _min;
};
} // namespace CesiumGltfReader
