X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/588066b7a39629e44bb39f1ab436b80f38c13f33..21dc4be5d27fd73cda55795ab9d1e7e02b494c46:/docs/latex/wx/strmbase.tex diff --git a/docs/latex/wx/strmbase.tex b/docs/latex/wx/strmbase.tex index 1e7f6d824e..8c495730c3 100644 --- a/docs/latex/wx/strmbase.tex +++ b/docs/latex/wx/strmbase.tex @@ -47,7 +47,7 @@ Destructor. \constfunc{wxFileOffset}{GetLength}{\void} Returns the length of the stream in bytes. If the length cannot be determined -(this is always the case for socket streams for example), returns +(this is always the case for socket streams for example), returns \texttt{wxInvalidOffset}. \newsince{2.5.4} @@ -72,7 +72,7 @@ This function returns the last error. \constfunc{size\_t}{GetSize}{\void} -\deprecated{\helpref{GetLength}{wxstreambasegetlength}} +\helpref{GetLength}{wxstreambasegetlength} This function returns the size of the stream. For example, for a file it is the size of the file. @@ -85,7 +85,7 @@ In that cases, GetSize returns $0$ so you should always test its return value. \membersection{wxStreamBase::IsOk}\label{wxstreambaseisok} -\constfunc{wxStreamError}{IsOk}{\void} +\constfunc{bool}{IsOk}{\void} Returns true if no error occurred on the stream. @@ -94,6 +94,13 @@ Returns true if no error occurred on the stream. \helpref{GetLastError}{wxstreambasegetlasterror} +\membersection{wxStreamBase::IsSeekable}\label{wxstreambaseisseekable} + +\constfunc{bool}{IsSeekable}{\void} + +Returns true if the streams supports seeking to arbitrary offsets. + + \membersection{wxStreamBase::OnSysRead}\label{wxstreambaseonsysread} \func{size\_t}{OnSysRead}{\param{void*}{ buffer}, \param{size\_t}{ bufsize}} @@ -124,4 +131,3 @@ real position. See \helpref{OnSysRead}{wxstreambaseonsysread}. -