MVault 0.0.1
|
A class for parsing csv files that provides data in a form similar to generators. More...
#include <CsvParser.h>
Public Member Functions | |
bool | OpenFile (const std::string &fileName) noexcept |
The method for opening the file. | |
bool | GetNextVector (std::vector< std::string > &vectorWithNext, const char &separator) noexcept |
The method for getting the next record in the file. It works by analogy with generators in Python. | |
~CsvParser () noexcept | |
Default destructor. | |
A class for parsing csv files that provides data in a form similar to generators.
|
noexcept |
The method for getting the next record in the file. It works by analogy with generators in Python.
[out] | vectorWithNext | vector with all fields in the record |
[in] | separator | the symbol used to separate the records in the file |
The method for opening the file.
[in] | fileName | The name of the file to open |