12#ifndef ROOT_TDavixFile
13#define ROOT_TDavixFile
int Int_t
Signed integer 4 bytes (int).
bool Bool_t
Boolean (0=false, 1=true) (bool).
double Double_t
Double 8 bytes.
long long Long64_t
Portable signed long integer 8 bytes.
const char Option_t
Option string (const char).
#define ClassDefOverride(name, id)
A log configuration for a channel, e.g.
Bool_t WriteBuffer(const char *buffer, Int_t bufferLength) override
Write a buffer to the file.
TString GetNewUrl() override
Long64_t GetSize() const override
Returns the current file size.
Int_t DavixStat(struct stat *st) const
Long64_t DavixReadBuffers(Davix_fd *fd, char *buf, Long64_t *pos, Int_t *len, Int_t nbuf)
Long64_t DavixReadBuffer(Davix_fd *fd, char *buf, Int_t len)
Long64_t DavixPReadBuffer(Davix_fd *fd, char *buf, Long64_t pos, Int_t len)
Long64_t DavixWriteBuffer(Davix_fd *fd, const char *buf, Int_t len)
std::string DiscoverToken()
void Seek(Long64_t offset, ERelativeTo pos=kBeg) override
Set position from where to start reading.
TDavixFile(const char *url, Option_t *option="", const char *ftitle="", Int_t compress=ROOT::RCompressionSetting::EDefaults::kUseCompiledDefault)
Open function for TDavixFile.
void enableGridMode()
Enable the grid mode The grid Mode configure automatically all grid-CA path, VOMS authentication and ...
Bool_t ReadBuffer(char *buf, Int_t len) override
Read specified byte range from remote file via HTTP.
Bool_t ReadBufferAsync(Long64_t offs, Int_t len) override
TDavixFileInternal * d_ptr
void Init(Bool_t init) override
Initialize a TFile object.
void eventStop(Double_t t, Long64_t len, bool read=true)
set TFile state info
void setCACheck(Bool_t check)
Enable or disable certificate authority check.
Bool_t ReadBuffers(char *buf, Long64_t *pos, Int_t *len, Int_t nbuf) override
Read the nbuf blocks described in arrays pos and len.
TFile(const TFile &)=delete
ROOT::RLogChannel & TDavixLogChannel()
@ kUseCompiledDefault
Use the compile-time default setting.