FileExistenceEvaluator.hpp 798 B

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