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

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

namespace CesiumJsonReader {
class ExtensionReaderContext;
}

namespace CesiumGltfReader {
class AnimationSamplerJsonHandler
    : public CesiumJsonReader::ExtensibleObjectJsonHandler {
public:
  using ValueType = CesiumGltf::AnimationSampler;

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

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

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

private:
  CesiumGltf::AnimationSampler* _pObject = nullptr;
  CesiumJsonReader::IntegerJsonHandler<int32_t> _input;
  CesiumJsonReader::StringJsonHandler _interpolation;
  CesiumJsonReader::IntegerJsonHandler<int32_t> _output;
};
} // namespace CesiumGltfReader
