16 #ifndef ROO_ABS_SHARED_PROPERTY
17 #define ROO_ABS_SHARED_PROPERTY
23 class RooSharedProperties :
public TObject {
26 RooSharedProperties() ;
27 RooSharedProperties(
const char* uuidstr) ;
28 virtual ~RooSharedProperties() ;
29 Bool_t operator==(
const RooSharedProperties& other) ;
31 virtual RooSharedProperties* clone() = 0 ;
33 virtual void Print(Option_t* opts=0)
const ;
35 void increaseRefCount() { _refCount++ ; }
36 void decreaseRefCount() {
if (_refCount>0) _refCount-- ; }
37 Int_t refCount()
const {
return _refCount ; }
39 void setInSharedList() { _inSharedList = kTRUE ; }
40 Bool_t inSharedList()
const {
return _inSharedList ; }
42 TString asString() {
return TString(_uuid.AsString()); }
50 ClassDef(RooSharedProperties,1)