csvpp

csvpp Commit Details


Date:2014-03-25 22:34:00 (10 years 8 months ago)
Author:Natalie Adams
Branch:default
Commit:95848a435a01
Parents: 7518b6265aa0
Message:changing char to string

Changes:
Minclude/csvpp.h (1 diff)

File differences

include/csvpp.h
2424
2525
2626
27
27
2828
2929
3030
// Adding support for custom delimiter character
// Based on the patch by Hanifa
// https://code.google.com/p/csvpp/issues/detail?id=2
RowReader(std::string delimiter_char = ',', bool skipheader=false,const char * newline="\n") : skipheader(skipheader), newline(newline) { }
RowReader(std::string delimiter_char = ",", bool skipheader=false,const char * newline="\n") : skipheader(skipheader), newline(newline) { }
void clear() { header.clear(); }
friend std::istream & operator>>(std::istream & os, RowReader & r);
friend std::ostream & operator<<(std::ostream & os, const RowWriter & r);

Archive Download the corresponding diff file

Branches

Tags

Page rendered in 0.40547s using 14 queries.