This commit is contained in:
dickelbeck 2010-03-03 06:19:27 +00:00
parent 2decdbdd14
commit 625210e9c7
1 changed files with 7 additions and 0 deletions

View File

@ -158,6 +158,13 @@ protected:
size_t ndx;
public:
/**
* Constructor STRING_LINE_READER( const std::string& aString )
* @param aString is a source string consisting of one or more lines
* of text, where multiple lines are separated with a '\n' character.
* The last line does not necessarily need a trailing '\n'.
*/
STRING_LINE_READER( const std::string& aString ) :
LINE_READER( 4096 ),
source( aString ),