3 #include <filems/read/strategies/SimpleReadingStrategy.h>
4 #include <filems/read/exceptions/EndOfReadingException.h>
9 namespace helios {
namespace filems{
Class representing the end of reading exception for FMS readers.
Definition: EndOfReadingException.h:15
Class defining the strategy to read line by line from a file input stream.
Definition: LineReadingStrategy.h:21
char * buffer
Buffer where the read line is stored.
Definition: LineReadingStrategy.h:40
long const & maxCharsPerLine
The maximum number of characters that a line is expected to have.
Definition: LineReadingStrategy.h:36
LineReadingStrategy(ifstream &ifs, long const &maxCharsPerLine)
Default constructor for line reading strategy.
Definition: LineReadingStrategy.h:49
string read() override
Read line from text file.
Definition: LineReadingStrategy.h:67
Class defining the strategy to read from a simple file input stream.
Definition: SimpleReadingStrategy.h:20
ifstream & ifs
Reference to the input file stream to read from.
Definition: SimpleReadingStrategy.h:27