nw::io::FileStream Class

Syntax

class FileStream : public nw::io::IOStream

Description

typedef Definitions

IOStreamCallback This callback function is called after asynchronous processing completes.(Inherited from IOStream.)

Member Variables

NW_UT_RUNTIME_TYPEINFO
protected mAvailable (Inherited from IOStream.)
protected mAsyncResult (Inherited from IOStream.)
protected mCallback (Inherited from IOStream.)
protected mArg (Inherited from IOStream.)

Member Functions

Gets the property information of the file stream.
PV CanRead Gets whether this stream can be read.
PV CanWrite Gets whether this stream can be written.
PV CanAsync Gets whether this stream can be processed asynchronously.
V GetOffsetAlign Gets the alignment required as an offset position from the file pointer used when reading/writing files.
V GetSizeAlign Gets the alignment required as a size to be read/written once when reading/writing files.
V GetBufferAlign This function gets the alignment required for a buffer address used for sending/receiving data when reading/writing.
File Stream Operations
V Read Reads data from the stream (synchronous process).
V ReadAsync Reads data from the stream (asynchronous process).
V Write Writes data to the stream (synchronous process).
V WriteAsync Writes data to the stream (asynchronous process).
WaitAsync Waits for the completion of asynchronous processing.(Inherited from IOStream.)
V IsBusy Checks whether asynchronous processing is currently executing.
Closes the file/gets status
PV Close Closes a stream.
IsAvailable Gets a value indicating whether the stream is currently available.(Inherited from IOStream.)
Other
PV GetSize
V Seek
V Cancel
V CancelAsync
PV CanSeek
PV CanCancel
PV Tell
IsEof
protected FileStream

Class Hierarchy

nw::io::IOStream
  nw::io::FileStream


CONFIDENTIAL