OWLNext    7.0
Borland's Object Windows Library for the modern age
Loading...
Searching...
No Matches
owl::TFileHandle Class Referenceabstract

#include <owl/file.h>

Inheritance diagram for owl::TFileHandle:
owl::TDiskFileHandle owl::TStreamHandle

Public Member Functions

virtual uint GetOpenMode ()=0
 
virtual const tstring GetName ()=0
 
virtual uint32 LastError ()=0
 
virtual bool IsOpen ()=0
 
virtual TFileHandleClone () const =0
 
virtual bool Close ()=0
 
virtual uint32 Read (void *buffer, uint32 numBytes)=0
 
virtual bool Write (const void *buffer, uint32 numBytes)=0
 
virtual bool Length (uint64 newLen)=0
 
virtual uint64 Position64 () const =0
 
virtual uint64 Length64 () const =0
 
virtual bool Length (uint32 newLen)=0
 
virtual uint32 Position () const =0
 
virtual uint32 Length () const =0
 
virtual uint64 Seek (int64 offset, TFile::TSeekDir origin=TFile::beg)=0
 
virtual uint32 Seek (long offset, TFile::TSeekDir origin=TFile::beg)=0
 
virtual bool Flush ()=0
 
virtual bool LockRange (uint32 position, uint32 count)=0
 
virtual bool UnlockRange (uint32 position, uint32 count)=0
 
virtual bool LockRange (uint64 position, uint64 count)=0
 
virtual bool UnlockRange (uint64 position, uint64 count)=0
 
virtual bool GetStatus (TFileStatus &status) const =0
 

Protected Member Functions

 TFileHandle ()
 
virtual ~TFileHandle ()
 

Friends

class TFile
 

Detailed Description

Definition at line 284 of file file.h.

Constructor & Destructor Documentation

◆ TFileHandle()

owl::TFileHandle::TFileHandle ( )
inlineprotected

Definition at line 287 of file file.h.

◆ ~TFileHandle()

virtual owl::TFileHandle::~TFileHandle ( )
inlineprotectedvirtual

Definition at line 288 of file file.h.

Member Function Documentation

◆ Clone()

virtual TFileHandle * owl::TFileHandle::Clone ( ) const
pure virtual

◆ Close()

virtual bool owl::TFileHandle::Close ( )
pure virtual

◆ Flush()

virtual bool owl::TFileHandle::Flush ( )
pure virtual

◆ GetName()

virtual const tstring owl::TFileHandle::GetName ( )
pure virtual

◆ GetOpenMode()

virtual uint owl::TFileHandle::GetOpenMode ( )
pure virtual

◆ GetStatus()

virtual bool owl::TFileHandle::GetStatus ( TFileStatus & status) const
pure virtual

◆ IsOpen()

virtual bool owl::TFileHandle::IsOpen ( )
pure virtual

◆ LastError()

virtual uint32 owl::TFileHandle::LastError ( )
pure virtual

◆ Length() [1/3]

virtual uint32 owl::TFileHandle::Length ( ) const
pure virtual

◆ Length() [2/3]

virtual bool owl::TFileHandle::Length ( uint32 newLen)
pure virtual

◆ Length() [3/3]

virtual bool owl::TFileHandle::Length ( uint64 newLen)
pure virtual

◆ Length64()

virtual uint64 owl::TFileHandle::Length64 ( ) const
pure virtual

◆ LockRange() [1/2]

virtual bool owl::TFileHandle::LockRange ( uint32 position,
uint32 count )
pure virtual

◆ LockRange() [2/2]

virtual bool owl::TFileHandle::LockRange ( uint64 position,
uint64 count )
pure virtual

◆ Position()

virtual uint32 owl::TFileHandle::Position ( ) const
pure virtual

◆ Position64()

virtual uint64 owl::TFileHandle::Position64 ( ) const
pure virtual

◆ Read()

virtual uint32 owl::TFileHandle::Read ( void * buffer,
uint32 numBytes )
pure virtual

◆ Seek() [1/2]

virtual uint64 owl::TFileHandle::Seek ( int64 offset,
TFile::TSeekDir origin = TFile::beg )
pure virtual

◆ Seek() [2/2]

virtual uint32 owl::TFileHandle::Seek ( long offset,
TFile::TSeekDir origin = TFile::beg )
pure virtual

◆ UnlockRange() [1/2]

virtual bool owl::TFileHandle::UnlockRange ( uint32 position,
uint32 count )
pure virtual

◆ UnlockRange() [2/2]

virtual bool owl::TFileHandle::UnlockRange ( uint64 position,
uint64 count )
pure virtual

◆ Write()

virtual bool owl::TFileHandle::Write ( const void * buffer,
uint32 numBytes )
pure virtual

Friends And Related Symbol Documentation

◆ TFile

friend class TFile
friend

Definition at line 285 of file file.h.


The documentation for this class was generated from the following file: