Class FileReaderBase

Inheritance Relationships

Base Type

Derived Types

Class Documentation

class FileReaderBase : public rlenvscpp::utils::io::FileHandlerBase<std::ifstream>

Todo:

write docs

Subclassed by rlenvscpp::utils::io::CSVFileReader, rlenvscpp::utils::io::JSONFileReader

Public Functions

virtual ~FileReaderBase() = default
virtual void open() override

Attempts to open the file for reading.

inline bool eof() const

Returns true if the underlying stream handler has reached the EOF.

Protected Functions

FileReaderBase(const std::string &file_name, FileFormats::Type t)

Constructor.