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

#include <CesiumGltf/ExtensionExtStructuralMetadataPropertyTableProperty.h>
#include <CesiumJsonReader/ExtensibleObjectJsonHandler.h>
#include <CesiumJsonReader/IntegerJsonHandler.h>
#include <CesiumJsonReader/JsonObjectJsonHandler.h>
#include <CesiumJsonReader/StringJsonHandler.h>

namespace CesiumJsonReader {
class ExtensionReaderContext;
}

namespace CesiumGltfReader {
class ExtensionExtStructuralMetadataPropertyTablePropertyJsonHandler
    : public CesiumJsonReader::ExtensibleObjectJsonHandler {
public:
  using ValueType =
      CesiumGltf::ExtensionExtStructuralMetadataPropertyTableProperty;

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

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

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

private:
  CesiumGltf::ExtensionExtStructuralMetadataPropertyTableProperty* _pObject =
      nullptr;
  CesiumJsonReader::IntegerJsonHandler<int32_t> _values;
  CesiumJsonReader::IntegerJsonHandler<int32_t> _arrayOffsets;
  CesiumJsonReader::IntegerJsonHandler<int32_t> _stringOffsets;
  CesiumJsonReader::StringJsonHandler _arrayOffsetType;
  CesiumJsonReader::StringJsonHandler _stringOffsetType;
  CesiumJsonReader::JsonObjectJsonHandler _offset;
  CesiumJsonReader::JsonObjectJsonHandler _scale;
  CesiumJsonReader::JsonObjectJsonHandler _max;
  CesiumJsonReader::JsonObjectJsonHandler _min;
};
} // namespace CesiumGltfReader
