X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b68b06e2ff4fdd8984dcfbc99a02995e597ee082..93bfe54527a7a64ea87cdc03be3015f7963fd227:/docs/latex/wx/outptstr.tex diff --git a/docs/latex/wx/outptstr.tex b/docs/latex/wx/outptstr.tex index b808b05054..1c61a7c606 100644 --- a/docs/latex/wx/outptstr.tex +++ b/docs/latex/wx/outptstr.tex @@ -19,20 +19,33 @@ wxOutputStream is an abstract base class which may not be used directly. % ctor & dtor % ----------- -\membersection{wxOutputStream::wxOutputStream} +\membersection{wxOutputStream::wxOutputStream}\label{wxoutputstreamctor} \func{}{wxOutputStream}{\void} Creates a dummy wxOutputStream object. -\membersection{wxOutputStream::\destruct{wxOutputStream}} +\membersection{wxOutputStream::\destruct{wxOutputStream}}\label{wxoutputstreamdtor} \func{}{\destruct{wxOutputStream}}{\void} Destructor. +\membersection{wxOutputStream::Close}\label{wxoutputstreamclose} + +\func{bool}{Close}{\void} + +Closes the stream, returning {\tt false} if an error occurs. The +stream is closed implicitly in the destructor if Close() is not +called explicitly. + +If this stream wraps another stream or some other resource such +as a file, then the underlying resource is closed too if it is owned +by this stream, or left open otherwise. + + \membersection{wxOutputStream::LastWrite}\label{wxoutputstreamlastwrite} \constfunc{size\_t}{LastWrite}{\void} @@ -42,7 +55,7 @@ Returns the number of bytes written during the last error on the stream if it is only temporarily impossible to write to it. -\membersection{wxOutputStream::PutC} +\membersection{wxOutputStream::PutC}\label{wxoutputstreamputc} \func{void}{PutC}{\param{char}{ c}} @@ -67,7 +80,7 @@ Changes the stream current position. The new stream position or wxInvalidOffset on error. -\membersection{wxOutputStream::TellO} +\membersection{wxOutputStream::TellO}\label{wxoutputstreamtello} \constfunc{off\_t}{TellO}{\void}