12 #ifndef ROOT_TBaseClass
13 #define ROOT_TBaseClass
33 class TBaseClass :
public TDictionary {
35 using AtomicInt_t = std::atomic<Int_t>;
36 static_assert(
sizeof(std::atomic<Int_t>) ==
sizeof(Int_t),
37 "We requiqre atomic<int> and <int> to have the same size but they are not");
41 using AtomicInt_t = Int_t;
45 TBaseClass(
const TBaseClass &);
46 TBaseClass&operator=(
const TBaseClass&);
49 BaseClassInfo_t *fInfo;
53 mutable AtomicInt_t fProperty;
57 TBaseClass(BaseClassInfo_t *info = 0, TClass *cl = 0);
58 virtual ~TBaseClass();
59 virtual void Browse(TBrowser *b);
60 const char *GetTitle()
const;
61 TClass *GetClassPointer(Bool_t load=kTRUE);
63 Bool_t IsFolder()
const {
return kTRUE;}
64 ROOT::ESTLType IsSTLContainer();
65 Long_t Property()
const;
66 void SetClass(TClass* cl) { fClass = cl; }
68 ClassDef(TBaseClass,2)