76 lines
2.1 KiB
TeX
76 lines
2.1 KiB
TeX
|
% -----------------------------------------------------------------------------
|
||
|
% wxStreamBase
|
||
|
% -----------------------------------------------------------------------------
|
||
|
\section{\class{wxStreamBase}}\label{wxstreambase}
|
||
|
|
||
|
\wxheading{Derived from}
|
||
|
|
||
|
None
|
||
|
|
||
|
\wxheading{See also}
|
||
|
|
||
|
\helpref{wxStreamBuffer}{wxstreambuffer}
|
||
|
|
||
|
% -----------------------------------------------------------------------------
|
||
|
% Members
|
||
|
% -----------------------------------------------------------------------------
|
||
|
\latexignore{\rtfignore{\wxheading{Members}}}
|
||
|
|
||
|
% -----------
|
||
|
% ctor & dtor
|
||
|
% -----------
|
||
|
|
||
|
\membersection{wxStreamBase::wxStreamBase}
|
||
|
|
||
|
\func{}{wxStreamBase}{\void}
|
||
|
|
||
|
Creates a dummy stream object.
|
||
|
|
||
|
\membersection{wxStreamBase::\destruct{wxStreamBase}}
|
||
|
|
||
|
\func{}{\destruct{wxStreamBase}}{\void}
|
||
|
|
||
|
Destructor.
|
||
|
|
||
|
\membersection{wxStreamBase::LastError}\label{wxstreambaselasterror}
|
||
|
|
||
|
\constfunc{wxStreamError}{LastError}{\void}
|
||
|
|
||
|
This function returns the last error.
|
||
|
% It is of the form:
|
||
|
% TODO
|
||
|
|
||
|
\membersection{wxStreamBase::StreamSize}
|
||
|
\constfunc{size_t}{StreamSize}{\void}
|
||
|
|
||
|
This function returns the size of the stream. For example, for a file it is the size of
|
||
|
the file). Warning! There are streams which do not have size by definition, such as a socket.
|
||
|
|
||
|
\membersection{wxStreamBase::OnSysRead}\label{wxstreambaseonsysread}
|
||
|
|
||
|
\func{size_t}{OnSysRead}{\param{void*}{ buffer}, \param{size_t}{ bufsize}}
|
||
|
|
||
|
Internal function. It is called when the stream buffer needs a buffer of the
|
||
|
specified size. It should return the size that was actually read.
|
||
|
|
||
|
\membersection{wxStreamBase::OnSysWrite}
|
||
|
|
||
|
\func{size_t}{OnSysWrite}{\param{void *}{buffer}, \param{size_t}{ bufsize}}
|
||
|
|
||
|
See \helpref{OnSysRead}{wxstreambaseonsysread}.
|
||
|
|
||
|
\membersection{wxStreamBase::OnSysSeek}
|
||
|
|
||
|
\func{off_t}{OnSysSeek}{\param{off_t}{ pos}, \param{wxSeekMode}{ mode}}
|
||
|
|
||
|
Internal function. It is called when the stream buffer needs to change the
|
||
|
current position in the stream. See \helpref{wxStreamBuffer::Seek}{wxstreambufferseek}
|
||
|
|
||
|
\membersection{wxStreamBase::OnSysTell}
|
||
|
|
||
|
\constfunc{off_t}{OnSysTell}{\void}
|
||
|
|
||
|
Internal function. Is is called when the stream buffer needs to know the
|
||
|
current position in the stream.
|
||
|
|