- initial import
This commit is contained in:
23
src/engine/helper/HL_CsvReader.h
Normal file
23
src/engine/helper/HL_CsvReader.h
Normal file
@@ -0,0 +1,23 @@
|
||||
#ifndef __HL_CSVREADER_H
|
||||
#define __HL_CSVREADER_H
|
||||
|
||||
#include <string>
|
||||
#include <istream>
|
||||
#include <vector>
|
||||
|
||||
class CsvReader
|
||||
{
|
||||
public:
|
||||
CsvReader(std::istream& stream);
|
||||
~CsvReader();
|
||||
|
||||
void setStream(std::istream& input);
|
||||
std::istream& stream() const;
|
||||
|
||||
bool readLine(std::vector<std::string>& cells);
|
||||
|
||||
protected:
|
||||
std::istream& mInputStream;
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user