/*
* Author:          Patrick-Christopher Mattulat
* Co-Author:       Claude Sonnet 4.6 (LLM)
* Company:         Lynar Studios
* E-Mail:          webmaster@lynarstudios.com
* Created:         2023-02-09
* Changed:         2026-06-23
*
* */

#ifndef LS_STD_SECTION_PAIR_IDENTIFIER_ARGUMENT_EVALUATOR_HPP
#define LS_STD_SECTION_PAIR_IDENTIFIER_ARGUMENT_EVALUATOR_HPP

#include <ls-std/core/Class.hpp>
#include <ls-std/core/interface/IEvaluator.hpp>
#include <ls-std/io/section-pair/SectionPairTypes.hpp>
#include <ls-std/os/dynamic-goal.hpp>

/*
 * @doc: class(name: 'SectionPairIdentifierArgumentEvaluator', package: 'io')
 * @doc: io.SectionPairIdentifierArgumentEvaluator.description('This class checks whether an identifier argument is valid and throws an exception if that is not the case.')
 * */

namespace ls::standard::io
{
  class LS_STD_DYNAMIC_GOAL SectionPairIdentifierArgumentEvaluator : public ls::standard::core::interface_type::IEvaluator, public ls::standard::core::Class
  {
    public:

      explicit SectionPairIdentifierArgumentEvaluator(ls::standard::io::section_pair_identifier _identifier);
      ~SectionPairIdentifierArgumentEvaluator() noexcept override;

      void evaluate() override;

    private:

      ls::standard::io::section_pair_identifier identifier{};
  };
}

#endif
