File: wx94.htm

package info (click to toggle)
wxwin2-doc 2.01-1
  • links: PTS
  • area: main
  • in suites: potato
  • size: 6,540 kB
  • ctags: 5,968
  • sloc: cpp: 15,157; makefile: 434; sh: 6
file content (48 lines) | stat: -rw-r--r-- 1,903 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<HTML>
<head><title>wxFileOutputStream</title></head>

<BODY BGCOLOR=#FFFFFF>
<A NAME="wxfileoutputstream"></A><CENTER>
<A HREF="wx.htm"><img align=center src="contents.gif" BORDER=0 ALT="Contents"></A> <A HREF="wx22.htm#classref"><img align=center src="up.gif" BORDER=0 ALT="Up"></A> <A HREF="wx93.htm#wxfileinputstream"><img align=center src="back.gif" BORDER=0 ALT="Previous"></A> <A HREF="wx95.htm#topic382"><img align=center src="forward.gif" BORDER=0 ALT="Next"></A> </CENTER><HR>

<H2>wxFileOutputStream</H2>
<P>
<B><FONT COLOR="#FF0000">Derived from</FONT></B><P>
<A HREF="wx160.htm#wxoutputstream">wxOutputStream</A><P>
<B><FONT COLOR="#FF0000">Include files</FONT></B><P>
&lt;wx/wfstream.h&gt;<P>
<B><FONT COLOR="#FF0000">See also</FONT></B><P>
wxStreamBuffer (REF NOT FOUND)<P>
<B><FONT COLOR="#FF0000">Members</FONT></B><P>
<A HREF="#topic379">wxFileOutputStream::wxFileOutputStream</A><BR>
<A HREF="#topic380">wxFileOutputStream::~wxFileOutputStream</A><BR>
<A HREF="#topic381">wxFileOutputStream::Ok</A><BR>
<P>

<HR>
<A NAME="topic379"></A>
<H3>wxFileOutputStream::wxFileOutputStream</H3>
<P>
<B></B> <B>wxFileOutputStream</B>(<B>const wxString&amp;</B><I> ofileName</I>)<P>
Creates a new file with <I>ofilename</I> name and initializes the stream in
write-only mode. <P>
<B></B> <B>wxFileOutputStream</B>(<B>wxFile&amp;</B><I> file</I>)<P>
Initializes a file stream in write-only mode using the file I/O object <I>file</I>.<P>
<B></B> <B>wxFileOutputStream</B>(<B>int</B><I> fd</I>)<P>
Initializes a file stream in write-only mode using the file descriptor <I>fd</I>.<P>

<HR>
<A NAME="topic380"></A>
<H3>wxFileOutputStream::~wxFileOutputStream</H3>
<P>
<B></B> <B>~wxFileOutputStream</B>()<P>
Destructor.<P>

<HR>
<A NAME="topic381"></A>
<H3>wxFileOutputStream::Ok</H3>
<P>
<B>bool</B> <B>Ok</B>() <B>const</B><P>
Returns TRUE if the stream is initialized and ready.<P>

</BODY></HTML>