EmptyStringArgumentEvaluator.hpp 904 B

123456789101112131415161718192021222324252627282930313233343536
  1. /*
  2. * Author: Patrick-Christopher Mattulat
  3. * Company: Lynar Studios
  4. * E-Mail: webmaster@lynarstudios.com
  5. * Created: 2023-02-08
  6. * Changed: 2023-02-22
  7. *
  8. * */
  9. #ifndef LS_STD_EMPTY_STRING_ARGUMENT_EVALUATOR_HPP
  10. #define LS_STD_EMPTY_STRING_ARGUMENT_EVALUATOR_HPP
  11. #include <ls-std/core/interface/IEvaluator.hpp>
  12. #include <ls-std/os/dynamic-goal.hpp>
  13. #include <string>
  14. namespace ls::std::core
  15. {
  16. class LS_STD_DYNAMIC_GOAL EmptyStringArgumentEvaluator : public ls::std::core::interface_type::IEvaluator
  17. {
  18. public:
  19. explicit EmptyStringArgumentEvaluator(::std::string _argument);
  20. explicit EmptyStringArgumentEvaluator(::std::string _argument, ::std::string _message);
  21. ~EmptyStringArgumentEvaluator() noexcept override;
  22. void evaluate() override;
  23. private:
  24. ::std::string argument{};
  25. ::std::string message{};
  26. };
  27. }
  28. #endif