Logo ROOT   6.10/09
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 60 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 62 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 65 of file TFile.hxx.

◆ fAsyncTimeout

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

Timeout for asynchronous opening.

Definition at line 68 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 76 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 73 of file TFile.hxx.


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