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

#include "ExtensionExtMeshFeaturesFeatureIdTextureJsonHandler.h"

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

namespace CesiumJsonReader {
class ExtensionReaderContext;
}

namespace CesiumGltfReader {
class ExtensionExtMeshFeaturesFeatureIdJsonHandler
    : public CesiumJsonReader::ExtensibleObjectJsonHandler {
public:
  using ValueType = CesiumGltf::ExtensionExtMeshFeaturesFeatureId;

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

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

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

private:
  CesiumGltf::ExtensionExtMeshFeaturesFeatureId* _pObject = nullptr;
  CesiumJsonReader::IntegerJsonHandler<int64_t> _featureCount;
  CesiumJsonReader::IntegerJsonHandler<int64_t> _nullFeatureId;
  CesiumJsonReader::StringJsonHandler _label;
  CesiumJsonReader::IntegerJsonHandler<int64_t> _attribute;
  ExtensionExtMeshFeaturesFeatureIdTextureJsonHandler _texture;
  CesiumJsonReader::IntegerJsonHandler<int64_t> _propertyTable;
};
} // namespace CesiumGltfReader
