Logo ROOT   6.14/05
Reference Guide
List of all members | Public Member Functions | Public Attributes | List of all members
ROOT::Experimental::TFile::Options_t Struct Reference

Options for TFile construction.

Definition at line 59 of file TFile.hxx.

Public Member Functions

 Options_t ()
 Default constructor needed for member inits. More...
 

Public Attributes

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

#include <ROOT/TFile.hxx>

Constructor & Destructor Documentation

◆ Options_t()

ROOT::Experimental::TFile::Options_t::Options_t ( )
inline

Default constructor needed for member inits.

Definition at line 61 of file TFile.hxx.

Member Data Documentation

◆ fAsynchronousOpen

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

Whether the file should be opened asynchronously, if available.

Definition at line 64 of file TFile.hxx.

◆ fAsyncTimeout

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

Timeout for asynchronous opening.

Definition at line 67 of file TFile.hxx.

◆ fCacheDir

std::string ROOT::Experimental::TFile::Options_t::fCacheDir

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

Definition at line 75 of file TFile.hxx.

◆ fCachedRead

bool ROOT::Experimental::TFile::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 72 of file TFile.hxx.

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

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