// @(#)root/tree:$Name: $:$Id: TLeafElement.cxx,v 1.7 2002/12/02 18:50:08 rdm Exp $
// Author: Rene Brun 14/01/2001
/*************************************************************************
* Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *
* All rights reserved. *
* *
* For the licensing terms see $ROOTSYS/LICENSE. *
* For the list of contributors see $ROOTSYS/README/CREDITS. *
*************************************************************************/
//////////////////////////////////////////////////////////////////////////
// //
// A TLeaf for a general object derived from TObject. //
//////////////////////////////////////////////////////////////////////////
#include "TLeafElement.h"
//#include "TMethodCall.h"
ClassImp(TLeafElement)
//______________________________________________________________________________
TLeafElement::TLeafElement(): TLeaf()
{
//*-*-*-*-*-*Default constructor for LeafObject*-*-*-*-*-*-*-*-*-*-*-*-*-*
//*-* =================================
fAbsAddress = 0;
}
//______________________________________________________________________________
TLeafElement::TLeafElement(const char *name, Int_t id, Int_t type)
:TLeaf(name,name)
{
//*-*-*-*-*-*-*-*-*-*-*-*-*Create a LeafObject*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
//*-* ==================
//*-*
fAbsAddress = 0;
fID = id;
fType = type;
}
//______________________________________________________________________________
TLeafElement::~TLeafElement()
{
//*-*-*-*-*-*Default destructor for a LeafObject*-*-*-*-*-*-*-*-*-*-*-*
//*-* ==================================
}
//______________________________________________________________________________
TMethodCall *TLeafElement::GetMethodCall(const char * /*name*/)
{
//*-*-*-*-*-*-*-*Returns pointer to method corresponding to name*-*-*-*-*-*-*
//*-* ============================================
//*-*
//*-* name is a string with the general form "method(list of params)"
//*-* If list of params is omitted, () is assumed;
//*-*
return 0;
}
//______________________________________________________________________________
Bool_t TLeafElement::IsOnTerminalBranch() const
{
if (fBranch->GetListOfBranches()->GetEntriesFast()) return kFALSE;
return kTRUE;
}
ROOT page - Class index - Top of the page
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.