File indexing completed on 2025-01-18 10:11:47
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012 #ifndef ROOT_TFriendProxyDescriptor
0013 #define ROOT_TFriendProxyDescriptor
0014
0015 #include "TNamed.h"
0016 #include "TList.h"
0017
0018
0019 namespace ROOT {
0020 namespace Internal {
0021
0022 class TFriendProxyDescriptor : public TNamed {
0023
0024 bool fDuplicate;
0025 Int_t fIndex;
0026 TList fListOfTopProxies;
0027
0028 private:
0029 TFriendProxyDescriptor(const TFriendProxyDescriptor &b);
0030 TFriendProxyDescriptor& operator=(const TFriendProxyDescriptor &b);
0031
0032 public:
0033 TFriendProxyDescriptor(const char *treename, const char *aliasname, Int_t index);
0034
0035 Int_t GetIndex() const { return fIndex; }
0036 TList *GetListOfTopProxies() { return &fListOfTopProxies; }
0037
0038 bool IsEquivalent(const TFriendProxyDescriptor *other);
0039
0040 void OutputClassDecl(FILE *hf, int offset, UInt_t maxVarname);
0041 void OutputDecl(FILE *hf, int offset, UInt_t maxVarname);
0042
0043 bool IsDuplicate() { return fDuplicate; }
0044 void SetDuplicate() { fDuplicate = true; }
0045
0046 ClassDefOverride(TFriendProxyDescriptor,0);
0047 };
0048 }
0049 }
0050
0051 #endif