ALPS Home Libraries License Support People ALPS Web Site

PrevUpHomeNext

Function read_until

alps::read_until — reads until the next occurence of the character end or until the end of the stream is reached.

Synopsis

// In header: <alps/parser/parser.h>


std::string read_until(std::istream & in, char end);

Description

Parameters:

end

the character until which should be read

in

the stream to be read

Returns:

string containing the characters read, excluding leading and trailing whitespace and excluding the terminating character end.

Copyright © 1994, 2002-2005 Matthias Troyer, Synge Todo

PrevUpHomeNext