1 #ifndef CondCore_CondDB_IOVProxy_h
2 #define CondCore_CondDB_IOVProxy_h
18 #include <boost/date_time/posix_time/posix_time.hpp>
22 namespace persistency {
30 typedef std::vector<std::tuple<cond::Time_t,cond::Hash> >
IOVContainer;
32 class Iterator :
public std::iterator<std::input_iterator_tag, cond::Iov_t> {
56 IOVContainer::const_iterator
m_end;
128 std::pair<cond::Time_t,cond::Time_t>
loadedGroup()
const;
131 const std::shared_ptr<SessionImpl>&
session()
const;
void fetchSequence(cond::Time_t lowerGroup, cond::Time_t higherGroup)
void checkTransaction(const std::string &ctx) const
cond::Time_t m_endOfValidity
std::shared_ptr< SessionImpl > m_session
IOVProxy & operator=(const IOVProxy &rhs)
void load(const std::string &tag, bool full=false)
std::pair< cond::Time_t, cond::Time_t > loadedGroup() const
std::string payloadObjectType() const
bool operator!=(const Iterator &rhs) const
Iterator & operator=(const Iterator &rhs)
cond::TimeType timeType() const
unsigned long long Time_t
IOVContainer::const_iterator m_current
std::vector< std::tuple< cond::Time_t, cond::Hash > > IOVContainer
Iterator find(cond::Time_t time)
cond::Iov_t getInterval(cond::Time_t time)
IOVContainer::const_iterator m_end
cond::Time_t endOfValidity() const
cond::TimeType m_timeType
cond::Time_t lastValidatedTime() const
std::shared_ptr< IOVProxyData > m_data
bool operator==(const Iterator &rhs) const
size_t numberOfQueries() const
const std::shared_ptr< SessionImpl > & session() const