TFriendElement Class Reference

#include <TFriendElement.h>

Inheritance diagram for TFriendElement:

TNamed TNamed TObject TObject TObject TObject List of all members.

Public Types

enum  
enum  

Public Member Functions

 TFriendElement ()
 TFriendElement (TTree *tree, const char *treename, const char *filename)
 TFriendElement (TTree *tree, const char *treename, TFile *file)
 TFriendElement (TTree *tree, TTree *friendtree, const char *alias)
virtual ~TFriendElement ()
virtual TTreeConnect ()
virtual TTreeDisConnect ()
virtual TFileGetFile ()
virtual TTreeGetParentTree () const
virtual TTreeGetTree ()
virtual const char * GetTreeName () const
virtual void ls (Option_t *option="") const
 TFriendElement ()
 TFriendElement (TTree *tree, const char *treename, const char *filename)
 TFriendElement (TTree *tree, const char *treename, TFile *file)
 TFriendElement (TTree *tree, TTree *friendtree, const char *alias)
virtual ~TFriendElement ()
virtual TTreeConnect ()
virtual TTreeDisConnect ()
virtual TFileGetFile ()
virtual TTreeGetParentTree () const
virtual TTreeGetTree ()
virtual const char * GetTreeName () const
virtual void ls (Option_t *option="") const

Protected Member Functions

 TFriendElement (const TFriendElement &)
TFriendElementoperator= (const TFriendElement &)
 TFriendElement (const TFriendElement &)
TFriendElementoperator= (const TFriendElement &)

Protected Attributes

TTreefParentTree
TTreefTree
 pointer to the parent TTree
TFilefFile
 pointer to the TTree described by this element
TString fTreeName
 pointer to the file containing the friend TTree
Bool_t fOwnFile
TTreefParentTree
TTreefTree
 pointer to the parent TTree
TFilefFile
 pointer to the TTree described by this element

Detailed Description

Definition at line 35 of file TFriendElement.h.


Member Enumeration Documentation

anonymous enum

Definition at line 48 of file TFriendElement.h.

anonymous enum

Definition at line 48 of file TFriendElement.h.


Constructor & Destructor Documentation

TFriendElement::TFriendElement ( const TFriendElement  )  [protected]

Definition at line 150 of file TFriendElement.cxx.

TFriendElement::TFriendElement (  ) 

TFriendElement::TFriendElement ( TTree tree,
const char *  treename,
const char *  filename 
)

Definition at line 50 of file TFriendElement.cxx.

References Compress(), Connect(), equal(), fFile, fOwnFile, fParentTree, fTree, fTreeName, kTRUE, and TNamed::SetName().

TFriendElement::TFriendElement ( TTree tree,
const char *  treename,
TFile file 
)

Definition at line 78 of file TFriendElement.cxx.

References Compress(), Connect(), equal(), fFile, fOwnFile, fParentTree, fTree, fTreeName, TTree::GetDirectory(), TDirectory::GetFile(), kFALSE, TNamed::SetName(), and TNamed::SetTitle().

TFriendElement::TFriendElement ( TTree tree,
TTree friendtree,
const char *  alias 
)

Definition at line 113 of file TFriendElement.cxx.

References Compress(), fFile, fOwnFile, fParentTree, fTree, fTreeName, TTree::GetDirectory(), TDirectory::GetFile(), TNamed::GetName(), kFALSE, TNamed::SetName(), and TNamed::SetTitle().

TFriendElement::~TFriendElement (  )  [virtual]

Definition at line 176 of file TFriendElement.cxx.

References DisConnect().

TFriendElement::TFriendElement ( const TFriendElement  )  [protected]

TFriendElement::TFriendElement (  ) 

TFriendElement::TFriendElement ( TTree tree,
const char *  treename,
const char *  filename 
)

TFriendElement::TFriendElement ( TTree tree,
const char *  treename,
TFile file 
)

TFriendElement::TFriendElement ( TTree tree,
TTree friendtree,
const char *  alias 
)

virtual TFriendElement::~TFriendElement (  )  [virtual]


Member Function Documentation

TFriendElement & TFriendElement::operator= ( const TFriendElement  )  [protected]

Definition at line 162 of file TFriendElement.cxx.

References fFile, TDirectoryFile::fFile, fOwnFile, fParentTree, fTree, fTreeName, and TNamed::operator=().

TTree * TFriendElement::Connect (  )  [virtual]

Definition at line 184 of file TFriendElement.cxx.

References GetFile(), and GetTree().

Referenced by TFriendElement().

TTree * TFriendElement::DisConnect (  )  [virtual]

