/* * Author: Patrick-Christopher Mattulat * Company: Lynar Studios * E-Mail: webmaster@lynarstudios.com * Created: 2023-02-19 * Changed: 2024-09-13 * * */ #ifndef LS_STD_SECTION_PAIR_ROW_LIST_VALUE_VALIDATOR_HPP #define LS_STD_SECTION_PAIR_ROW_LIST_VALUE_VALIDATOR_HPP #include #include #include #include /* * @doc: class(name: 'SectionPairRowListValueValidator', package: 'io') * @doc: io.SectionPairRowListValueValidator.description('This validator checks whether a content is a valid Section Pair row list value.') * */ namespace ls::std::io { class LS_STD_DYNAMIC_GOAL SectionPairRowListValueValidator : public ls::std::core::Class, public ls::std::core::interface_type::IValidator { public: explicit SectionPairRowListValueValidator(::std::string _listValueRow); ~SectionPairRowListValueValidator() noexcept override; [[nodiscard]] static ::std::string getValidationRegex(); [[nodiscard]] bool isValid() override; private: ::std::string listValueRow{}; [[nodiscard]] static ::std::string _getValidationRegex(); }; } #endif