1 % -----------------------------------------------------------------------------
3 % -----------------------------------------------------------------------------
4 \section{\class{wxOutputStream
}}\label{wxoutputstream
}
6 \wxheading{Derived from
}
8 \helpref{wxStreamBase
}{wxstreambase
}
12 \helpref{wxStreamBuffer
}{wxstreambuffer
}
17 \membersection{wxOutputStream::wxOutputStream
}
19 \func{}{wxOutputStream
}{\void}
21 Creates a dummy wxOutputStream object.
23 \func{}{wxOutputStream
}{\param{wxStreamBuffer*
}{ sbuf
}}
25 Creates an input stream using the specified stream buffer
\it{sbuf
}. This
26 stream buffer can point to another stream.
28 \membersection{wxOutputStream::
\destruct{wxOutputStream
}}
30 \func{}{\destruct{wxOutputStream
}}{\void}
37 \membersection{wxOutputStream::PutC
}
39 \func{void
}{PutC
}{\param{char
}{ c
}}
41 Puts the specified character in the output queue and increments the
44 \membersection{wxOutputStream::Write
}
46 \func{wxOutputStream\&
}{Write
}{\param{const void *
}{buffer
},
\param{size_t
}{ size
}}
48 Writes the specified amount of bytes using the data of
\it{buffer
}.
49 \it{WARNING!
} The buffer absolutely needs to have at least the specified size.
51 This function returns a reference on the current object, so the user can test
52 any states of the stream right away.
54 \func{wxOutputStream\&
}{Write
}{\param{wxInputStream\&
}{ stream_in
}}
56 Reads data from the specified input stream and stores them
57 in the current stream. The data is read until an error is raised
58 by one of the two streams.
63 \membersection{wxOutputStream::SeekO
}
65 \func{off_t
}{SeekO
}{\param{off_t
}{ pos
},
\param{wxSeekMode
}{ mode
}}
67 Changes the stream current position.
69 \membersection{wxOutputStream::TellO
}
71 \constfunc{off_t
}{TellO
}{\void}
73 Returns the current stream position.
78 \membersection{wxOutputStream::OutputStreamBuffer
}
80 \func{wxStreamBuffer *
}{OutputStreamBuffer
}{\void}
82 Returns the stream buffer associated with the output stream.
84 \membersection{wxOutputStream::LastWrite
}
86 \constfunc{size_t
}{LastWrite
}{\void}