]> git.saurik.com Git - wxWidgets.git/blame_incremental - docs/latex/wx/strmbfrd.tex
Moved include for Windows compilation; minor doc tweaks
[wxWidgets.git] / docs / latex / wx / strmbfrd.tex
... / ...
CommitLineData
1% -----------------------------------------------------------------------------
2% wxBufferedInputStream
3% -----------------------------------------------------------------------------
4\section{\class{wxBufferedInputStream}}\label{wxbufferedinputstream}
5
6This stream acts as a cache. It caches the bytes read from the specified
7input stream (See \helpref{wxFilterInputStream}{wxfilterinputstream}).
8It uses wxStreamBuffer and sets the default in-buffer size to 1024 bytes.
9This class may not be used without some other stream to read the data
10from (such as a file stream or a memory stream).
11
12\wxheading{Derived from}
13
14\helpref{wxFilterInputStream}{wxfilterinputstream}
15
16\wxheading{Include files}
17
18<wx/stream.h>
19
20\wxheading{See also}
21
22\helpref{wxStreamBuffer}{wxstreambuffer}, \helpref{wxInputStream}{wxinputstream},
23\helpref{wxBufferedOutputStream}{wxbufferedoutputstream}
24
25% -----------------------------------------------------------------------------
26% wxBufferedOutputStream
27% -----------------------------------------------------------------------------
28\section{\class{wxBufferedOutputStream}}\label{wxbufferedoutputstream}
29
30This stream acts as a cache. It caches the bytes to be written to the specified
31output stream (See \helpref{wxFilterOutputStream}{wxfilteroutputstream}). The
32data is only written when the cache is full, when the buffered stream is
33destroyed or when calling SeekO().
34
35This class may not be used without some other stream to write the data
36to (such as a file stream or a memory stream).
37
38\wxheading{Derived from}
39
40\helpref{wxFilterOutputStream}{wxfilteroutputstream}
41
42\wxheading{Include files}
43
44<wx/stream.h>
45
46\wxheading{See also}
47
48\helpref{wxStreamBuffer}{wxstreambuffer}, \helpref{wxOutputStream}{wxoutputstream}
49
50% ----------
51% Members
52% ----------
53\latexignore{\rtfignore{\wxheading{Members}}}
54
55\membersection{wxBufferedOutputStream::wxBufferedOutputStream}
56
57\func{}{wxBufferedOutputStream}{\param{const wxOutputStream\&}{ parent}}
58
59Creates a buffered stream using a buffer of a default size of 1024 bytes for cashing
60the stream {\it parent}.
61
62\membersection{wxBufferedOutputStream::\destruct{wxBufferedOutputStream}}
63
64\func{}{\destruct{wxBufferedOutputStream}}{\void}
65
66Destructor. Calls Sync() and destroys the internal buffer.
67
68\membersection{wxBufferedOutputStream::SeekO}
69
70\func{off\_t}{SeekO}{\param{off\_t}{ pos}, \param{wxSeekMode}{ mode}}
71
72Calls Sync() and changes the stream position.
73
74\membersection{wxBufferedOutputStream::Sync}
75
76\func{void}{Sync}{\void}
77
78Flushes the buffer and calls Sync() on the parent stream.
79
80
81