Go to the documentation of this file. 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);
127 std::tuple<std::string, boost::posix_time::ptime, boost::posix_time::ptime>
getMetadata()
const;
152 std::pair<cond::Time_t, cond::Time_t>
loadedGroup()
const;
155 const std::shared_ptr<SessionImpl>&
session()
const;
std::tuple< std::string, boost::posix_time::ptime, boost::posix_time::ptime > getMetadata() const
cond::Iov_t getInterval(cond::Time_t time)
IOVArray selectRange(const cond::Time_t &begin, const cond::Time_t &end)
std::unique_ptr< IOVContainer > m_array
IOVArray & operator=(const IOVArray &rhs)
void load(const std::string &tag)
Iterator find(cond::Time_t time) const
cond::TagInfo_t iovSequenceInfo() const
const std::shared_ptr< SessionImpl > & session() const
IOVContainer::const_iterator m_current
IOVProxy & operator=(const IOVProxy &rhs)
std::pair< cond::Time_t, cond::Time_t > loadedGroup() const
unsigned long long Time_t
std::shared_ptr< IOVProxyData > m_data
size_t numberOfQueries() const
const IOVArray * m_parent
void checkTransaction(const std::string &ctx) const
Iterator & operator=(const Iterator &rhs)
void fetchSequence(cond::Time_t lowerGroup, cond::Time_t higherGroup)
const cond::Tag_t & tagInfo() const
std::vector< std::tuple< cond::Time_t, cond::Hash > > IOVContainer
bool operator==(const Iterator &rhs) const
cond::Tag_t tagInfo() const
std::shared_ptr< SessionImpl > m_session
bool operator!=(const Iterator &rhs) const