/* * Author: Patrick-Christopher Mattulat * Company: Lynar Studios * E-Mail: webmaster@lynarstudios.com * Created: 2023-02-09 * Changed: 2024-05-25 * * */ #ifndef LS_STD_SECTION_PAIR_VALUE_VALIDATOR_HPP #define LS_STD_SECTION_PAIR_VALUE_VALIDATOR_HPP #include #include #include #include #include /* * @class(name: 'SectionPairValueValidator', package: 'io') * */ namespace ls::std::io { class LS_STD_DYNAMIC_GOAL SectionPairValueValidator : public ls::std::core::Class, public ls::std::core::interface_type::IValidator { public: explicit SectionPairValueValidator(ls::std::io::section_pair_row_value _value); ~SectionPairValueValidator() noexcept override; [[nodiscard]] static ::std::string getValidationRegex(); [[nodiscard]] bool isValid() override; private: ls::std::io::section_pair_row_value value{}; [[nodiscard]] static ::std::string _getValidationRegex(); }; } #endif