TVirtualBranchBrowsable Class Reference

#include <TBranchBrowsable.h>

Inheritance diagram for TVirtualBranchBrowsable:

TNamed TNamed TObject TObject TObject TObject TCollectionPropertyBrowsable TCollectionPropertyBrowsable TMethodBrowsable TMethodBrowsable TNonSplitBrowsable TNonSplitBrowsable TCollectionMethodBrowsable TCollectionMethodBrowsable TCollectionMethodBrowsable TCollectionMethodBrowsable List of all members.

Public Types

typedef Int_t(*) MethodCreateListOfBrowsables_t (TList &, const TBranch *branch, const TVirtualBranchBrowsable *parent)
typedef Int_t(*) MethodCreateListOfBrowsables_t (TList &, const TBranch *branch, const TVirtualBranchBrowsable *parent)

Public Member Functions

 ~TVirtualBranchBrowsable ()
void Browse (TBrowser *b)
const char * GetIconName () const
void GetScope (TString &scope) const
Bool_t IsFolder () const
const TBranch * GetBranch () const
const TVirtualBranchBrowsable * GetParent () const
TClass * GetClassType () const
Bool_t TypeIsPointer () const
TList * GetLeaves () const
 ~TVirtualBranchBrowsable ()
void Browse (TBrowser *b)
const char * GetIconName () const
void GetScope (TString &scope) const
Bool_t IsFolder () const
const TBranch * GetBranch () const
const TVirtualBranchBrowsable * GetParent () const
TClass * GetClassType () const
Bool_t TypeIsPointer () const
TList * GetLeaves () const

Static Public Member Functions

static Int_t FillListOfBrowsables (TList &list, const TBranch *branch, const TVirtualBranchBrowsable *parent=0)
static Int_t FillListOfBrowsables (TList &list, const TBranch *branch, const TVirtualBranchBrowsable *parent=0)

Protected Member Functions

 TVirtualBranchBrowsable (const TBranch *b, TClass *type, Bool_t typeIsPointer, const TVirtualBranchBrowsable *parent=0)
void SetType (TClass *type)
void SetTypeIsPointer (Bool_t set=kTRUE)
 TVirtualBranchBrowsable (const TBranch *b, TClass *type, Bool_t typeIsPointer, const TVirtualBranchBrowsable *parent=0)
void SetType (TClass *type)
void SetTypeIsPointer (Bool_t set=kTRUE)

Static Protected Member Functions

static TClass * GetCollectionContainedType (const TBranch *b, const TVirtualBranchBrowsable *parent, TClass *&contained)
static std::list< MethodCreateListOfBrowsables_t > & GetRegisteredGenerators ()
static void RegisterGenerator (MethodCreateListOfBrowsables_t generator)
static void UnregisterGenerator (MethodCreateListOfBrowsables_t generator)
static TClass * GetCollectionContainedType (const TBranch *b, const TVirtualBranchBrowsable *parent, TClass *&contained)
static std::list< MethodCreateListOfBrowsables_t > & GetRegisteredGenerators ()
static void RegisterGenerator (MethodCreateListOfBrowsables_t generator)
static void UnregisterGenerator (MethodCreateListOfBrowsables_t generator)

Private Member Functions

 ClassDef (TVirtualBranchBrowsable, 0)
 ClassDef (TVirtualBranchBrowsable, 0)

Static Private Member Functions

static void RegisterDefaultGenerators ()
static void RegisterDefaultGenerators ()

Private Attributes

const TBranch * fBranch
const TVirtualBranchBrowsable * fParent
TList * fLeaves
TClass * fClass
Bool_t fTypeIsPointer
const TBranch * fBranch
const TVirtualBranchBrowsable * fParent
TList * fLeaves
TClass * fClass

Static Private Attributes

static std::list< MethodCreateListOfBrowsables_t > fgGenerators
static Bool_t fgGeneratorsSet
static std::list< MethodCreateListOfBrowsables_t > fgGenerators

Detailed Description

Definition at line 33 of file TBranchBrowsable.h.


Member Typedef Documentation

typedef Int_t(*) TVirtualBranchBrowsable::MethodCreateListOfBrowsables_t(TList &, const TBranch *branch, const TVirtualBranchBrowsable *parent)

