1 % -----------------------------------------------------------------------------
3 % -----------------------------------------------------------------------------
4 \section{\class{wxOutputStream
}}\label{wxoutputstream
}
6 \wxheading{Derived from
}
8 \helpref{wxStreamBase
}{wxstreambase
}
10 \wxheading{Include files
}
16 \helpref{wxStreamBuffer
}{wxstreambuffer
}
21 \membersection{wxOutputStream::wxOutputStream
}
23 \func{}{wxOutputStream
}{\void}
25 Creates a dummy wxOutputStream object.
27 \func{}{wxOutputStream
}{\param{wxStreamBuffer*
}{ sbuf
}}
29 Creates an input stream using the specified stream buffer
\it{sbuf
}. This
30 stream buffer can point to another stream.
32 \membersection{wxOutputStream::
\destruct{wxOutputStream
}}
34 \func{}{\destruct{wxOutputStream
}}{\void}
41 \membersection{wxOutputStream::PutC
}
43 \func{void
}{PutC
}{\param{char
}{ c
}}
45 Puts the specified character in the output queue and increments the
48 \membersection{wxOutputStream::Write
}
50 \func{wxOutputStream\&
}{Write
}{\param{const void *
}{buffer
},
\param{size_t
}{ size
}}
52 Writes the specified amount of bytes using the data of
\it{buffer
}.
53 \it{WARNING!
} The buffer absolutely needs to have at least the specified size.
55 This function returns a reference on the current object, so the user can test
56 any states of the stream right away.
58 \func{wxOutputStream\&
}{Write
}{\param{wxInputStream\&
}{ stream_in
}}
60 Reads data from the specified input stream and stores them
61 in the current stream. The data is read until an error is raised
62 by one of the two streams.
67 \membersection{wxOutputStream::SeekO
}
69 \func{off_t
}{SeekO
}{\param{off_t
}{ pos
},
\param{wxSeekMode
}{ mode
}}
71 Changes the stream current position.
73 \membersection{wxOutputStream::TellO
}
75 \constfunc{off_t
}{TellO
}{\void}
77 Returns the current stream position.
82 \membersection{wxOutputStream::OutputStreamBuffer
}
84 \func{wxStreamBuffer *
}{OutputStreamBuffer
}{\void}
86 Returns the stream buffer associated with the output stream.
88 \membersection{wxOutputStream::LastWrite
}
90 \constfunc{size_t
}{LastWrite
}{\void}