Package: Sequence        GrAL: Packages | Concepts | Homepage

Algorithms on strings
[Algorithms on Sequences and Sets]

Collaboration diagram for Algorithms on strings:

Functions

std::string GrAL::get_non_empty_line (std::istream &in, std::string line_end_chars="\n")
 Get the first non-empty line from stream in

A line is considered empty if all characters before occurence of a character in line_end_chars are whitespaces (i.e. is_whitespace_only() is true for this part). By specifying additional characters like "#" in line_end_chars, one can also filter out comment lines.

bool GrAL::is_whitespace_only (std::string const &s)
 Test if s consist of white space only.
std::string GrAL::commandline (int argc, char *argv[])

Function Documentation

std::string GrAL::commandline ( int  argc,
char *  argv[] 
) [inline]

brief Convert command line args to a string

Definition at line 52 of file string-utils.h.

References GrAL::sequence::concat().


©  Guntram Berti 1997-2009. See the GrAL Homepage for up-to-date information.

Generated on Tue Mar 31 18:53:25 2009 for Sequence by doxygen 1.5.8