Logo ROOT  
Reference Guide
ROOT::Experimental::RFilePtr 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 184 of file RFile.hxx.

Public Member Functions

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

Private Member Functions

 RFilePtr (std::shared_ptr< RFile > &&)
 Constructed by Open etc. More...
 

Private Attributes

std::shared_ptr< RFilefFile
 

Friends

class RFile
 

#include <ROOT/RFile.hxx>

Constructor & Destructor Documentation

◆ RFilePtr()

ROOT::Experimental::RFilePtr::RFilePtr ( std::shared_ptr< RFile > &&  file)
private

Constructed by Open etc.

Definition at line 102 of file RFile.cxx.

Member Function Documentation

◆ operator bool()

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

Check the validity of the file pointer.

Definition at line 202 of file RFile.hxx.

◆ operator->() [1/2]

RFile * ROOT::Experimental::RFilePtr::operator-> ( )
inline

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

Definition at line 195 of file RFile.hxx.

◆ operator->() [2/2]

const RFile * ROOT::Experimental::RFilePtr::operator-> ( ) const
inline

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

const overload.

Definition at line 199 of file RFile.hxx.

Friends And Related Function Documentation

◆ RFile

friend class RFile
friend

Definition at line 191 of file RFile.hxx.

Member Data Documentation

◆ fFile

std::shared_ptr<RFile> ROOT::Experimental::RFilePtr::fFile
private

Definition at line 186 of file RFile.hxx.

Libraries for ROOT::Experimental::RFilePtr:
[legend]

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