]> git.saurik.com Git - wxWidgets.git/blame - docs/latex/wx/strmbfrd.tex
added a way to create fonts with specified pixel size
[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
20\wxheading{See also}
21
85ec2f26
RR
22\helpref{wxStreamBuffer}{wxstreambuffer}, \helpref{wxInputStream}{wxinputstream},
23\helpref{wxBufferedOutputStream}{wxbufferedoutputstream}
3de08727 24
3de08727
GL
25% -----------------------------------------------------------------------------
26% wxBufferedOutputStream
27% -----------------------------------------------------------------------------
28\section{\class{wxBufferedOutputStream}}\label{wxbufferedoutputstream}
29
36edded9
JS
30This stream acts as a cache. It caches the bytes to be written to the specified
31output stream (See \helpref{wxFilterOutputStream}{wxfilteroutputstream}). The
85ec2f26 32data is only written when the cache is full, when the buffered stream is
1b055864
RR
33destroyed or when calling SeekO().
34
d984207c
RR
35This class may not be used without some other stream to write the data
36to (such as a file stream or a memory stream).
36edded9 37
3de08727
GL
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
85ec2f26 48\helpref{wxStreamBuffer}{wxstreambuffer}, \helpref{wxOutputStream}{wxoutputstream}
3de08727 49
1b055864
RR
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