]> git.saurik.com Git - wxWidgets.git/blame - docs/latex/wx/fileistr.tex
wxDataViewCtrl DnD stubs, some reformating
[wxWidgets.git] / docs / latex / wx / fileistr.tex
CommitLineData
1106d865
VZ
1\section{\class{wxFileInputStream}}\label{wxfileinputstream}
2
3This class represents data read in from a file. There are actually
4two such groups of classes: this one is based on \helpref{wxFile}{wxfile}
5whereas \helpref{wxFFileInputStream}{wxffileinputstream} is based in
6the \helpref{wxFFile}{wxffile} class.
7
bf085665 8Note that \helpref{SeekI()}{wxinputstreamseeki}
a84e46f2
VS
9can seek beyond the end of the stream (file) and will thus not return
10{\it wxInvalidOffset} for that.
1106d865
VZ
11
12\wxheading{Derived from}
13
7376079d
VZ
14\helpref{wxInputStream}{wxinputstream}\\
15\helpref{wxStreamBase}{wxstreambase}
1106d865
VZ
16
17\wxheading{Include files}
18
19<wx/wfstream.h>
20
a7af285d
VZ
21\wxheading{Library}
22
23\helpref{wxBase}{librarieslist}
24
1106d865
VZ
25\wxheading{See also}
26
27\helpref{wxBufferedInputStream}{wxbufferedinputstream}, \helpref{wxFileOutputStream}{wxfileoutputstream}, \helpref{wxFFileOutputStream}{wxffileoutputstream}
28
29% ----------
30% Members
31% ----------
32\latexignore{\rtfignore{\wxheading{Members}}}
33
b236c10f 34\membersection{wxFileInputStream::wxFileInputStream}\label{wxfileinputstreamctor}
1106d865
VZ
35
36\func{}{wxFileInputStream}{\param{const wxString\&}{ ifileName}}
37
38Opens the specified file using its {\it ifilename} name in read-only mode.
39
40\func{}{wxFileInputStream}{\param{wxFile\&}{ file}}
41
42Initializes a file stream in read-only mode using the file I/O object {\it file}.
43
44\func{}{wxFileInputStream}{\param{int}{ fd}}
45
46Initializes a file stream in read-only mode using the specified file descriptor.
47
b236c10f 48\membersection{wxFileInputStream::\destruct{wxFileInputStream}}\label{wxfileinputstreamdtor}
1106d865
VZ
49
50\func{}{\destruct{wxFileInputStream}}{\void}
51
52Destructor.
53
b7cacb43 54\membersection{wxFileInputStream::IsOk}\label{wxfileinputstreamisok}
1106d865 55
b7cacb43 56\constfunc{bool}{IsOk}{\void}
1106d865 57
cc81d32f 58Returns true if the stream is initialized and ready.
1106d865 59