Definition at line 40 of file TBranchBrowsable.h.

typedef Int_t(*) TVirtualBranchBrowsable::MethodCreateListOfBrowsables_t(TList &, const TBranch *branch, const TVirtualBranchBrowsable *parent)

Definition at line 40 of file TBranchBrowsable.h.


Constructor & Destructor Documentation

TVirtualBranchBrowsable::~TVirtualBranchBrowsable (  ) 

Definition at line 87 of file TBranchBrowsable.cxx.

References fLeaves.

TVirtualBranchBrowsable::TVirtualBranchBrowsable ( const TBranch *  b,
TClass *  type,
Bool_t  typeIsPointer,
const TVirtualBranchBrowsable *  parent = 0 
) [protected]

Definition at line 75 of file TBranchBrowsable.cxx.

References fgGeneratorsSet, RegisterDefaultGenerators(), and TObject::Warning().

TVirtualBranchBrowsable::~TVirtualBranchBrowsable (  ) 

TVirtualBranchBrowsable::TVirtualBranchBrowsable ( const TBranch *  b,
TClass *  type,
Bool_t  typeIsPointer,
const TVirtualBranchBrowsable *  parent = 0 
) [protected]


Member Function Documentation

void TVirtualBranchBrowsable::Browse ( TBrowser *  b  )  [virtual]

Reimplemented from TObject.

Definition at line 94 of file TBranchBrowsable.cxx.

References b, TCollection::Browse(), TTree::Draw(), fBranch, fClass, GetLeaves(), GetScope(), TBranch::GetTree(), gPad, gTree, name, and TObject::Warning().

const char* TVirtualBranchBrowsable::GetIconName (  )  const [inline, virtual]

Reimplemented from TObject.

Definition at line 45 of file TBranchBrowsable.h.

References IsFolder().

void TVirtualBranchBrowsable::GetScope ( TString &  scope  )  const

Definition at line 277 of file TBranchBrowsable.cxx.

References fBranch, fClass, fParent, fTypeIsPointer, TBranch::GetMother(), TNamed::GetName(), GetScope(), and kNPOS.

Referenced by Browse(), TCollectionPropertyBrowsable::GetBrowsables(), and GetScope().

Bool_t TVirtualBranchBrowsable::IsFolder (  )  const [inline, virtual]

Reimplemented from TObject.

Definition at line 51 of file TBranchBrowsable.h.

References GetLeaves().

Referenced by TMethodBrowsable::GetIconName(), and GetIconName().

Int_t TVirtualBranchBrowsable::FillListOfBrowsables ( TList &  list,
const TBranch *  branch,
const TVirtualBranchBrowsable *  parent = 0 
) [static]

Definition at line 121 of file TBranchBrowsable.cxx.

References fgGenerators, fgGeneratorsSet, and RegisterDefaultGenerators().

Referenced by G__G__Tree_136_0_5(), G__setup_memfuncTVirtualBranchBrowsable(), TBranch::GetBrowsables(), and GetLeaves().

const TBranch* TVirtualBranchBrowsable::GetBranch (  )  const [inline]

Definition at line 58 of file TBranchBrowsable.h.

References fBranch.

Referenced by TCollectionPropertyBrowsable::Browse(), TNonSplitBrowsable::GetBrowsables(), TCollectionPropertyBrowsable::GetBrowsables(), and GetLeaves().

const TVirtualBranchBrowsable* TVirtualBranchBrowsable::GetParent (  )  const [inline]

Definition at line 61 of file TBranchBrowsable.h.

References fParent.

TClass* TVirtualBranchBrowsable::GetClassType (  )  const [inline]

Definition at line 64 of file TBranchBrowsable.h.

References fClass.

Referenced by GetCollectionContainedType().

Bool_t TVirtualBranchBrowsable::TypeIsPointer (  )  const [inline]

Definition at line 67 of file TBranchBrowsable.h.

References fTypeIsPointer.

TList * TVirtualBranchBrowsable::GetLeaves (  )  const

Definition at line 257 of file TBranchBrowsable.cxx.

References FillListOfBrowsables(), fLeaves, GetBranch(), and TCollection::SetOwner().

Referenced by Browse(), and IsFolder().

TClass * TVirtualBranchBrowsable::GetCollectionContainedType ( const TBranch *  b,
const TVirtualBranchBrowsable *  parent,
TClass *&  contained 
) [static, protected]

