Logo ROOT   6.14/05
Reference Guide
List of all members | Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
ROOT::Experimental::TFilePtr Class Reference

Points to an object that stores or reads objects in ROOT's binary format.

FIXME: implement async open; likely using std::future, possibly removing the Option_t element.

Definition at line 186 of file TFile.hxx.

Public Member Functions

 operator bool () const
 Check the validity of the file pointer. More...
 
TFileoperator-> ()
 Dereference the file pointer, giving access to the TFileImplBase object. More...
 
const TFileoperator-> () const
 Dereference the file pointer, giving access to the TFileImplBase object. More...
 

Private Member Functions

 TFilePtr (std::shared_ptr< TFile > &&)
 Constructed by Open etc. More...
 

Private Attributes

std::shared_ptr< TFilefFile
 

Friends

class TFile
 

#include <ROOT/TFile.hxx>

Constructor & Destructor Documentation

◆ TFilePtr()

ROOT::Experimental::TFilePtr::TFilePtr ( std::shared_ptr< TFile > &&  )
private

Constructed by Open etc.

Definition at line 102 of file TFile.cxx.

Member Function Documentation

◆ operator bool()

ROOT::Experimental::TFilePtr::operator bool ( ) const
inline

Check the validity of the file pointer.

Definition at line 204 of file TFile.hxx.

◆ operator->() [1/2]

TFile* ROOT::Experimental::TFilePtr::operator-> ( )
inline

Dereference the file pointer, giving access to the TFileImplBase object.

Definition at line 197 of file TFile.hxx.

◆ operator->() [2/2]

const TFile* ROOT::Experimental::TFilePtr::operator-> ( ) const
inline

Dereference the file pointer, giving access to the TFileImplBase object.

const overload.

Definition at line 201 of file TFile.hxx.

Friends And Related Function Documentation

◆ TFile

friend class TFile
friend

Definition at line 193 of file TFile.hxx.

Member Data Documentation

◆ fFile

std::shared_ptr<TFile> ROOT::Experimental::TFilePtr::fFile
private

Definition at line 188 of file TFile.hxx.


The documentation for this class was generated from the following files: