note: trim is *always* assumed true if skyp_empty_lines==true
*/
LineSplitter(StreamReaderLE& stream, bool skip_empty_lines = true, bool trim = true)
- : stream(stream)
+ : idx( 0 )
+ , stream(stream)
, swallow()
, skip_empty_lines(skip_empty_lines)
, trim(trim)
idx = 0;
}
+ ~LineSplitter() {
+ // empty
+ }
+
public:
// -----------------------------------------
}
private:
+ LineSplitter( const LineSplitter & );
+ LineSplitter &operator = ( const LineSplitter & );
+private:
line_idx idx;
std::string cur;
StreamReaderLE& stream;