1234567891011121314151617181920212223242526272829303132333435363738394041 |
- /*
- * Author: Patrick-Christopher Mattulat
- * Company: Lynar Studios
- * E-Mail: webmaster@lynarstudios.com
- * Created: 2023-02-08
- * Changed: 2024-09-11
- *
- * */
- #ifndef LS_STD_EMPTY_STRING_ARGUMENT_EVALUATOR_HPP
- #define LS_STD_EMPTY_STRING_ARGUMENT_EVALUATOR_HPP
- #include <ls-std/core/interface/IEvaluator.hpp>
- #include <ls-std/os/dynamic-goal.hpp>
- #include <string>
- /*
- * @doc: class(name: 'EmptyStringArgumentEvaluator', package: 'core')
- * @doc: core.EmptyStringArgumentEvaluator.description('This class evaluates whether a passed string is empty.')
- * */
- namespace ls::std::core
- {
- class LS_STD_DYNAMIC_GOAL EmptyStringArgumentEvaluator : public ls::std::core::interface_type::IEvaluator
- {
- public:
- explicit EmptyStringArgumentEvaluator(::std::string _argument);
- explicit EmptyStringArgumentEvaluator(::std::string _argument, ::std::string _message);
- ~EmptyStringArgumentEvaluator() noexcept override;
- void evaluate() override;
- private:
- ::std::string argument{};
- ::std::string message{};
- };
- }
- #endif
|