Etterna 0.74.4
Loading...
Searching...
No Matches
CsvFile.h
1/* CsvFile - Reading and writing .CSV files. */
2
3#ifndef CsvFile_H
4#define CsvFile_H
5
6#include <string>
7#include <vector>
8
9class RageFileBasic;
10
12{
13 public:
14 CsvFile();
15
16 bool ReadFile(const std::string& sPath);
17 bool ReadFile(RageFileBasic& sFile);
18 bool WriteFile(const std::string& sPath) const;
19 bool WriteFile(RageFileBasic& sFile) const;
20
21 typedef std::vector<std::string> StringVector;
22 std::vector<StringVector> m_vvs;
23
24 private:
25 std::string m_sPath;
26 mutable std::string m_sError;
27};
28
29#endif
Definition CsvFile.h:12
Definition RageFileBasic.h:10