00001 #ifndef ITIMEIOV_H 00002 #define ITIMEIOV_H 00003 00004 #include <vector> 00005 #include <stdexcept> 00006 00007 #include "OnlineDB/EcalCondDB/interface/Tm.h" 00008 #include "OnlineDB/EcalCondDB/interface/ITag.h" 00009 #include "OnlineDB/EcalCondDB/interface/IIOV.h" 00010 00011 class ITimeIOV { 00012 public: 00013 virtual void fetchAt(IIOV* fillIOV, const Tm eventTm, ITag* tag) const throw(std::runtime_error) =0; 00014 00015 virtual void fetchWithin(std::vector<IIOV*>* fillVec, const Tm beginTm, const Tm endTm, ITag* tag) const throw(std::runtime_error) =0; 00016 00017 }; 00018 00019 #endif