EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
FairRegistryItem.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file FairRegistryItem.h
1 
2 #ifndef FAIRREGISTRYITEM_H
3 #define FAIRREGISTRYITEM_H
4 
5 #include <TObject.h>
6 
7 //class type_info;
8 class FairRegistryItem : public TObject
9 {
10 
11  public:
12 
14  virtual ~FairRegistryItem();
15  virtual FairRegistryItem* Dup(void) const = 0;
16 
17  virtual std::ostream& PrintStream(std::ostream& os) const = 0;
18  virtual std::istream& ReadStream(std::istream& is) = 0;
19  virtual void Print(Option_t* option="") const = 0;
20 
21  virtual const std::type_info& GetType() const = 0;
22  virtual const char* GetTypeAsString() const = 0;
23 
24 
25  ClassDef(FairRegistryItem,1)
26 }; // end of class FairRegistryItem
27 
28 
29 #endif // FAIRREGISTRYITEM_H