Logo Search packages:      
Sourcecode: inkscape version File versions

int org::w3c::dom::io::OutputStreamWriter::put ( XMLCh  ch  )  [virtual]

Overloaded to redirect the output chars from the next Writer in the chain to an OutputStream instead.

Reimplemented from org::w3c::dom::io::BasicWriter.

Definition at line 1081 of file domstream.cpp.

References org::w3c::dom::io::OutputStream::put().

{
    //Do we need conversions here?
    int intCh = (int) ch;
    if (outputStream.put(intCh) < 0)
        return -1;
    return 1;
}


Generated by  Doxygen 1.6.0   Back to index