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

#ifndef LS_STD_SECTION_PAIR_FILE_EXTENSION_VALIDATOR_HPP
#define LS_STD_SECTION_PAIR_FILE_EXTENSION_VALIDATOR_HPP

#include <ls-std/core/Class.hpp>
#include <ls-std/core/interface/IValidator.hpp>
#include <ls-std/os/dynamic-goal.hpp>
#include <string>

/*
 * @doc: class(name: 'SectionPairFileExtensionValidator', package: 'io')
 * @doc: io.SectionPairFileExtensionValidator.description('This validator checks whether a file name has a valid Section Pair file extension.')
 * */

namespace ls::standard::io
{
  class LS_STD_DYNAMIC_GOAL SectionPairFileExtensionValidator : public ls::standard::core::Class, public ls::standard::core::interface_type::IValidator
  {
    public:

      explicit SectionPairFileExtensionValidator(::std::string _fileName);
      ~SectionPairFileExtensionValidator() noexcept override;

      [[nodiscard]] bool isValid() override;

    private:

      ::std::string fileName{};
  };
}

#endif
