Logo Search packages:      
Sourcecode: inkscape version File versions

int org::w3c::dom::io::BasicReader::available (  )  [virtual]

Returns the number of bytes that can be read (or skipped over) from this reader without blocking by the next caller of a method for this reader.

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

Reimplemented in org::w3c::dom::io::InputStreamReader, and org::w3c::dom::io::StdReader.

Definition at line 541 of file domstream.cpp.

Referenced by readLine(), and readWord().

{
    if (source)
        return source->available();
    else
        return 0;
}


Generated by  Doxygen 1.6.0   Back to index