Mercurial > hg > batch-feature-extraction-tool
view Source/ParseCSV.h @ 9:262e084a15a9
Vectorised everything and made use of unique_ptr so there should be no more memory leaks. Hurrah for RAII
author | Geogaddi\David <d.m.ronan@qmul.ac.uk> |
---|---|
date | Wed, 12 Aug 2015 22:25:06 +0100 |
parents | 25bf17994ef1 |
children |
line wrap: on
line source
/* ============================================================================== ParseCSV.h Created: 27 Aug 2014 3:18:54pm Author: david.ronan ============================================================================== */ #ifndef PARSECSV_H_INCLUDED #define PARSECSV_H_INCLUDED #include <fstream> #include "AudioFileData.h" class ParseCSV { public: ParseCSV(); ~ParseCSV(); AudioFileData Parse(std::string fileName); private: std::vector<std::string> ReadLines(std::ifstream& is); AudioFileData m_AudioFileData; }; #endif // PARSECSV_H_INCLUDED