00001 #ifndef CALIBDATASVC_IINSTRUMENTNAME_H 00002 #define CALIBDATASVC_IINSTRUMENTNAME_H 00003 00004 #include "GaudiKernel/IInterface.h" 00005 #include <string> 00006 00014 static const InterfaceID IID_IInstrumentName("IInstrumentName", 1, 0); 00015 00016 class IInstrumentName : virtual public IInterface { 00017 public: 00018 00019 static const InterfaceID& interfaceID() { return IID_IInstrumentName; } 00020 00021 virtual const bool validInstrumentName() const = 0; 00022 virtual const std::string& getInstrumentName() const = 0; 00023 virtual void setInstrumentName(const std::string& name) = 0; 00024 //get the CalibType from CalibDataSvc, either MYSQL_StorageType or CALIBROOT_StorageType; 00025 virtual int getsvctype() = 0; 00026 00027 }; 00028 00029 #endif