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

#include "CesiumGltf/ReaderContext.h"
#include "CesiumJsonReader/ArrayJsonHandler.h"
#include "CesiumJsonReader/IntegerJsonHandler.h"
#include "NamedObjectJsonHandler.h"

namespace CesiumGltf {
struct ReaderContext;
struct Scene;

class SceneJsonHandler : public NamedObjectJsonHandler {
public:
  using ValueType = Scene;

  SceneJsonHandler(const ReaderContext& context) noexcept;
  void reset(IJsonHandler* pParentHandler, Scene* pObject);

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

protected:
  IJsonHandler* readObjectKeyScene(
      const std::string& objectType,
      const std::string_view& str,
      Scene& o);

private:
  Scene* _pObject = nullptr;
  CesiumJsonReader::
      ArrayJsonHandler<int32_t, CesiumJsonReader::IntegerJsonHandler<int32_t>>
          _nodes;
};
} // namespace CesiumGltf
