/* * Author: Patrick-Christopher Mattulat * Company: Lynar Studios * E-Mail: webmaster@lynarstudios.com * Created: 2023-02-21 * Changed: 2024-09-13 * * */ #ifndef LS_STD_FILE_EXISTENCE_EVALUATOR_HPP #define LS_STD_FILE_EXISTENCE_EVALUATOR_HPP #include #include #include #include /* * @doc: class(name: 'FileExistenceEvaluator', package: 'io') * @doc: io.FileExistenceEvaluator.description('This class evaluates whether a file exists and throws an exception in case it does not.') * */ namespace ls::std::io { class LS_STD_DYNAMIC_GOAL FileExistenceEvaluator : public ls::std::core::Class, public ls::std::core::interface_type::IEvaluator { public: explicit FileExistenceEvaluator(::std::string _filePath); ~FileExistenceEvaluator() noexcept override; void evaluate() override; private: ::std::string filePath{}; }; } #endif