Class CSVFileReader

Inheritance Relationships

Base Type

Class Documentation

class CSVFileReader : public bitrl::utils::io::FileReaderBase

The CSVFileReader class.

Public Functions

CSVFileReader(const std::string &file_path, const std::string delimeter = CSVFileReader::default_delimeter())

Constructor.

~CSVFileReader()

Destructor. Close the file if it is empty.

std::vector<std::string> read_line()

Read a line from the file. It attempts to open the file if the file is not already open.

std::vector<uint_t> read_line_as_uint()

read_line_as_uint. Read the line as uint

Public Static Functions

static inline std::string default_delimeter()

The default column delimiter.