This class represents data read in from a file. There are actually two such groups of classes: this one is based on wxFile whereas wxFFileInputStream is based in the wxFFile class.
Note that SeekI() can seek beyond the end of the stream (file) and will thus not return wxInvalidOffset for that.
Derived from
Include files
<wx/wfstream.h>
See also
wxBufferedInputStream, wxFileOutputStream, wxFFileOutputStream
Members
wxFileInputStream::wxFileInputStream
wxFileInputStream::~wxFileInputStream
wxFileInputStream::Ok
wxFileInputStream(const wxString& ifileName)
Opens the specified file using its ifilename name in read-only mode.
wxFileInputStream(wxFile& file)
Initializes a file stream in read-only mode using the file I/O object file.
wxFileInputStream(int fd)
Initializes a file stream in read-only mode using the specified file descriptor.
~wxFileInputStream()
Destructor.
bool Ok() const
Returns true if the stream is initialized and ready.