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

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

namespace CesiumJsonReader {
class JsonReaderOptions;
}

namespace CesiumGltfReader {
class PropertyTablePropertyJsonHandler
    : public CesiumJsonReader::ExtensibleObjectJsonHandler {
public:
  using ValueType = CesiumGltf::PropertyTableProperty;

  PropertyTablePropertyJsonHandler(
      const CesiumJsonReader::JsonReaderOptions& options) noexcept;
  void reset(
      IJsonHandler* pParentHandler,
      CesiumGltf::PropertyTableProperty* pObject);

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

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

private:
  CesiumGltf::PropertyTableProperty* _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
