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