TGFALFile Class Reference

#include <TGFALFile.h>

Inheritance diagram for TGFALFile:

TFile TDirectoryFile TDirectoryFile TDirectory TDirectory TDirectory TDirectory TNamed TNamed TNamed TNamed TNamed TNamed TNamed TNamed List of all members.

Public Member Functions

 TGFALFile (const char *url, Option_t *option="", const char *ftitle="", Int_t compress=1)
 ~TGFALFile ()
Bool_t ReadBuffer (char *buf, Int_t len)
Bool_t ReadBuffer (char *buf, Long64_t pos, Int_t len)
Bool_t WriteBuffer (const char *buf, Int_t len)

Private Member Functions

 TGFALFile ()
 (transient) Cached file status buffer (for performance)
Int_t SysOpen (const char *pathname, Int_t flags, UInt_t mode)
Int_t SysClose (Int_t fd)
Int_t SysRead (Int_t fd, void *buf, Int_t len)
Int_t SysWrite (Int_t fd, const void *buf, Int_t len)
Long64_t SysSeek (Int_t fd, Long64_t offset, Int_t whence)
Int_t SysStat (Int_t fd, Long_t *id, Long64_t *size, Long_t *flags, Long_t *modtime)
Int_t SysSync (Int_t)

Private Attributes

Bool_t fStatCached
stat64 fStatBuffer
 (transient) is file status cached?

Detailed Description

Definition at line 75 of file TGFALFile.h.


Constructor & Destructor Documentation

TGFALFile::TGFALFile (  )  [inline, private]

(transient) Cached file status buffer (for performance)

Definition at line 81 of file TGFALFile.h.

TGFALFile::TGFALFile ( const char *  url,
Option_t option = "",
const char *  ftitle = "",
Int_t  compress = 1 
)

TGFALFile::~TGFALFile (  ) 

Definition at line 188 of file TGFALFile.cxx.

References TFile::Close().


Member Function Documentation

Int_t TGFALFile::SysOpen ( const char *  pathname,
Int_t  flags,
UInt_t  mode 
) [private, virtual]

Reimplemented from TFile.

Definition at line 196 of file TGFALFile.cxx.

Int_t TGFALFile::SysClose ( Int_t  fd  )  [private, virtual]

Reimplemented from TFile.

Definition at line 206 of file TGFALFile.cxx.

Int_t TGFALFile::SysRead ( Int_t  fd,
void *  buf,
Int_t  len 
) [private, virtual]

Reimplemented from TFile.

Definition at line 216 of file TGFALFile.cxx.

Int_t TGFALFile::SysWrite ( Int_t  fd,
const void *  buf,
Int_t  len 
) [private, virtual]

Reimplemented from TFile.

Definition at line 226 of file TGFALFile.cxx.

Long64_t TGFALFile::SysSeek ( Int_t  fd,
Long64_t  offset,
Int_t  whence 
) [private, virtual]

Reimplemented from TFile.

Definition at line 236 of file TGFALFile.cxx.

References Long64_t.

Int_t TGFALFile::SysStat ( Int_t  fd,
Long_t id,
Long64_t size,
Long_t flags,
Long_t modtime 
) [private, virtual]

Reimplemented from TFile.

Definition at line 248 of file TGFALFile.cxx.

References TFile::fOption, TFile::fRealName, fStatBuffer, fStatCached, if(), kTRUE, and stat64().

Int_t TGFALFile::SysSync ( Int_t   )  [inline, private, virtual]

Reimplemented from TFile.

Definition at line 90 of file TGFALFile.h.

Bool_t TGFALFile::ReadBuffer ( char *  buf,
Int_t  len 
) [virtual]

Reimplemented from TFile.

Definition at line 288 of file TGFALFile.cxx.

References kFALSE, kTRUE, TFile::ReadBuffer(), and TFile::ReadBufferViaCache().

Bool_t TGFALFile::ReadBuffer ( char *  buf,
Long64_t  pos,
Int_t  len 
) [virtual]

Reimplemented from TFile.

Definition at line 304 of file TGFALFile.cxx.

References kFALSE, kTRUE, TFile::ReadBuffer(), TFile::ReadBufferViaCache(), and TFile::SetOffset().

Bool_t TGFALFile::WriteBuffer ( const char *  buf,
Int_t  len 
) [virtual]

Reimplemented from TFile.

Definition at line 321 of file TGFALFile.cxx.

References TDirectoryFile::fWritable, TFile::IsOpen(), kFALSE, kTRUE, TFile::WriteBuffer(), and TFile::WriteBufferViaCache().


Member Data Documentation

Bool_t TGFALFile::fStatCached [private]

Definition at line 78 of file TGFALFile.h.

Referenced by SysStat().

struct stat64 TGFALFile::fStatBuffer [private]

(transient) is file status cached?

Definition at line 79 of file TGFALFile.h.

Referenced by SysStat().


The documentation for this class was generated from the following files:
Generated on Tue Jul 5 16:39:14 2011 for ROOT_528-00b_version by  doxygen 1.5.1