TChirpFile Class Reference

#include <TChirpFile.h>

Inheritance diagram for TChirpFile:

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

Public Member Functions

 TChirpFile (const char *path, Option_t *option="", const char *ftitle="", Int_t compress=1)
 ~TChirpFile ()
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)
void ResetErrno () const

Private Member Functions

 TChirpFile ()
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 fd)
Int_t OpenChirpClient (const char *URL, char const **path)
Int_t CloseChirpClient ()

Private Attributes

chirp_clientchirp_client

Detailed Description

Definition at line 31 of file TChirpFile.h.


Constructor & Destructor Documentation

TChirpFile::TChirpFile (  )  [inline, private]

Definition at line 36 of file TChirpFile.h.

TChirpFile::TChirpFile ( const char *  path,
Option_t option = "",
const char *  ftitle = "",
Int_t  compress = 1 
)

TChirpFile::~TChirpFile (  ) 

Definition at line 114 of file TChirpFile.cxx.

References TFile::Close(), and CloseChirpClient().


Member Function Documentation

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

Reimplemented from TFile.

Definition at line 207 of file TChirpFile.cxx.

References chirp_client, gSystem, TSystem::SetErrorStr(), and strerror().

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

Reimplemented from TFile.

Definition at line 231 of file TChirpFile.cxx.

References chirp_client, gSystem, TSystem::SetErrorStr(), and strerror().

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

Reimplemented from TFile.

Definition at line 243 of file TChirpFile.cxx.

References chirp_client, gSystem, TSystem::SetErrorStr(), and strerror().

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

Reimplemented from TFile.

Definition at line 255 of file TChirpFile.cxx.

References chirp_client, gSystem, TSystem::SetErrorStr(), and strerror().

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

Reimplemented from TFile.

Definition at line 267 of file TChirpFile.cxx.

References chirp_client, gSystem, Long64_t, TSystem::SetErrorStr(), and strerror().

Referenced by SysStat().

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

Reimplemented from TFile.

Definition at line 290 of file TChirpFile.cxx.

References TFile::fRealName, TNamed::Hash(), Long64_t, SEEK_CUR, SEEK_END, SEEK_SET, and SysSeek().

Int_t TChirpFile::SysSync ( Int_t  fd  )  [private, virtual]

Reimplemented from TFile.

Definition at line 278 of file TChirpFile.cxx.

References chirp_client, gSystem, TSystem::SetErrorStr(), and strerror().

Int_t TChirpFile::OpenChirpClient ( const char *  URL,
char const **  path 
) [private]

Definition at line 174 of file TChirpFile.cxx.

References chirp_client, CloseChirpClient(), gSystem, TSystem::SetErrorStr(), and strerror().

Int_t TChirpFile::CloseChirpClient (  )  [private]

Definition at line 194 of file TChirpFile.cxx.

References c, and chirp_client.

Referenced by OpenChirpClient(), and ~TChirpFile().

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

Reimplemented from TFile.

Definition at line 123 of file TChirpFile.cxx.

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

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

Reimplemented from TFile.

Definition at line 139 of file TChirpFile.cxx.

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

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

Reimplemented from TFile.

Definition at line 156 of file TChirpFile.cxx.

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

void TChirpFile::ResetErrno (  )  const [virtual]

Reimplemented from TFile.

Definition at line 307 of file TChirpFile.cxx.

References TSystem::ResetErrno().


Member Data Documentation

struct chirp_client* TChirpFile::chirp_client [private]

Definition at line 34 of file TChirpFile.h.

Referenced by CloseChirpClient(), OpenChirpClient(), SysClose(), SysOpen(), SysRead(), SysSeek(), SysSync(), and SysWrite().


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