12#ifndef ROOT_RRawFileDavix
13#define ROOT_RRawFileDavix
36 std::unique_ptr<Internal::RDavixFileDes>
fFileDes;
40 size_t ReadAtImpl(
void *buffer,
size_t nbytes, std::uint64_t offset) final;
The RRawFileDavix class provides read-only access to remote non-ROOT files.
std::unique_ptr< Internal::RDavixFileDes > fFileDes
int GetFeatures() const final
Derived classes shall inform the user about the supported functionality, which can possibly depend on...
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< 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 or kUnknownFileSize.
void OpenImpl() final
OpenImpl() is called at most once and before any call to either DoReadAt or DoGetSize.
The RRawFile provides read-only access to local and remote files.
static constexpr int kFeatureHasSize
GetSize() does not return kUnknownFileSize.
On construction, an ROptions parameter can customize the RRawFile behavior.