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