1 #ifndef FILE_OPERATION_HPP 2 #define FILE_OPERATION_HPP 18 std::string setFileName(std::string file_type);
19 struct DataBuff readFileAsDatabuffer(const std::string file_path);
20 std::string readFileAsString(const std::string file_path);
21 void getAllFilesName(std::string dir_path, std::vector<std::string>& files_name);
24 int test_file_id_ = 0;
39 void readNextRow(std::istream& str);
41 std::vector<std::vector<std::string>> readAllCSV(std::istream& str);
43 void writeRowData(std::string csv_file, std::vector<std::string> row_vector);
std::string const & operator[](std::size_t index) const
std::vector< std::vector< std::string > > csv_table_
std::vector< std::string > m_data