00001 #ifndef GoodRunsLists_TUniqueGRLString_h 00002 #define GoodRunsLists_TUniqueGRLString_h 00003 00004 #include "TString.h" 00005 00006 namespace Root { 00007 00008 class TUniqueGRLString : public TString { 00009 00010 public: 00011 00012 // access to the single instance of this class (created statically on first request) 00013 static TUniqueGRLString& instance(); 00014 00015 // =operator 00016 //TUniqueGRLString& TUniqueGRLString::operator=(const TUniqueGRLString& other); 00017 00018 void SetTo(const TString& other); 00019 00020 private: 00021 00022 // default constructor (called by instance()) 00023 TUniqueGRLString(); 00025 00030 virtual ~TUniqueGRLString(); 00031 }; 00032 00033 } 00034 00035 #endif 00036