]>
Commit | Line | Data |
---|---|---|
e2cad352 GL |
1 | % ----------------------------------------------------------------------------- |
2 | % wxFileInputStream | |
3 | % ----------------------------------------------------------------------------- | |
4 | \section{\class{wxFileInputStream}}\label{wxfileinputstream} | |
5 | ||
6 | \wxheading{Derived from} | |
7 | ||
8 | \helpref{wxInputStream}{wxinputstream} | |
9 | ||
954b8ae6 JS |
10 | \wxheading{Include files} |
11 | ||
12 | <wx/wfstream.h> | |
13 | ||
e2cad352 GL |
14 | \wxheading{See also} |
15 | ||
16 | \helpref{wxStreamBuffer}{wxstreamBuffer} | |
17 | ||
18 | % ---------- | |
19 | % Members | |
20 | % ---------- | |
21 | \latexignore{\rtfignore{\wxheading{Members}}} | |
22 | ||
23 | \membersection{wxFileInputStream::wxFileInputStream} | |
24 | ||
4dba84be | 25 | \func{}{wxFileInputStream}{\param{const wxString\&}{ ifileName}} |
e2cad352 GL |
26 | |
27 | Opens the specified file using its \it{ifilename} name in read-only mode. | |
28 | ||
4dba84be | 29 | \func{}{wxFileInputStream}{\param{wxFile\&}{ file}} |
e2cad352 GL |
30 | |
31 | Initializes a file stream in read-only mode using the file I/O object \it{file}. | |
32 | ||
4dba84be | 33 | \func{}{wxFileInputStream}{\param{int}{ fd}} |
e2cad352 GL |
34 | |
35 | Initializes a file stream in read-only mode using the specified file descriptor. | |
36 | ||
37 | \membersection{wxFileInputStream::\destruct{wxFileInputStream}} | |
4dba84be JS |
38 | |
39 | \func{}{\destruct{wxFileInputStream}}{\void} | |
e2cad352 GL |
40 | |
41 | Destructor. | |
42 | ||
43 | \membersection{wxFileInputStream::Ok} | |
4dba84be | 44 | |
e2cad352 GL |
45 | \constfunc{bool}{Ok}{\void} |
46 | ||
47 | Returns TRUE if the stream is initialized and ready. | |
48 | ||
49 | % ----------------------------------------------------------------------------- | |
50 | % wxFileOutputStream | |
51 | % ----------------------------------------------------------------------------- | |
52 | \section{\class{wxFileOutputStream}}\label{wxfileoutputstream} | |
53 | ||
54 | \wxheading{Derived from} | |
55 | ||
56 | \helpref{wxOutputStream}{wxoutputstream} | |
57 | ||
954b8ae6 JS |
58 | \wxheading{Include files} |
59 | ||
60 | <wx/wfstream.h> | |
61 | ||
e2cad352 GL |
62 | \wxheading{See also} |
63 | ||
64 | \helpref{wxStreamBuffer}{wxstreamBuffer} | |
65 | ||
66 | % ---------- | |
67 | % Members | |
68 | % ---------- | |
69 | \latexignore{\rtfignore{\wxheading{Members}}} | |
70 | ||
71 | \membersection{wxFileOutputStream::wxFileOutputStream} | |
72 | ||
4dba84be | 73 | \func{}{wxFileOutputStream}{\param{const wxString\&}{ ofileName}} |
e2cad352 GL |
74 | |
75 | Creates a new file with \it{ofilename} name and initializes the stream in | |
76 | write-only mode. | |
77 | ||
78 | \func{}{wxFileOutputStream}{\param{wxFile&}{ file}} | |
4dba84be | 79 | |
e2cad352 GL |
80 | Initializes a file stream in write-only mode using the file I/O object \it{file}. |
81 | ||
82 | \func{}{wxFileOutputStream}{\param{int}{ fd}} | |
4dba84be | 83 | |
e2cad352 GL |
84 | Initializes a file stream in write-only mode using the file descriptor \it{fd}. |
85 | ||
86 | \membersection{wxFileOutputStream::\destruct{wxFileOutputStream}} | |
4dba84be JS |
87 | |
88 | \func{}{\destruct{wxFileOutputStream}}{\void} | |
e2cad352 GL |
89 | |
90 | Destructor. | |
91 | ||
92 | \membersection{wxFileOutputStream::Ok} | |
4dba84be | 93 | |
e2cad352 GL |
94 | \constfunc{bool}{Ok}{\void} |
95 | ||
96 | Returns TRUE if the stream is initialized and ready. | |
97 | ||
98 | % ----------------------------------------------------------------------------- | |
99 | % wxFileStream | |
100 | % ----------------------------------------------------------------------------- | |
101 | \section{\class{wxFileStream}} | |
102 | ||
103 | \wxheading{Derived from} | |
104 | ||
105 | \helpref{wxFileOutputStream}{wxFileOutputStream}, \helpref{wxFileInputStream}{wxfileinputstream} | |
106 | ||
954b8ae6 JS |
107 | \wxheading{Include files} |
108 | ||
109 | <wx/wfstream.h> | |
110 | ||
e2cad352 GL |
111 | \wxheading{See also} |
112 | ||
113 | \helpref{wxStreamBuffer}{wxstreamBuffer} | |
114 | ||
115 | \latexignore{\rtfignore{\wxheading{Members}}} | |
116 | ||
117 | \membersection{wxFileStream::wxFileStream} | |
118 | ||
4dba84be | 119 | \func{}{wxFileStream}{\param{const wxString\&}{ iofileName}} |
e2cad352 | 120 | |
4dba84be | 121 | Initializes a new file stream in read-write mode using the specified |
e2cad352 GL |
122 | \it{iofilename} name. |
123 |