#include <TChirpFile.h>
Inheritance diagram for TChirpFile:
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_client * | chirp_client |
Definition at line 31 of file TChirpFile.h.
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 | ( | ) |
Reimplemented from TFile.
Definition at line 207 of file TChirpFile.cxx.
References chirp_client, gSystem, TSystem::SetErrorStr(), and strerror().
Reimplemented from TFile.
Definition at line 231 of file TChirpFile.cxx.
References chirp_client, gSystem, TSystem::SetErrorStr(), and strerror().
Reimplemented from TFile.
Definition at line 243 of file TChirpFile.cxx.
References chirp_client, gSystem, TSystem::SetErrorStr(), and strerror().
Reimplemented from TFile.
Definition at line 255 of file TChirpFile.cxx.
References chirp_client, gSystem, TSystem::SetErrorStr(), and strerror().
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().
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().
Reimplemented from TFile.
Definition at line 123 of file TChirpFile.cxx.
References kFALSE, kTRUE, TFile::ReadBuffer(), and TFile::ReadBufferViaCache().
Reimplemented from TFile.
Definition at line 139 of file TChirpFile.cxx.
References kFALSE, kTRUE, TFile::ReadBuffer(), TFile::ReadBufferViaCache(), and TFile::SetOffset().
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().
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().