iw4x-client/src/Utils/CSV.hpp

21 lines
313 B
C++
Raw Normal View History

2016-01-05 19:23:43 -05:00
namespace Utils
{
class CSV
{
public:
CSV(std::string file);
~CSV();
int GetRows();
int GetColumns(size_t row);
std::string GetElementAt(size_t row, size_t column);
private:
void Parse(std::string file);
void ParseRow(std::string row);
std::vector<std::vector<std::string>> DataMap;
};
}