#include <IFileStreamData.h>
|
| enum | { kDefaultIID = IID_IFILESTREAMDATA } |
| |
Container interface used to hold information about a file accessed via a file stream.
- See Also
- IDFile
| virtual OSType IFileStreamData::GetCreator | ( | | ) | const |
| pure virtual |
Returns the creator of the file accessed via the stream.
- Returns
- Creator of the file accessed via the stream.
| virtual OSType IFileStreamData::GetFileType | ( | | ) | const |
| pure virtual |
Returns the file type of the file accessed via the stream.
- Returns
- File type of the file accessed via the stream.
| virtual uint32 IFileStreamData::GetMode | ( | | ) | const |
| pure virtual |
Returns the file mode used by the stream when opening the file.
- Returns
- File mode used by the stream when opening the file.
| virtual const IDFile& IFileStreamData::GetSysFile | ( | | ) | const |
| pure virtual |
Returns the file accessed via the stream.
- Returns
- Reference to the file accessed via the stream.
| virtual void IFileStreamData::Set | ( | const IDFile & | sysFile, | | | uint32 | mode, | | | OSType | fileType = 0x3f3f3f3f, | | | OSType | creator = 0x3f3f3f3f | | ) | | |
| pure virtual |
Sets information about the file accessed via the stream.
- Parameters
| sysFile | IN File accessed via the stream. |
| mode | IN File mode used by the stream when opening the given file. |
| fileType | IN File type of the given file. |
| creator | IN Creator of the given file. |