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

#include <CesiumGltf/TextureInfo.h>
#include <CesiumJsonReader/ExtensibleObjectJsonHandler.h>
#include <CesiumJsonReader/IntegerJsonHandler.h>

namespace CesiumJsonReader {
class ExtensionReaderContext;
}

namespace CesiumGltfReader {
class TextureInfoJsonHandler
    : public CesiumJsonReader::ExtensibleObjectJsonHandler {
public:
  using ValueType = CesiumGltf::TextureInfo;

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

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

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

private:
  CesiumGltf::TextureInfo* _pObject = nullptr;
  CesiumJsonReader::IntegerJsonHandler<int32_t> _index;
  CesiumJsonReader::IntegerJsonHandler<int64_t> _texCoord;
};
} // namespace CesiumGltfReader
