Warning, file /include/root/TClassTree.h was not indexed
or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012 #ifndef ROOT_TClassTree
0013 #define ROOT_TClassTree
0014
0015
0016 #include "TNamed.h"
0017 #include <vector>
0018
0019 class TClass;
0020 class TObjString;
0021
0022 class TClassTree : public TNamed {
0023
0024 protected:
0025 TString fClasses;
0026 Float_t fYoffset{0};
0027 Float_t fLabelDx{0};
0028 Int_t fNclasses{0};
0029 Int_t fShowCod{0};
0030 Int_t fShowMul{0};
0031 Int_t fShowHas{0};
0032 Int_t fShowRef{0};
0033 Int_t *fCstatus{nullptr};
0034 Int_t *fNdata{nullptr};
0035 Int_t *fParents{nullptr};
0036 Int_t *fCparent{nullptr};
0037 char **fDerived{nullptr};
0038 TClass **fCpointer{nullptr};
0039 TString **fCnames{nullptr};
0040 TString **fCtitles{nullptr};
0041 TString **fOptions{nullptr};
0042 TString fSourceDir;
0043 TList **fLinks{nullptr};
0044 std::vector<Int_t> fNsons;
0045 std::vector<Int_t> fNtsons;
0046
0047 virtual void FindClassPosition(const char *classname, Float_t &x, Float_t &y);
0048 virtual void FindClassesUsedBy(Int_t iclass);
0049 virtual void FindClassesUsing(Int_t iclass);
0050 virtual void Init();
0051 TObjString *Mark(const char *classname, TList *los, Int_t abit);
0052 virtual void PaintClass(Int_t iclass, Float_t xleft, Float_t y);
0053 virtual void ScanClasses(Int_t iclass);
0054 virtual void ShowCod();
0055 virtual void ShowHas();
0056 virtual void ShowMul();
0057 virtual void ShowRef();
0058
0059 public:
0060 TClassTree();
0061 TClassTree(const char *name, const char *classes="");
0062 ~TClassTree() override;
0063 void Draw(const char *classes ="") override;
0064 virtual Int_t FindClass(const char *classname);
0065 const char *GetClasses() const {return fClasses.Data();}
0066 virtual const char *GetSourceDir() const {return fSourceDir.Data();}
0067 void ls(Option_t *option="") const override;
0068 void Paint(Option_t *option="") override;
0069 void SaveAs(const char *filename="",Option_t *option="") const override;
0070 virtual void SetClasses(const char *classes, Option_t *option="ID");
0071 virtual void SetSourceDir(const char *dir="src") {fSourceDir = dir;}
0072 virtual void SetYoffset(Float_t offset=0);
0073 virtual void SetLabelDx(Float_t labeldx=0.15);
0074 virtual void ShowClassesUsedBy(const char *classes);
0075 virtual void ShowClassesUsing(const char *classes);
0076 virtual void ShowLinks(Option_t *option="HMR");
0077
0078 ClassDefOverride(TClassTree,1)
0079 };
0080
0081 #endif
0082