EmptyStringArgumentEvaluator.hpp 837 B

1234567891011121314151617181920212223242526272829303132333435
  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-08
  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 <string>
  13. namespace ls::std::core
  14. {
  15. class EmptyStringArgumentEvaluator : public ls::std::core::interface_type::IEvaluator
  16. {
  17. public:
  18. explicit EmptyStringArgumentEvaluator(::std::string _argument);
  19. explicit EmptyStringArgumentEvaluator(::std::string _argument, ::std::string _message);
  20. ~EmptyStringArgumentEvaluator() override;
  21. void evaluate() override;
  22. private:
  23. ::std::string argument{};
  24. ::std::string message{};
  25. };
  26. }
  27. #endif