EmptyStringArgumentEvaluator.hpp 979 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. /*
  2. * Author: Patrick-Christopher Mattulat
  3. * Company: Lynar Studios
  4. * E-Mail: webmaster@lynarstudios.com
  5. * Created: 2023-02-08
  6. * Changed: 2024-05-25
  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. /*
  15. * @class(name: 'EmptyStringArgumentEvaluator', package: 'core')
  16. * */
  17. namespace ls::std::core
  18. {
  19. class LS_STD_DYNAMIC_GOAL EmptyStringArgumentEvaluator : public ls::std::core::interface_type::IEvaluator
  20. {
  21. public:
  22. explicit EmptyStringArgumentEvaluator(::std::string _argument);
  23. explicit EmptyStringArgumentEvaluator(::std::string _argument, ::std::string _message);
  24. ~EmptyStringArgumentEvaluator() noexcept override;
  25. void evaluate() override;
  26. private:
  27. ::std::string argument{};
  28. ::std::string message{};
  29. };
  30. }
  31. #endif