1234567891011121314151617181920212223242526272829303132333435 |
- /*
- * Author: Patrick-Christopher Mattulat
- * Company: Lynar Studios
- * E-Mail: webmaster@lynarstudios.com
- * Created: 2020-08-17
- * Changed: 2020-11-20
- *
- * */
- #ifndef LS_STD_FILE_READER_HPP
- #define LS_STD_FILE_READER_HPP
- #include <ls_std/base/Class.hpp>
- #include "File.hpp"
- #include "IReader.hpp"
- namespace ls_std {
- class FileReader : public Class, IReader {
- public:
- explicit FileReader(File& _file);
- ~FileReader() = default;
- ls_std::byte_field read() override;
- void reset(File& _file);
- private:
- File file;
- static void _init(File &_file);
- };
- }
- #endif
|