File
File: dfile.h
Namespace: dtSearch
Syntax
Data Members
Show:
No members matching the current filter
Data Member |
Description |
---|---|
From stat |
Group
Members
Methods
Show:
No members matching the current filter
Method |
Description |
---|---|
Attach a file handle | |
Attach a file handle | |
Returns true if the the file was opened with read access | |
Returns true if the stream was opened with read access (Inherited from DStreamBase) | |
Returns true if the stream supports seek() | |
Returns true if the stream supports seek() (Inherited from DStreamBase) | |
Returns true if the the file was opened with write access | |
Returns true if the stream was opened with write access (Inherited from DStreamBase) | |
Close the file | |
Open a temporary file | |
Close and reopen the file handle. DFile does not maintain buffers so all I/O is unbuffered. | |
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 access date of the file | |
Get the last system error that occurred when trying to access this file | |
Return the length of the file | |
Return the length of the stream (Inherited from DStreamBase) | |
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 | |
After an operation has completed, throw a DFileException if an error occurred | |
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 | |
Read data from the stream (Inherited from DStreamBase) | |
! Obsolete | |
Change the file position | |
Change the file position in the stream (Inherited from DStreamBase) | |
Set the created and modified date of the file | |
Set the last access date of the file | |
Set the length of the file (this can be used to truncate a file) | |
Set the length of the stream (Inherited from DStreamBase) | |
Set the last-modified date of the file | |
Get the file position | |
Return the current file position (Inherited from DStreamBase) | |
Write data to the file | |
Write data to the stream (Inherited from DStreamBase) | |
! Obsolete |
Data Members
Show:
No members matching the current filter
Data Member |
Description |
---|---|
From stat |
Methods
Show:
No members matching the current filter
Method |
Description |
---|---|
Attach a file handle | |
Attach a file handle | |
Returns true if the the file was opened with read access | |
Returns true if the stream was opened with read access (Inherited from DStreamBase) | |
Returns true if the stream supports seek() | |
Returns true if the stream supports seek() (Inherited from DStreamBase) | |
Returns true if the the file was opened with write access | |
Returns true if the stream was opened with write access (Inherited from DStreamBase) | |
Close the file | |
Open a temporary file | |
Close and reopen the file handle. DFile does not maintain buffers so all I/O is unbuffered. | |
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 access date of the file | |
Get the last system error that occurred when trying to access this file | |
Return the length of the file | |
Return the length of the stream (Inherited from DStreamBase) | |
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 | |
After an operation has completed, throw a DFileException if an error occurred | |
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 | |
Read data from the stream (Inherited from DStreamBase) | |
! Obsolete | |
Change the file position | |
Change the file position in the stream (Inherited from DStreamBase) | |
Set the created and modified date of the file | |
Set the last access date of the file | |
Set the length of the file (this can be used to truncate a file) | |
Set the length of the stream (Inherited from DStreamBase) | |
Set the last-modified date of the file | |
Get the file position | |
Return the current file position (Inherited from DStreamBase) | |
Write data to the file | |
Write data to the stream (Inherited from DStreamBase) | |
! Obsolete |
Remarks
DFile supports 64-bit file sizes and offsets.
DFile supports Unicode filenames on operating systems that have Unicode support
Class Hierarchy
dtSearch::DStreamBase
|
dtSearch::DFile