Version: 2.9.4
Public Member Functions
wxFileStream Class Reference

#include </home/zeitlin/src/wx/github/interface/wx/wfstream.h>

Inheritance diagram for wxFileStream:

Detailed Description

This class represents data that can be both read from and written to a file.

There are actually two such groups of classes: this one is based on wxFile whereas wxFFileStream is based in the wxFFile class.

Library:  wxBase
Category:  Streams
参照:
wxFileInputStream, wxFileOutputStream, wxFFileStream

Public Member Functions

 wxFileStream (const wxString &iofileName)
 Initializes a new file stream in read-write mode using the specified iofileName name.
bool IsOk () const
 Returns true if the stream is initialized and ready.

List of all members.


Constructor & Destructor Documentation

wxFileStream::wxFileStream ( const wxString iofileName)

Initializes a new file stream in read-write mode using the specified iofileName name.

Warning:
You should use IsOk() to verify if the constructor succeeded.

Member Function Documentation

bool wxFileStream::IsOk ( ) const [virtual]

Returns true if the stream is initialized and ready.

This method returns true if the stream can be both read from and written to.

Reimplemented from wxFileOutputStream.

 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines