Class FileReaderBase

Inheritance Relationships

Base Type

Derived Types

Class Documentation

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

Todo:

write docs

Subclassed by bitrl::utils::io::CSVFileReader, bitrl::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.