1 \section{\class{wxFileInputStream
}}\label{wxfileinputstream
}
3 This class represents data read in from a file. There are actually
4 two such groups of classes: this one is based on
\helpref{wxFile
}{wxfile
}
5 whereas
\helpref{wxFFileInputStream
}{wxffileinputstream
} is based in
6 the
\helpref{wxFFile
}{wxffile
} class.
8 Note that
\helpref{SeekI()
}{wxinputstreamseeki
}
9 can seek beyond the end of the stream (file) and will thus not return
10 {\it wxInvalidOffset
} for that.
12 \wxheading{Derived from
}
14 \helpref{wxInputStream
}{wxinputstream
}\\
15 \helpref{wxStreamBase
}{wxstreambase
}
17 \wxheading{Include files
}
23 \helpref{wxBase
}{librarieslist
}
27 \helpref{wxBufferedInputStream
}{wxbufferedinputstream
},
\helpref{wxFileOutputStream
}{wxfileoutputstream
},
\helpref{wxFFileOutputStream
}{wxffileoutputstream
}
32 \latexignore{\rtfignore{\wxheading{Members
}}}
34 \membersection{wxFileInputStream::wxFileInputStream
}\label{wxfileinputstreamctor
}
36 \func{}{wxFileInputStream
}{\param{const wxString\&
}{ ifileName
}}
38 Opens the specified file using its
{\it ifilename
} name in read-only mode.
40 \func{}{wxFileInputStream
}{\param{wxFile\&
}{ file
}}
42 Initializes a file stream in read-only mode using the file I/O object
{\it file
}.
44 \func{}{wxFileInputStream
}{\param{int
}{ fd
}}
46 Initializes a file stream in read-only mode using the specified file descriptor.
48 \membersection{wxFileInputStream::
\destruct{wxFileInputStream
}}\label{wxfileinputstreamdtor
}
50 \func{}{\destruct{wxFileInputStream
}}{\void}
54 \membersection{wxFileInputStream::IsOk
}\label{wxfileinputstreamisok
}
56 \constfunc{bool
}{IsOk
}{\void}
58 Returns true if the stream is initialized and ready.