SectionPairValueArgumentEvaluator.hpp 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. /*
  2. * Author: Patrick-Christopher Mattulat
  3. * Co-Author: Claude Sonnet 4.6 (LLM)
  4. * Company: Lynar Studios
  5. * E-Mail: webmaster@lynarstudios.com
  6. * Created: 2023-02-10
  7. * Changed: 2026-06-23
  8. *
  9. * */
  10. #ifndef LS_STD_SECTION_PAIR_VALUE_ARGUMENT_EVALUATOR_HPP
  11. #define LS_STD_SECTION_PAIR_VALUE_ARGUMENT_EVALUATOR_HPP
  12. #include <ls-std/core/Class.hpp>
  13. #include <ls-std/core/interface/IEvaluator.hpp>
  14. #include <ls-std/io/section-pair/SectionPairTypes.hpp>
  15. #include <ls-std/os/dynamic-goal.hpp>
  16. #include <string>
  17. /*
  18. * @doc: class(name: 'SectionPairValueArgumentEvaluator', package: 'io')
  19. * @doc: io.SectionPairValueArgumentEvaluator.description('This class checks whether a value argument is valid and throws an exception if that is not the case.')
  20. * */
  21. namespace ls::standard::io
  22. {
  23. class LS_STD_DYNAMIC_GOAL SectionPairValueArgumentEvaluator : public ls::standard::core::interface_type::IEvaluator, public ls::standard::core::Class
  24. {
  25. public:
  26. explicit SectionPairValueArgumentEvaluator(ls::standard::io::section_pair_row_value _value);
  27. ~SectionPairValueArgumentEvaluator() noexcept override;
  28. void evaluate() override;
  29. private:
  30. ls::standard::io::section_pair_row_value value{};
  31. };
  32. }
  33. #endif