11#ifndef ROOT_RRawFileTFile
12#define ROOT_RRawFileTFile
39 throw std::runtime_error(
"failed to read expected number of bytes");
49 std::unique_ptr<ROOT::Internal::RRawFile>
Clone() const final {
return std::make_unique<RRawFileTFile>(
fFile); }
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h offset
The RRawFileTFile wraps an open TFile, but does not take ownership.
RRawFileTFile(TFile *file)
void OpenImpl() final
OpenImpl() is called at most once and before any call to either DoReadAt or DoGetSize.
size_t ReadAtImpl(void *buffer, size_t nbytes, std::uint64_t offset) final
Derived classes should implement low-level reading without buffering.
std::unique_ptr< ROOT::Internal::RRawFile > Clone() const final
Create a new RawFile that accesses the same resource. The file pointer is reset to zero.
std::uint64_t GetSizeImpl() final
Derived classes should return the file size.
The RRawFile provides read-only access to local and remote files.
A ROOT file is an on-disk file, usually with extension .root, that stores objects in a file-system-li...
virtual Long64_t GetSize() const
Returns the current file size.
virtual Bool_t ReadBuffer(char *buf, Int_t len)
Read a buffer from the file.
tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tb...
size_t fBlockSize
Read at least fBlockSize bytes at a time. A value of zero turns off I/O buffering.