Logo ROOT  
Reference Guide
TBranchProxyDescriptor.h
Go to the documentation of this file.
1 // @(#)root/treeplayer:$Id$
2 // Author: Philippe Canal 06/06/2004
3 
4 /*************************************************************************
5  * Copyright (C) 1995-2004, Rene Brun and Fons Rademakers and al. *
6  * All rights reserved. *
7  * *
8  * For the licensing terms see $ROOTSYS/LICENSE. *
9  * For the list of contributors see $ROOTSYS/README/CREDITS. *
10  *************************************************************************/
11 
12 #ifndef ROOT_TBranchProxyDescriptor
13 #define ROOT_TBranchProxyDescriptor
14 
15 #include "TNamed.h"
16 
17 
18 namespace ROOT {
19 namespace Internal {
20 
21  class TBranchProxyDescriptor : public TNamed {
26  Bool_t fIsLeafList; // true if the branch was constructed from a leaf list.
27 
28  public:
29  TBranchProxyDescriptor(const char *dataname, const char *type,
30  const char *branchname, Bool_t split = true, Bool_t skipped = false, Bool_t isleaflist = false);
31  const char *GetDataName();
32  const char *GetTypeName();
33  const char *GetBranchName();
34 
35  Bool_t IsEquivalent(const TBranchProxyDescriptor *other, Bool_t inClass = kFALSE);
36  Bool_t IsSplit() const;
37 
38  void OutputDecl(FILE *hf, int offset, UInt_t maxVarname);
39  void OutputInit(FILE *hf, int offset, UInt_t maxVarname,
40  const char *prefix);
41 
42  ClassDef(TBranchProxyDescriptor,0); // Describe the proxy for a branch
43  };
44 }
45 }
46 
47 #endif
ROOT::Internal::TBranchProxyDescriptor::TBranchProxyDescriptor
TBranchProxyDescriptor(const char *dataname, const char *type, const char *branchname, Bool_t split=true, Bool_t skipped=false, Bool_t isleaflist=false)
Constructor.
Definition: TBranchProxyDescriptor.cxx:37
ROOT::Internal::TBranchProxyDescriptor::IsEquivalent
Bool_t IsEquivalent(const TBranchProxyDescriptor *other, Bool_t inClass=kFALSE)
Return true if this description is the 'same' as the other description.
Definition: TBranchProxyDescriptor.cxx:86
TNamed.h
ROOT::Internal::TBranchProxyDescriptor::fBranchIsSkipped
Bool_t fBranchIsSkipped
Definition: TBranchProxyDescriptor.h:25
TString
Basic string class.
Definition: TString.h:136
ROOT::Internal::TBranchProxyDescriptor::fIsSplit
Bool_t fIsSplit
Definition: TBranchProxyDescriptor.h:24
bool
ROOT::Internal::TBranchProxyDescriptor::fDataName
TString fDataName
Definition: TBranchProxyDescriptor.h:22
ROOT::Internal::TBranchProxyDescriptor::OutputInit
void OutputInit(FILE *hf, int offset, UInt_t maxVarname, const char *prefix)
Output the initialization corresponding to this proxy.
Definition: TBranchProxyDescriptor.cxx:124
ROOT::Internal::TBranchProxyDescriptor::fBranchName
TString fBranchName
Definition: TBranchProxyDescriptor.h:23
TNamed
The TNamed class is the base class for all named ROOT classes.
Definition: TNamed.h:29
kFALSE
const Bool_t kFALSE
Definition: RtypesCore.h:101
ROOT::Internal::TBranchProxyDescriptor::IsSplit
Bool_t IsSplit() const
Return true if the branch is split.
Definition: TBranchProxyDescriptor.cxx:108
ROOT::Internal::TBranchProxyDescriptor::fIsLeafList
Bool_t fIsLeafList
Definition: TBranchProxyDescriptor.h:26
ROOT::Internal::TBranchProxyDescriptor
Definition: TBranchProxyDescriptor.h:21
unsigned int
ClassDef
#define ClassDef(name, id)
Definition: Rtypes.h:325
ROOT::Internal::TBranchProxyDescriptor::GetTypeName
const char * GetTypeName()
Get the name of the type of the data member.
Definition: TBranchProxyDescriptor.cxx:70
ROOT::Internal::TBranchProxyDescriptor::OutputDecl
void OutputDecl(FILE *hf, int offset, UInt_t maxVarname)
Output the declaration corresponding to this proxy.
Definition: TBranchProxyDescriptor.cxx:116
type
int type
Definition: TGX11.cxx:121
ROOT::Internal::TBranchProxyDescriptor::GetDataName
const char * GetDataName()
Get the name of the data member.
Definition: TBranchProxyDescriptor.cxx:62
ROOT::Internal::TBranchProxyDescriptor::GetBranchName
const char * GetBranchName()
Get the branch name.
Definition: TBranchProxyDescriptor.cxx:78
ROOT
tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tb...
Definition: EExecutionPolicy.hxx:4