ROOT  6.07/01
Reference Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Member Functions | Private Attributes | List of all members
TTree::TFriendLock Class Reference

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

Definition at line 180 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. More...
 
 ~TFriendLock ()
 Restore the state of tree the same as before we set the lock. More...
 

Protected Member Functions

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

Private Attributes

TTreefTree
 
UInt_t fMethodBit
 
Bool_t fPrevious
 

#include <TTree.h>

Constructor & Destructor Documentation

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

Copy constructor.

Definition at line 460 of file TTree.cxx.

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 443 of file TTree.cxx.

TTree::TFriendLock::~TFriendLock ( )

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

Definition at line 483 of file TTree.cxx.

Member Function Documentation

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

Assignment operator.

Definition at line 470 of file TTree.cxx.

Member Data Documentation

UInt_t TTree::TFriendLock::fMethodBit
private

Definition at line 184 of file TTree.h.

Referenced by operator=(), and TFriendLock().

Bool_t TTree::TFriendLock::fPrevious
private

Definition at line 185 of file TTree.h.

Referenced by operator=(), and TFriendLock().

TTree* TTree::TFriendLock::fTree
private

Definition at line 183 of file TTree.h.

Referenced by operator=(), and TFriendLock().

Collaboration diagram for TTree::TFriendLock:
[legend]

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