X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b68b06e2ff4fdd8984dcfbc99a02995e597ee082..380a5dd80316202b472967e898feba1386ea5345:/docs/latex/wx/outptstr.tex?ds=sidebyside 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}