00001 /***************************************************************************** 00002 * Project: RooFit * 00003 * Package: RooFitCore * 00004 * File: $Id: RooSharedProperties.h,v 1.3 2007/05/11 09:11:30 verkerke Exp $ 00005 * Authors: * 00006 * WV, Wouter Verkerke, UC Santa Barbara, verkerke@slac.stanford.edu * 00007 * DK, David Kirkby, UC Irvine, dkirkby@uci.edu * 00008 * * 00009 * Copyright (c) 2000-2005, Regents of the University of California * 00010 * and Stanford University. All rights reserved. * 00011 * * 00012 * Redistribution and use in source and binary forms, * 00013 * with or without modification, are permitted according to the terms * 00014 * listed in LICENSE (http://roofit.sourceforge.net/license.txt) * 00015 *****************************************************************************/ 00016 #ifndef ROO_ABS_SHARED_PROPERTY 00017 #define ROO_ABS_SHARED_PROPERTY 00018 00019 #include "TObject.h" 00020 #include "TUUID.h" 00021 00022 class RooSharedProperties : public TObject { 00023 public: 00024 00025 RooSharedProperties() ; 00026 RooSharedProperties(const char* uuidstr) ; 00027 virtual ~RooSharedProperties() ; 00028 Bool_t operator==(const RooSharedProperties& other) ; 00029 00030 virtual RooSharedProperties* clone() = 0 ; 00031 00032 virtual void Print(Option_t* opts=0) const ; 00033 00034 protected: 00035 00036 TUUID _uuid ; // Unique object ID 00037 00038 ClassDef(RooSharedProperties,1) // Abstract interface for shared property implementations 00039 }; 00040 00041 00042 #endif