iDRS™ SDK 16
Loading...
Searching...
No Matches
CFileStream Class Reference

Class CFileStream provides an IByteStream implementation for reading and writing data from files. More...

#include <idrs_common.h>

Inheritance diagram for CFileStream:
CObjPtr CObj IByteStream CObj

Detailed Description

Class CFileStream provides an IByteStream implementation for reading and writing data from files.

The file to be associated with the stream can be specified either as a parameter in the Create function or by calling member Open After all necessary operations on a file have been performed, it can be closed (or disassociated) by calling member close. Once closed, the same file stream object may be used to open another file.

The member function IsOpen can be used to determine whether the stream object is currently associated with a file.