class DFile : public DStreamBase;
dfile.h
DFile supports 64-bit file sizes and offsets.
DFile supports Unicode filenames on operating systems that have Unicode support
|
Data Member |
Description |
|
From stat |
|
Method |
Description |
|
Returns true if the stream was opened with read access | |
|
Returns true if the stream supports seek() | |
|
Returns true if the stream was opened with write access | |
|
Return the length of the stream | |
|
Read data from the stream | |
|
Change the file position in the stream | |
|
Set the length of the stream | |
|
Return the current file position | |
|
Write data to the stream |
|
Method |
Description |
|
Attach a file handle | |
|
Returns true if the the file was opened with read access | |
|
Returns true if the stream supports seek() | |
|
Returns true if the the file was opened with write access | |
|
Close the file | |
|
Open a temporary file | |
|
Close and reopen the file handle. | |
|
Force file changes to be written to disk | |
|
Close the file so it can be reopened without changing state | |
|
Get the created date of the file | |
|
Returns an operating system handle to the file | |
|
Get the last system error that occurred when trying to access this file | |
|
Return the length of the file | |
|
Get the last-modified date of the file | |
|
Get the name that was used to open the file | |
|
Returns true if the file was opened successfully | |
|
True if the file is open | |
|
Open a file, using a UTF-8 filename | |
|
Open a file, using a TCHAR or CString filename | |
|
Open a file, using a Unicode filename | |
|
Read data from the file | |
|
! Obsolete | |
|
Change the file position | |
|
Set the created and modified date of the file | |
|
Set the length of the file (this can be used to truncate a file) | |
|
Set the last-modified date of the file | |
|
Get the file position | |
|
Write data to the file | |
|
! Obsolete |
|
Method |
|
abstract |
|
virtual |
|
Data Member |
|
protected |
|
Copyright (c) 1995-2012 dtSearch Corp. All rights reserved.
|