Definition at line 138 of file TBranchBrowsable.cxx.

References xmlio::Class, TObjArray::First(), TClass::GetClass(), TBranch::GetClassName(), TStreamerElement::GetClassPointer(), GetClassType(), TClass::GetCollectionProxy(), TObjArray::GetEntriesFast(), TBranch::GetEntry(), TBranch::GetListOfLeaves(), TLeafObject::GetObject(), TBranch::GetReadEntry(), TVirtualCollectionProxy::GetValueClass(), gTree, type, and TObject::Warning().

Referenced by TMethodBrowsable::GetBrowsables(), TNonSplitBrowsable::GetBrowsables(), TCollectionMethodBrowsable::GetBrowsables(), and TCollectionPropertyBrowsable::GetBrowsables().

std::list< TVirtualBranchBrowsable::MethodCreateListOfBrowsables_t > & TVirtualBranchBrowsable::GetRegisteredGenerators (  )  [static, protected]

Definition at line 270 of file TBranchBrowsable.cxx.

References fgGenerators.

Referenced by TCollectionMethodBrowsable::GetBrowsables().

void TVirtualBranchBrowsable::RegisterGenerator ( MethodCreateListOfBrowsables_t  generator  )  [static, protected]

Definition at line 335 of file TBranchBrowsable.cxx.

References fgGenerators, fgGeneratorsSet, and RegisterDefaultGenerators().

Referenced by TNonSplitBrowsable::Register(), TCollectionMethodBrowsable::Register(), TMethodBrowsable::Register(), and TCollectionPropertyBrowsable::Register().

void TVirtualBranchBrowsable::UnregisterGenerator ( MethodCreateListOfBrowsables_t  generator  )  [static, protected]

Definition at line 346 of file TBranchBrowsable.cxx.

References fgGenerators, fgGeneratorsSet, and RegisterDefaultGenerators().

Referenced by TCollectionPropertyBrowsable::Unregister(), TCollectionMethodBrowsable::Unregister(), TMethodBrowsable::Unregister(), and TNonSplitBrowsable::Unregister().

void TVirtualBranchBrowsable::SetType ( TClass *  type  )  [inline, protected]

Definition at line 83 of file TBranchBrowsable.h.

References fClass, and type.

Referenced by TMethodBrowsable::TMethodBrowsable().

void TVirtualBranchBrowsable::SetTypeIsPointer ( Bool_t  set = kTRUE  )  [inline, protected]

Definition at line 86 of file TBranchBrowsable.h.

References fTypeIsPointer.

Referenced by TMethodBrowsable::TMethodBrowsable().

void TVirtualBranchBrowsable::RegisterDefaultGenerators (  )  [static, private]

Definition at line 322 of file TBranchBrowsable.cxx.

References fgGenerators, fgGeneratorsSet, TMethodBrowsable::GetBrowsables(), TNonSplitBrowsable::GetBrowsables(), TCollectionPropertyBrowsable::GetBrowsables(), and kTRUE.

Referenced by FillListOfBrowsables(), RegisterGenerator(), TVirtualBranchBrowsable(), and UnregisterGenerator().

TVirtualBranchBrowsable::ClassDef ( TVirtualBranchBrowsable  ,
0   
) [private]

void TVirtualBranchBrowsable::Browse ( TBrowser *  b  )  [virtual]

Reimplemented from TObject.

const char* TVirtualBranchBrowsable::GetIconName (  )  const [inline, virtual]

Reimplemented from TObject.

Definition at line 45 of file TBranchBrowsable.h.

References IsFolder().

void TVirtualBranchBrowsable::GetScope ( TString &  scope  )  const

Bool_t TVirtualBranchBrowsable::IsFolder (  )  const [inline, virtual]

Reimplemented from TObject.

Definition at line 51 of file TBranchBrowsable.h.

References GetLeaves().

static Int_t TVirtualBranchBrowsable::FillListOfBrowsables ( TList &  list,
const TBranch *  branch,
const TVirtualBranchBrowsable *  parent = 0 
) [static]

const TBranch* TVirtualBranchBrowsable::GetBranch (  )  const [inline]

Definition at line 58 of file TBranchBrowsable.h.

