OWLNext 7.0
Borland's Object Windows Library for the modern age
|
#include <owl/file.h>
Public Member Functions | |
TDiskFileHandle (const tstring &fileName, uint32 mode) | |
TDiskFileHandle * | Clone () const |
virtual uint | GetOpenMode () |
virtual const tstring | GetName () |
virtual uint32 | LastError () |
virtual bool | IsOpen () |
virtual bool | Close () |
virtual uint32 | Read (void *buffer, uint32 numBytes) |
virtual bool | Write (const void *buffer, uint32 numBytes) |
virtual bool | Length (uint64 newLen) |
virtual uint64 | Position64 () const |
virtual uint64 | Length64 () const |
virtual bool | Length (uint32 newLen) |
virtual uint32 | Position () const |
virtual uint32 | Length () const |
virtual uint64 | Seek (int64 offset, TFile::TSeekDir origin=TFile::beg) |
virtual uint32 | Seek (long offset, TFile::TSeekDir origin=TFile::beg) |
virtual bool | Flush () |
virtual bool | LockRange (uint32 position, uint32 count) |
virtual bool | UnlockRange (uint32 position, uint32 count) |
virtual bool | LockRange (uint64 position, uint64 count) |
virtual bool | UnlockRange (uint64 position, uint64 count) |
virtual bool | GetStatus (TFileStatus &status) const |
Protected Member Functions | |
TDiskFileHandle (HANDLE handle, const tstring &fileName, uint mode) | |
Protected Member Functions inherited from owl::TFileHandle | |
TFileHandle () | |
virtual | ~TFileHandle () |
Protected Attributes | |
HANDLE | Handle |
uint | OpenMode |
tstring | FileName |
Friends | |
class | TFileName |
|
virtual |
Implements owl::TFileHandle.
Definition at line 147 of file file.cpp.
References TDiskFileHandle(), FileName, Handle, and OpenMode.
|
virtual |
|
virtual |
Implements owl::TFileHandle.
Implements owl::TFileHandle.
|
virtual |
Implements owl::TFileHandle.
Definition at line 359 of file file.cpp.
References owl::__sys2Atr(), _tfullpath, owl::TFileStatus::accessTime, owl::TFileStatus::attribute, COUNTOF, owl::TFileStatus::createTime, FileName, owl::TFileStatus::fullName, Handle, Length(), owl::TFileStatus::modifyTime, owl::TFileStatus::size, and TFILE_ERROR.
Implements owl::TFileHandle.
|
virtual |
Implements owl::TFileHandle.
|
virtual |
Implements owl::TFileHandle.
Definition at line 244 of file file.cpp.
References Handle, and TFILE_ERROR.
Implements owl::TFileHandle.
Definition at line 223 of file file.cpp.
References owl::TFile::beg, Handle, Seek(), and TFILE_ERROR.
Implements owl::TFileHandle.
Definition at line 195 of file file.cpp.
References owl::TFile::beg, Handle, Seek(), and TFILE64_ERROR.
|
virtual |
|
virtual |
Implements owl::TFileHandle.
Definition at line 234 of file file.cpp.
References owl::TFile::cur, Handle, and TFILE_ERROR.
|
virtual |
Implements owl::TFileHandle.
Definition at line 206 of file file.cpp.
References owl::TFile::cur, and Handle.
Implements owl::TFileHandle.
Definition at line 175 of file file.cpp.
References Handle, and TFILE_ERROR.
|
virtual |
|
virtual |
Implements owl::TFileHandle.
Definition at line 261 of file file.cpp.
References Handle, and TFILE_ERROR.