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

#include "FeatureIdTextureJsonHandler.h"
#include <CesiumGltf/FeatureId.h>
#include <CesiumJsonReader/ExtensibleObjectJsonHandler.h>
#include <CesiumJsonReader/IntegerJsonHandler.h>
#include <CesiumJsonReader/StringJsonHandler.h>

namespace CesiumJsonReader {
  class JsonReaderOptions;
}

namespace CesiumGltfReader {
  class FeatureIdJsonHandler : public CesiumJsonReader::ExtensibleObjectJsonHandler {
  public:
    using ValueType = CesiumGltf::FeatureId;

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

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

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

  private:

    CesiumGltf::FeatureId* _pObject = nullptr;
    CesiumJsonReader::IntegerJsonHandler<int64_t> _featureCount;
    CesiumJsonReader::IntegerJsonHandler<int64_t> _nullFeatureId;
    CesiumJsonReader::StringJsonHandler _label;
    CesiumJsonReader::IntegerJsonHandler<int64_t> _attribute;
    FeatureIdTextureJsonHandler _texture;
    CesiumJsonReader::IntegerJsonHandler<int32_t> _propertyTable;
  };
}
