]> git.saurik.com Git - wxWidgets.git/blobdiff - docs/latex/wx/strmbase.tex
sorting support for generic version (patch 1765087 from Bo)
[wxWidgets.git] / docs / latex / wx / strmbase.tex
index 4fe1264b2b412726e24908d6e6e32f856d535b02..57f20bf29153274bd94ee8f9bf3ff5705b3c52f0 100644 (file)
@@ -14,6 +14,10 @@ None
 
 <wx/stream.h>
 
+\wxheading{Library}
+
+\helpref{wxBase}{librarieslist}
+
 \wxheading{See also}
 
 \helpref{wxStreamBuffer}{wxstreambuffer}
@@ -47,7 +51,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}
@@ -85,7 +89,7 @@ In that cases, GetSize returns $0$ so you should always test its return value.
 
 \membersection{wxStreamBase::IsOk}\label{wxstreambaseisok}
 
-\constfunc{bool}{IsOk}{\void}
+\constfunc{virtual bool}{IsOk}{\void}
 
 Returns true if no error occurred on the stream.
 
@@ -94,6 +98,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}}
@@ -120,8 +131,7 @@ real position.
 
 \membersection{wxStreamBase::OnSysWrite}\label{wxstreambaseonsyswrite}
 
-\func{size\_t}{OnSysWrite}{\param{void *}{buffer}, \param{size\_t}{ bufsize}}
+\func{size\_t}{OnSysWrite}{\param{const void *}{buffer}, \param{size\_t}{ bufsize}}
 
 See \helpref{OnSysRead}{wxstreambaseonsysread}.
 
-