1 #ifndef CondCore_IOVService_IOVProxy_h
2 #define CondCore_IOVService_IOVProxy_h
11 #include <boost/shared_ptr.hpp>
12 #include <boost/iterator/transform_iterator.hpp>
13 #include <boost/iterator/counting_iterator.hpp>
43 boost::shared_ptr<cond::IOVSequence>
data;
129 return boost::make_transform_iterator(boost::counting_iterator<int>(
m_low),
137 return boost::make_transform_iterator(boost::counting_iterator<int>(index),
150 boost::shared_ptr<IOVProxyData>
m_iov;
171 IOVProxy(
const boost::shared_ptr<IOVProxyData>&
data );
189 return boost::make_transform_iterator(boost::counting_iterator<int>(0),
195 return boost::make_transform_iterator(boost::counting_iterator<int>(index),
239 boost::shared_ptr<IOVProxyData>
m_iov;
244 #endif // CondCore_IOVService_IOVProxy_h
IOVElementProxy(cond::Time_t is, cond::Time_t it, std::string const &itoken)
const_iterator find(cond::Time_t time) const
IOVSequence const & iov() const
std::pair< cond::Time_t, cond::Time_t > validity(cond::Time_t currenttime)
boost::transform_iterator< IterHelp, boost::counting_iterator< int > > iov_range_iterator
IOVRange range(cond::Time_t since, cond::Time_t till) const
const_iterator begin() const
void load(const std::string &token)
std::set< std::string > const & payloadClasses() const
const_iterator begin() const
IOVProxyData(cond::DbSession &dbs)
IOVRange head(int n) const
cond::Time_t till() const
const_iterator end() const
boost::shared_ptr< IOVProxyData > m_iov
IOVElementProxy front() const
IOVProxyData(cond::DbSession &dbs, const std::string &tok)
IOVRange tail(int n) const
unsigned long long Time_t
bool isValid(cond::Time_t currenttime)
cond::Time_t lastTill() const
void set(cond::Time_t is, cond::Time_t it, std::string const &itoken)
std::string const & token() const
IOVElementProxy result_type
IOVRange rangeHead(cond::Time_t since, cond::Time_t till, int n) const
IOVProxy & operator=(const IOVProxy &rhs)
const Time_t invalidTime(0)
std::pair< int, int > range(cond::Time_t since, cond::Time_t till)
const_iterator end() const
iov_range_iterator const_iterator
cond::Time_t timestamp() const
IOVRange rangeTail(cond::Time_t since, cond::Time_t till, int n) const
cond::Time_t since() const
cond::Time_t firstSince() const
boost::shared_ptr< IOVProxyData > m_iov
std::vector< std::vector< double > > tmp
char data[epos_bytes_allocation]
TimeType timetype() const
boost::shared_ptr< cond::IOVSequence > data
SequenceState state() const
result_type const & operator()(int i) const
const_iterator find(cond::Time_t time) const
const std::string & token()
iov_range_iterator const_iterator
std::string comment() const
IOVElementProxy back() const
IOVRange & operator=(const IOVRange &rhs)
cond::DbSession dbSession