#include <THDFSFile.h>
Inheritance diagram for THDFSFile:
Public Member Functions | |
THDFSFile (const char *path, Option_t *option="", const char *ftitle="", Int_t compress=1) | |
virtual | ~THDFSFile () |
void | ResetErrno () const |
Private Member Functions | |
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) |
Private Attributes | |
void * | fHdfsFH |
void * | fFS |
Long64_t | fSize |
Long64_t | fSysOffset |
char * | fPath |
Definition at line 33 of file THDFSFile.h.
THDFSFile::THDFSFile | ( | const char * | path, | |
Option_t * | option = "" , |
|||
const char * | ftitle = "" , |
|||
Int_t | compress = 1 | |||
) |
THDFSFile::~THDFSFile | ( | ) | [virtual] |
Reimplemented from TFile.
Definition at line 213 of file THDFSFile.cxx.
References fFS, fHdfsFH, fPath, TUrl::GetFile(), size_t, strlcpy(), and TObject::SysError().
Reimplemented from TFile.
Definition at line 164 of file THDFSFile.cxx.
References fFS, fHdfsFH, fSysOffset, gSystem, TSystem::SetErrorStr(), strerror(), and TRACE.
Reimplemented from TFile.
Definition at line 179 of file THDFSFile.cxx.
References fFS, fPath, free(), fSize, fSysOffset, info, SEEK_CUR, SEEK_END, SEEK_SET, TObject::SysError(), and TRACE.
Int_t THDFSFile::SysStat | ( | Int_t | fd, | |
Long_t * | id, | |||
Long64_t * | size, | |||
Long_t * | flags, | |||
Long_t * | modtime | |||
) | [private, virtual] |
Reimplemented from TFile.
Definition at line 255 of file THDFSFile.cxx.
References fFS, fPath, free(), fSize, TNamed::Hash(), and info.
void THDFSFile::ResetErrno | ( | ) | const [virtual] |
Reimplemented from TFile.
Definition at line 288 of file THDFSFile.cxx.
References TSystem::ResetErrno().
void* THDFSFile::fHdfsFH [private] |
void* THDFSFile::fFS [private] |
Definition at line 37 of file THDFSFile.h.
Referenced by SysClose(), SysOpen(), SysRead(), SysSeek(), and SysStat().
Long64_t THDFSFile::fSize [private] |
Long64_t THDFSFile::fSysOffset [private] |
char* THDFSFile::fPath [private] |
Definition at line 40 of file THDFSFile.h.
Referenced by SysOpen(), SysSeek(), SysStat(), and ~THDFSFile().