Class CSVFileReader¶
Defined in File csv_file_reader.h
Inheritance Relationships¶
Base Type¶
public bitrl::utils::io::FileReaderBase(Class FileReaderBase)
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.
Public Static Functions
-
static inline std::string default_delimeter()¶
The default column delimiter.
-
CSVFileReader(const std::string &file_path, const std::string delimeter = CSVFileReader::default_delimeter())¶