References fBranch.

const TVirtualBranchBrowsable* TVirtualBranchBrowsable::GetParent (  )  const [inline]

Definition at line 61 of file TBranchBrowsable.h.

References fParent.

TClass* TVirtualBranchBrowsable::GetClassType (  )  const [inline]

Definition at line 64 of file TBranchBrowsable.h.

References fClass.

Bool_t TVirtualBranchBrowsable::TypeIsPointer (  )  const [inline]

Definition at line 67 of file TBranchBrowsable.h.

References fTypeIsPointer.

TList* TVirtualBranchBrowsable::GetLeaves (  )  const

static TClass* TVirtualBranchBrowsable::GetCollectionContainedType ( const TBranch *  b,
const TVirtualBranchBrowsable *  parent,
TClass *&  contained 
) [static, protected]

static std::list<MethodCreateListOfBrowsables_t>& TVirtualBranchBrowsable::GetRegisteredGenerators (  )  [static, protected]

static void TVirtualBranchBrowsable::RegisterGenerator ( MethodCreateListOfBrowsables_t  generator  )  [static, protected]

static void TVirtualBranchBrowsable::UnregisterGenerator ( MethodCreateListOfBrowsables_t  generator  )  [static, protected]

void TVirtualBranchBrowsable::SetType ( TClass *  type  )  [inline, protected]

Definition at line 83 of file TBranchBrowsable.h.

References fClass, and type.

void TVirtualBranchBrowsable::SetTypeIsPointer ( Bool_t  set = kTRUE  )  [inline, protected]

Definition at line 86 of file TBranchBrowsable.h.

References fTypeIsPointer.

static void TVirtualBranchBrowsable::RegisterDefaultGenerators (  )  [static, private]

TVirtualBranchBrowsable::ClassDef ( TVirtualBranchBrowsable  ,
0   
) [private]


Member Data Documentation

const TBranch* TVirtualBranchBrowsable::fBranch [private]

Definition at line 92 of file TBranchBrowsable.h.

Referenced by Browse(), GetBranch(), and GetScope().

const TVirtualBranchBrowsable* TVirtualBranchBrowsable::fParent [private]

Definition at line 93 of file TBranchBrowsable.h.

Referenced by GetParent(), and GetScope().

TList* TVirtualBranchBrowsable::fLeaves [private]

Definition at line 94 of file TBranchBrowsable.h.

Referenced by GetLeaves(), and ~TVirtualBranchBrowsable().

TClass* TVirtualBranchBrowsable::fClass [private]

Definition at line 95 of file TBranchBrowsable.h.

Referenced by Browse(), GetClassType(), GetScope(), and SetType().

Bool_t TVirtualBranchBrowsable::fTypeIsPointer [private]

Definition at line 96 of file TBranchBrowsable.h.

Referenced by GetScope(), SetTypeIsPointer(), and TypeIsPointer().

std::list< TVirtualBranchBrowsable::MethodCreateListOfBrowsables_t > TVirtualBranchBrowsable::fgGenerators [static, private]

Definition at line 97 of file TBranchBrowsable.h.

Referenced by FillListOfBrowsables(), GetRegisteredGenerators(), RegisterDefaultGenerators(), RegisterGenerator(), and UnregisterGenerator().

Bool_t TVirtualBranchBrowsable::fgGeneratorsSet [static, private]

Definition at line 98 of file TBranchBrowsable.h.

Referenced by FillListOfBrowsables(), RegisterDefaultGenerators(), RegisterGenerator(), TVirtualBranchBrowsable(), and UnregisterGenerator().

const TBranch* TVirtualBranchBrowsable::fBranch [private]

Definition at line 92 of file TBranchBrowsable.h.

const TVirtualBranchBrowsable* TVirtualBranchBrowsable::fParent [private]

Definition at line 93 of file TBranchBrowsable.h.

TList* TVirtualBranchBrowsable::fLeaves [private]

Definition at line 94 of file TBranchBrowsable.h.

TClass* TVirtualBranchBrowsable::fClass [private]

Definition at line 95 of file TBranchBrowsable.h.

std::list<MethodCreateListOfBrowsables_t> TVirtualBranchBrowsable::fgGenerators [static, private]

Definition at line 97 of file TBranchBrowsable.h.


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