Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
TTree::TFriendLock Class Reference

Helper class to prevent infinite recursion in the usage of TTree Friends.

Definition at line 185 of file TTree.h.

Public Member Functions

 TFriendLock (TTree *tree, UInt_t methodbit)
 Record in tree that it has been used while recursively looks through the friends.
 
 ~TFriendLock ()
 Restore the state of tree the same as before we set the lock.
 

Protected Member Functions

 TFriendLock (const TFriendLock &)
 Copy constructor.
 
TFriendLockoperator= (const TFriendLock &)
 Assignment operator.
 

Private Attributes

UInt_t fMethodBit
 
Bool_t fPrevious
 
TTreefTree
 

#include <TTree.h>

Constructor & Destructor Documentation

◆ TFriendLock() [1/2]

TTree::TFriendLock::TFriendLock ( const TFriendLock tfl)
protected

Copy constructor.

Definition at line 519 of file TTree.cxx.

◆ TFriendLock() [2/2]

TTree::TFriendLock::TFriendLock ( TTree tree,
UInt_t  methodbit 
)

Record in tree that it has been used while recursively looks through the friends.

Definition at line 502 of file TTree.cxx.

◆ ~TFriendLock()

TTree::TFriendLock::~TFriendLock ( )

Restore the state of tree the same as before we set the lock.

Definition at line 542 of file TTree.cxx.

Member Function Documentation

◆ operator=()

TTree::TFriendLock & TTree::TFriendLock::operator= ( const TFriendLock tfl)
protected

Assignment operator.

Definition at line 529 of file TTree.cxx.

Member Data Documentation

◆ fMethodBit

UInt_t TTree::TFriendLock::fMethodBit
private

Definition at line 189 of file TTree.h.

◆ fPrevious

Bool_t TTree::TFriendLock::fPrevious
private

Definition at line 190 of file TTree.h.

◆ fTree

TTree* TTree::TFriendLock::fTree
private

Definition at line 188 of file TTree.h.

Libraries for TTree::TFriendLock:

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