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 {
27 typedef std::vector<std::tuple<cond::Time_t, cond::Hash> >
IOVContainer;
37 class Iterator :
public std::iterator<std::input_iterator_tag, cond::Iov_t> {
112 const boost::posix_time::ptime& snapshottime);
126 std::tuple<std::string, boost::posix_time::ptime, boost::posix_time::ptime>
getMetadata()
const;
151 std::pair<cond::Time_t, cond::Time_t>
loadedGroup()
const;
154 const std::shared_ptr<SessionImpl>&
session()
const;
void fetchSequence(cond::Time_t lowerGroup, cond::Time_t higherGroup)
std::shared_ptr< SessionImpl > m_session
std::tuple< std::string, boost::posix_time::ptime, boost::posix_time::ptime > getMetadata() const
IOVProxy & operator=(const IOVProxy &rhs)
std::pair< cond::Time_t, cond::Time_t > loadedGroup() const
cond::TagInfo_t iovSequenceInfo() const
size_t numberOfQueries() const
std::unique_ptr< IOVContainer > m_array
std::vector< std::tuple< cond::Time_t, cond::Hash > > IOVContainer
bool operator==(const Iterator &rhs) const
unsigned long long Time_t
const cond::Tag_t & tagInfo() const
const std::shared_ptr< SessionImpl > & session() const
cond::Iov_t getInterval(cond::Time_t time)
Iterator find(cond::Time_t time) const
void checkTransaction(const std::string &ctx) const
cond::Tag_t tagInfo() const
const IOVArray * m_parent
std::shared_ptr< IOVProxyData > m_data
void load(const std::string &tag)
IOVContainer::const_iterator m_current
IOVArray selectRange(const cond::Time_t &begin, const cond::Time_t &end)
bool operator!=(const Iterator &rhs) const
IOVArray & operator=(const IOVArray &rhs)
Iterator & operator=(const Iterator &rhs)