Logo Search packages:      
Sourcecode: inkscape version File versions

Glib::ustring Inkscape::IO::BasicReader::readWord (  )  [virtual, inherited]

Reads a line of data from the reader.

Implements Inkscape::IO::Reader.

Definition at line 209 of file inkscapestream.cpp.

References Inkscape::IO::BasicReader::available().

{
    Glib::ustring str;
    while (available() > 0)
        {
        gunichar ch = get();
        if (!g_unichar_isprint(ch))
            break;
        str.push_back(ch);
        }
    return str;
}


Generated by  Doxygen 1.6.0   Back to index