Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
ROOT::Experimental::RFile::Options_t Struct Reference

Options for RFile construction.

Definition at line 57 of file RFile.hxx.

Public Member Functions

 Options_t ()
 Default constructor needed for member inits.
 

Public Attributes

bool fAsynchronousOpen = false
 Whether the file should be opened asynchronously, if available.
 
int fAsyncTimeout = 0
 Timeout for asynchronous opening.
 
std::string fCacheDir
 Where to cache the file. If empty, defaults to RFilePtr::GetCacheDir().
 
bool fCachedRead = false
 Whether the file should be cached before reading.
 

#include <ROOT/RFile.hxx>

Constructor & Destructor Documentation

◆ Options_t()

ROOT::Experimental::RFile::Options_t::Options_t ( )
inline

Default constructor needed for member inits.

Definition at line 59 of file RFile.hxx.

Member Data Documentation

◆ fAsynchronousOpen

bool ROOT::Experimental::RFile::Options_t::fAsynchronousOpen = false

Whether the file should be opened asynchronously, if available.

Definition at line 62 of file RFile.hxx.

◆ fAsyncTimeout

int ROOT::Experimental::RFile::Options_t::fAsyncTimeout = 0

Timeout for asynchronous opening.

Definition at line 65 of file RFile.hxx.

◆ fCacheDir

std::string ROOT::Experimental::RFile::Options_t::fCacheDir

Where to cache the file. If empty, defaults to RFilePtr::GetCacheDir().

Definition at line 73 of file RFile.hxx.

◆ fCachedRead

bool ROOT::Experimental::RFile::Options_t::fCachedRead = false

Whether the file should be cached before reading.

Only available for "remote" file protocols. If the download fails, the file will be opened remotely.

Definition at line 70 of file RFile.hxx.

Collaboration diagram for ROOT::Experimental::RFile::Options_t:
[legend]

The documentation for this struct was generated from the following file: