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}
38 \membersection{wxOutputStream::OutputStreamBuffer
}
40 \func{wxStreamBuffer *
}{OutputStreamBuffer
}{\void}
42 Returns the stream buffer associated with the output stream.
44 \membersection{wxOutputStream::LastWrite
}
46 \constfunc{size
\_t}{LastWrite
}{\void}
48 \membersection{wxOutputStream::PutC
}
50 \func{void
}{PutC
}{\param{char
}{ c
}}
52 Puts the specified character in the output queue and increments the
55 \membersection{wxOutputStream::SeekO
}
57 \func{off
\_t}{SeekO
}{\param{off
\_t}{ pos
},
\param{wxSeekMode
}{ mode
}}
59 Changes the stream current position.
61 \membersection{wxOutputStream::TellO
}
63 \constfunc{off
\_t}{TellO
}{\void}
65 Returns the current stream position.
67 \membersection{wxOutputStream::Write
}
69 \func{wxOutputStream\&
}{Write
}{\param{const void *
}{buffer
},
\param{size
\_t}{ size
}}
71 Writes the specified amount of bytes using the data of
\it{buffer
}.
72 \it{WARNING!
} The buffer absolutely needs to have at least the specified size.
74 This function returns a reference on the current object, so the user can test
75 any states of the stream right away.
77 \func{wxOutputStream\&
}{Write
}{\param{wxInputStream\&
}{ stream
\_in}}
79 Reads data from the specified input stream and stores them
80 in the current stream. The data is read until an error is raised
81 by one of the two streams.