Logo ROOT   6.07/09
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 #ifndef ROOT_TNamed
16 #include "TNamed.h"
17 #endif
18 
19 
20 namespace ROOT {
21 namespace Internal {
22 
23  class TBranchProxyDescriptor : public TNamed {
28  Bool_t fIsLeafList; // true if the branch was constructed from a leaf list.
29 
30  public:
31  TBranchProxyDescriptor(const char *dataname, const char *type,
32  const char *branchname, Bool_t split = true, Bool_t skipped = false, Bool_t isleaflist = false);
33  const char *GetDataName();
34  const char *GetTypeName();
35  const char *GetBranchName();
36 
37  Bool_t IsEquivalent(const TBranchProxyDescriptor *other, Bool_t inClass = kFALSE);
38  Bool_t IsSplit() const;
39 
40  void OutputDecl(FILE *hf, int offset, UInt_t maxVarname);
41  void OutputInit(FILE *hf, int offset, UInt_t maxVarname,
42  const char *prefix);
43 
44  ClassDef(TBranchProxyDescriptor,0); // Describe the proxy for a branch
45  };
46 }
47 }
48 
49 #endif
This namespace contains pre-defined functions to be used in conjuction with TExecutor::Map and TExecu...
Definition: StringConv.hxx:21
void OutputInit(FILE *hf, int offset, UInt_t maxVarname, const char *prefix)
Basic string class.
Definition: TString.h:137
bool Bool_t
Definition: RtypesCore.h:59
TBranchProxyDescriptor(const char *dataname, const char *type, const char *branchname, Bool_t split=true, Bool_t skipped=false, Bool_t isleaflist=false)
const Bool_t kFALSE
Definition: Rtypes.h:92
#define ClassDef(name, id)
Definition: Rtypes.h:254
The TNamed class is the base class for all named ROOT classes.
Definition: TNamed.h:33
void OutputDecl(FILE *hf, int offset, UInt_t maxVarname)
unsigned int UInt_t
Definition: RtypesCore.h:42
Bool_t IsEquivalent(const TBranchProxyDescriptor *other, Bool_t inClass=kFALSE)
int type
Definition: TGX11.cxx:120