Definition at line 193 of file TFriendElement.cxx.

References fFile, fOwnFile, and fTree.

Referenced by ~TFriendElement().

TFile * TFriendElement::GetFile (  )  [virtual]

Definition at line 204 of file TFriendElement.cxx.

References dir(), fFile, fOwnFile, fParentTree, gDirectory, TTree::GetDirectory(), TNamed::GetTitle(), TObject::IsZombie(), kFALSE, kTRUE, TObject::MakeZombie(), and TFile::Open().

Referenced by TTree::AddFriend(), Connect(), and GetTree().

virtual TTree* TFriendElement::GetParentTree (  )  const [inline, virtual]

Definition at line 57 of file TFriendElement.h.

References fParentTree.

TTree * TFriendElement::GetTree (  )  [virtual]

Definition at line 231 of file TFriendElement.cxx.

References fFile, TROOT::FindObject(), fTree, GetFile(), TDirectoryFile::GetObject(), GetTreeName(), and gROOT.

Referenced by TTreeCache::AddBranch(), TTree::AddFriend(), TChain::AddFriend(), Connect(), TTree::FindBranch(), TTree::FindLeaf(), TTree::GetAlias(), TTree::GetBranch(), TTree::GetEntriesFriend(), TTree::GetEntry(), TTree::GetEntryWithIndex(), TTree::GetFriend(), TTree::GetFriendAlias(), TTree::GetLeaf(), TEventIterTree::GetTrees(), TChain::LoadTree(), TTree::LoadTree(), TTreeFriendLeafIter::Next(), TBranchRef::Notify(), TTree::Print(), TTree::RemoveFriend(), TTree::SetBranchStatus(), ROOT::TFriendProxy::TFriendProxy(), and ROOT::TFriendProxy::Update().

virtual const char* TFriendElement::GetTreeName (  )  const [inline, virtual]

Definition at line 59 of file TFriendElement.h.

References TString::Data(), and fTreeName.

Referenced by TTree::GetFriend(), and GetTree().

void TFriendElement::ls ( Option_t option = ""  )  const [virtual]

Reimplemented from TNamed.

Definition at line 249 of file TFriendElement.cxx.

References TNamed::GetName(), and TNamed::GetTitle().

TFriendElement& TFriendElement::operator= ( const TFriendElement  )  [protected]

virtual TTree* TFriendElement::Connect (  )  [virtual]

virtual TTree* TFriendElement::DisConnect (  )  [virtual]

virtual TFile* TFriendElement::GetFile (  )  [virtual]

virtual TTree* TFriendElement::GetParentTree (  )  const [inline, virtual]

Definition at line 57 of file TFriendElement.h.

References fParentTree.

virtual TTree* TFriendElement::GetTree (  )  [virtual]

virtual const char* TFriendElement::GetTreeName (  )  const [inline, virtual]

Definition at line 59 of file TFriendElement.h.

References TString::Data(), and fTreeName.

virtual void TFriendElement::ls ( Option_t option = ""  )  const [virtual]

Reimplemented from TNamed.


Member Data Documentation

TTree* TFriendElement::fParentTree [protected]

Definition at line 38 of file TFriendElement.h.

Referenced by GetFile(), GetParentTree(), operator=(), and TFriendElement().

TTree* TFriendElement::fTree [protected]

pointer to the parent TTree

Definition at line 39 of file TFriendElement.h.

Referenced by DisConnect(), GetTree(), operator=(), and TFriendElement().

TFile* TFriendElement::fFile [protected]

pointer to the TTree described by this element

Definition at line 40 of file TFriendElement.h.

Referenced by DisConnect(), GetFile(), GetTree(), operator=(), and TFriendElement().

TString TFriendElement::fTreeName [protected]

pointer to the file containing the friend TTree

Definition at line 41 of file TFriendElement.h.

Referenced by GetTreeName(), operator=(), and TFriendElement().

Bool_t TFriendElement::fOwnFile [protected]

Definition at line 42 of file TFriendElement.h.

Referenced by DisConnect(), GetFile(), operator=(), and TFriendElement().

TTree* TFriendElement::fParentTree [protected]

Definition at line 38 of file TFriendElement.h.

TTree* TFriendElement::fTree [protected]

pointer to the parent TTree

Definition at line 39 of file TFriendElement.h.

TFile* TFriendElement::fFile [protected]

pointer to the TTree described by this element

Definition at line 40 of file TFriendElement.h.


The documentation for this class was generated from the following files:
Generated on Tue Jul 5 16:38:06 2011 for ROOT_528-00b_version by  doxygen 1.5.1