/* * Author: Patrick-Christopher Mattulat * Company: Lynar Studios * E-Mail: webmaster@lynarstudios.com * Created: 2023-02-21 * Changed: 2024-05-25 * * */ #ifndef LS_STD_SECTION_PAIR_FILE_READER_PARAMETER_HPP #define LS_STD_SECTION_PAIR_FILE_READER_PARAMETER_HPP #include #include #include #include #include #include #include /* * @class(name: 'SectionPairFileReaderParameter', package: 'io') * */ namespace ls::std::io { class LS_STD_DYNAMIC_GOAL SectionPairFileReaderParameter { public: SectionPairFileReaderParameter(); ~SectionPairFileReaderParameter(); [[nodiscard]] ::std::shared_ptr getDocument() const; [[nodiscard]] ::std::shared_ptr getFileExistenceEvaluator() const; [[nodiscard]] ::std::string getFilePath() const; [[nodiscard]] ::std::shared_ptr getReader() const; void setDocument(const ::std::shared_ptr &_document); void setFileExistenceEvaluator(const ::std::shared_ptr &_fileExistenceEvaluator); void setFilePath(::std::string_view _filePath); void setReader(const ::std::shared_ptr &_reader); private: ::std::shared_ptr document{}; ::std::shared_ptr fileExistenceEvaluator{}; ::std::string filePath{}; ::std::shared_ptr reader{}; }; } #endif