StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StHbtNamed.hh
1 /***************************************************************************
2  *
3  *
4  *
5  * Author: Laurent Conin, Fabrice Retiere, Subatech, France
6  ****************************************************************************
7  * Description: part of STAR HBT Framework: StHbtMaker package
8  *
9  * class for a Named Object -
10  * each named Hbt Object shoud inherit from that class
11  *
12  ***************************************************************************/
13 
14 
15 #ifndef StHbtNamed_hh
16 #define StHbtNamed_hh
17 
18 class StHbtNamed {
19 
20 public:
21  StHbtNamed() ;
22  StHbtNamed(const char * aName) ;
23  StHbtNamed (const StHbtNamed&);
24  virtual ~StHbtNamed() {delete [] mName;};
25  virtual void SetName (const char *aName);
26  virtual const char* GetName() const;
27 
28 private:
29  char* mName;
30 
31 #ifdef __ROOT2__
32  ClassDef(StHbtNamed,0)
33 #endif
34 
35 };
36 
37 inline const char* StHbtNamed::GetName() const {return mName;};
38 
39 #endif