1 #ifndef ALINAMEDSTRING_H
2 #define ALINAMEDSTRING_H
6 #include <TObjString.h>
8 class AliNamedString : public TObjString {
11 AliNamedString(const char *name, const char *string="");
13 void Clear(Option_t* /*option*/="") { SetString("") ; }
15 const char* GetName() const { return fName ; }
16 void SetName(const char* n) { fName = n ; }
19 TString fName; // name of the string object
22 AliNamedString(const AliNamedString&); // not implemented
23 AliNamedString& operator=(const AliNamedString&); // not implemented
25 ClassDef(AliNamedString, 1); // Named string object