Logo ROOT  
Reference Guide
Loading...
Searching...
No Matches
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
18namespace ROOT {
19namespace Internal {
20
26 bool 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 split = true, bool skipped = false, bool isleaflist = false);
31 const char *GetDataName();
32 const char *GetTypeName();
33 const char *GetBranchName();
34
35 bool IsEquivalent(const TBranchProxyDescriptor *other, bool inClass = false);
36 bool 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 ClassDefOverride(TBranchProxyDescriptor,0); // Describe the proxy for a branch
43 };
44}
45}
46
47#endif
unsigned int UInt_t
Unsigned integer 4 bytes (unsigned int).
Definition RtypesCore.h:60
#define ClassDefOverride(name, id)
Definition Rtypes.h:348
bool IsSplit() const
Return true if the branch is split.
TBranchProxyDescriptor(const char *dataname, const char *type, const char *branchname, bool split=true, bool skipped=false, bool isleaflist=false)
Constructor.
void OutputDecl(FILE *hf, int offset, UInt_t maxVarname)
Output the declaration corresponding to this proxy.
const char * GetBranchName()
Get the branch name.
bool IsEquivalent(const TBranchProxyDescriptor *other, bool inClass=false)
Return true if this description is the 'same' as the other description.
const char * GetTypeName()
Get the name of the type of the data member.
const char * GetDataName()
Get the name of the data member.
void OutputInit(FILE *hf, int offset, UInt_t maxVarname, const char *prefix)
Output the initialization corresponding to this proxy.
TNamed()
Definition TNamed.h:38
Basic string class.
Definition TString.h:138