Logo ROOT   6.07/09
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 187 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

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

Constructed by Open etc.

Definition at line 105 of file TFile.cxx.

Member Function Documentation

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

Check the validity of the file pointer.

Definition at line 205 of file TFile.hxx.

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

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

Definition at line 198 of file TFile.hxx.

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

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

const overload.

Definition at line 202 of file TFile.hxx.

Friends And Related Function Documentation

friend class TFile
friend

Definition at line 194 of file TFile.hxx.

Member Data Documentation

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

Definition at line 189 of file TFile.hxx.


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