1 % -----------------------------------------------------------------------------
3 % -----------------------------------------------------------------------------
4 \section{\class{wxStreamBase
}}\label{wxstreambase
}
6 \wxheading{Derived from
}
12 \helpref{wxStreamBuffer
}{wxstreambuffer
}
14 % -----------------------------------------------------------------------------
16 % -----------------------------------------------------------------------------
17 \latexignore{\rtfignore{\wxheading{Members
}}}
23 \membersection{wxStreamBase::wxStreamBase
}
24 \func{}{wxStreamBase
}{\void}
26 Creates a dummy stream object.
28 \membersection{wxStreamBase::
\destruct{wxStreamBase
}}
29 \func{}{\destruct{wxStreamBase
}}
33 \membersection{wxStreamBase::LastError
}
34 \constfunc{wxStreamError
}{LastError
}{\void}
36 This function returns the last happened error. It is of the form:
37 % TODOTODOTODOTODOTODOTODOTODO
39 \membersection{wxStreamBase::StreamSize
}
40 \constfunc{size_t
}{StreamSize
}{\void}
42 This function returns the size of the stream. (E.g. for a file it the size of
43 the file) Warning ! There are streams which haven't size by definition (E.g.
46 \membersection{wxStreamBase::OnSysRead
}\label{wxstreambaseonsysread
}
47 \func{size_t
}{OnSysRead
}{\param{void *
}{buffer
},
\param{size_t
}{ bufsize
}}
49 Internal function. It is called when the stream buffer needs a buffer of the
50 specified size. It should return the size which was actually read.
52 \membersection{wxStreamBase::OnSysWrite
}
53 \func{size_t
}{OnSysWrite
}{\param{void *
}{buffer
},
\param{size_t
}{ bufsize
}}
55 See
\helpref{OnSysRead
}{wxstreambaseonsysread
}.
57 \membersection{wxStreamBase::OnSysSeek
}
58 \func{off_t
}{OnSysSeek
}{\param{off_t
}{ pos
},
\param{wxSeekMode
}{ mode
}}
60 Internal function. It is called when the stream buffer needs to change the
61 current position in the stream. See
\helpref{wxStreamBuffer::Seek
}{wxstreambufferseek
}
63 \membersection{wxStreamBase::OnSysTell
}
64 \constfunc{off_t
}{OnSysTell
}{\void}
66 Internal function. Is is called when the stream buffer needs to know the
67 current position in the stream.
69 % -----------------------------------------------------------------------------
71 % -----------------------------------------------------------------------------
73 \section{\class{wxInputStream
}}\label{wxinputstream
}
75 \wxheading{Derived from
}
77 \helpref{wxStreamBase
}{wxstreambase
}
81 \helpref{wxStreamBuffer
}{wxstreambuffer
}
87 \membersection{wxInputStream::wxInputStream
}
88 \func{}{wxInputStream
}{\void}
90 Creates a dummy input stream.
92 \func{}{wxInputStream
}{\param{wxStreamBuffer *
}{sbuf
}}
94 Creates an input stream using the specified stream buffer
\it{sbuf
}. This
95 stream buffer can point to another stream.
97 \membersection{wxInputStream::
\destruct{wxInputStream
}}
98 \func{}{\destruct{wxInputStream
}}
106 \membersection{wxInputStream::Peek
}
107 \func{char
}{Peek
}{\void}
109 \membersection{wxInputStream::GetC
}
110 \func{char
}{GetC
}{\void}
112 \membersection{wxInputStream::Read
}
113 \func{wxInputStream&
}{Read
}{\param{void *
}{buffer
},
\param{size_t
}{ size
}}
115 \func{wxInputStream&
}{Read
}{\param{wxOutputStream&
}{ stream_out
}}
121 \membersection{wxInputStream::SeekI
}
122 \func{off_t
}{SeekI
}{\param{off_t
}{ pos
},
\param{wxSeekMode
}{ mode = wxFromStart
}}
124 \membersection{wxInputStream::TellI
}
125 \constfunc{off_t
}{TellI
}{\void}
131 \membersection{wxInputStream::InputStreamBuffer
}
132 \func{wxStreamBuffer *
}{InputStreamBuffer
}{\void}
134 \membersection{wxInputStream::LastRead
}
135 \constfunc{size_t
}{LastRead
}{\void}
137 % -----------------------------------------------------------------------------
139 % -----------------------------------------------------------------------------
141 \section{\class{wx0utputStream
}}\label{wxoutputstream
}
143 \wxheading{Derived from
}
145 \helpref{wxStreamBase
}{wxstreambase
}
149 \helpref{wxStreamBuffer
}{wxstreambuffer
}
155 \membersection{wxOutputStream::wxInputStream
}
156 \func{}{wxOutputStream
}{\void}
158 \func{}{wxOutputStream
}{\param{wxStreamBuffer *
}{sbuf
}}
160 \membersection{wxOutputStream::
\destruct{wxOutputStream
}}
161 \func{}{\destruct{wxOutputStream
}}
167 \membersection{wxOutputStream::PutC
}
168 \func{char
}{PutC
}{\void}
170 \membersection{wxOutputStream::Write
}
171 \func{wxOutputStream&
}{Write
}{\param{const void *
}{buffer
},
\param{size_t
}{ size
}}
173 \func{wxOutputStream&
}{Write
}{\param{wxInputStream&
}{ stream_in
}}
179 \membersection{wxOutputStream::SeekO
}
180 \func{off_t
}{SeekO
}{\param{off_t
}{ pos
},
\param{wxSeekMode
}{ mode = wxFromStart
}}
182 \membersection{wxOutputStream::TellO
}
183 \constfunc{off_t
}{TellO
}{\void}
189 \membersection{wxOutputStream::OutputStreamBuffer
}
190 \func{wxStreamBuffer *
}{OutputStreamBuffer
}{\void}
192 \membersection{wxOutputStream::LastWrite
}
193 \constfunc{size_t
}{LastWrite
}{\void}
196 % -----------------------------------------------------------------------------
197 % wxFilterInputStream
198 % -----------------------------------------------------------------------------
200 \section{\class{wxFilterInputStream
}}\label{wxfilterinputstream
}
202 \wxheading{Derived from
}
204 \helpref{wxInputStream
}{wxinputstream
}
208 The use of this class is exactly the same as of wxInputStream. Only a constructor
209 differs and it is documented below.
214 \membersection{wxFilterInputStream::wxFilterInputStream
}
215 \func{}{wxFilterInputStream
}{\param{wxInputStream&
}{ stream
}}
217 % -----------------------------------------------------------------------------
218 % wxFilterOutputStream
219 % -----------------------------------------------------------------------------
221 \section{\class{wxFilterOutputStream
}}\label{wxfilteroutputstream
}
223 \wxheading{Derived from
}
225 \helpref{wxOutputStream
}{wxoutputstream
}
229 The use of this class is exactly the same as of wxOutputStream. Only a constructor
230 differs and it is documented below.
235 \membersection{wxFilterOutputStream::wxFilterOutputStream
}
236 \func{}{wxFilterOutputStream
}{\param{wxOutputStream&
}{ stream
}}