OWLNext 7.0
Borland's Object Windows Library for the modern age
|
#include <owl/file.h>
Public Member Functions | |
virtual uint | GetOpenMode () |
virtual const tstring | GetName () |
virtual uint32 | LastError () |
virtual bool | IsOpen () |
TStreamHandle * | Clone () const |
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 | |
TStreamHandle (TStreamFile *parent, const tstring &filename, uint32 mode) | |
virtual | ~TStreamHandle () |
Protected Member Functions inherited from owl::TFileHandle | |
TFileHandle () | |
virtual | ~TFileHandle () |
Protected Attributes | |
TStreamFile * | Parent |
uint | OpenMode |
tstring | FileName |
Friends | |
class | TStreamFile |
|
protected |
Definition at line 1954 of file file.cpp.
References _USES_CONVERSION, _W2A, and Parent.
|
inlineprotectedvirtual |
|
virtual |
Implements owl::TFileHandle.
Definition at line 1978 of file file.cpp.
References owl::TXNotSupportedCall::Raise().
|
virtual |
|
virtual |
Implements owl::TFileHandle.
Definition at line 2075 of file file.cpp.
References OpenMode, Parent, and owl::TFile::WriteOnly.
Implements owl::TFileHandle.
Implements owl::TFileHandle.
|
virtual |
Implements owl::TFileHandle.
Definition at line 2105 of file file.cpp.
References owl::TXNotSupportedCall::Raise().
|
virtual |
|
virtual |
|
virtual |
Implements owl::TFileHandle.
Definition at line 2046 of file file.cpp.
References owl::TFile::beg, owl::TFile::end, OpenMode, Parent, Position(), TFILE_ERROR, and owl::TFile::WriteOnly.
Implements owl::TFileHandle.
Definition at line 2026 of file file.cpp.
References owl::TXNotSupportedCall::Raise().
|
virtual |
Implements owl::TFileHandle.
Definition at line 2082 of file file.cpp.
References owl::TXNotSupportedCall::Raise().
|
virtual |
Implements owl::TFileHandle.
Definition at line 2034 of file file.cpp.
References OpenMode, Parent, TFILE_ERROR, and owl::TFile::WriteOnly.
|
virtual |
Implements owl::TFileHandle.
Definition at line 2013 of file file.cpp.
References Position(), TFILE64_ERROR, and TFILE_ERROR.
|
virtual |
|
virtual |
Implements owl::TFileHandle.
Definition at line 2065 of file file.cpp.
References OpenMode, Parent, Position(), and owl::TFile::WriteOnly.
Implements owl::TFileHandle.
Definition at line 2088 of file file.cpp.
References owl::TXNotSupportedCall::Raise().
|
friend |
|
protected |