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