Logo Search packages:      
Sourcecode: inkscape version File versions

DOMString org::w3c::dom::io::BasicReader::readLine (  )  [virtual, inherited]

Reads a line of data from the reader.

Implements org::w3c::dom::io::Reader.

Definition at line 579 of file domstream.cpp.

References org::w3c::dom::io::BasicReader::available().

{
    DOMString str;
    while (available() > 0)
        {
        XMLCh ch = get();
        if (ch == '\n')
            break;
        str.push_back(ch);
        }
    return str;
}


Generated by  Doxygen 1.6.0   Back to index