Contents Up Previous Next

wxFileInputStream

Derived from

wxInputStream

Include files

<wx/wfstream.h>

See also

wxStreamBuffer (REF NOT FOUND)

Members

wxFileInputStream::wxFileInputStream
wxFileInputStream::~wxFileInputStream
wxFileInputStream::Ok


wxFileInputStream::wxFileInputStream

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::~wxFileInputStream

~wxFileInputStream()

Destructor.


wxFileInputStream::Ok

bool Ok() const

Returns TRUE if the stream is initialized and ready.