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>
27 const std::string &
tok) :
43 boost::shared_ptr<cond::IOVSequence>
data;
75 std::string
const &
token()
const {
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;
182 const std::string&
token();
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
cond::Time_t firstSince() const
boost::transform_iterator< IterHelp, boost::counting_iterator< int > > iov_range_iterator
IOVRange rangeTail(cond::Time_t since, cond::Time_t till, int n) const
std::string comment() const
cond::Time_t timestamp() const
std::pair< cond::Time_t, cond::Time_t > validity(cond::Time_t currenttime)
TimeType timetype() const
const_iterator begin() const
IOVRange range(cond::Time_t since, cond::Time_t till) const
const_iterator begin() const
IOVProxyData(cond::DbSession &dbs)
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)
const_iterator find(cond::Time_t time) const
unsigned long long Time_t
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
const Time_t invalidTime(0)
IOVSequence const & iov() const
IOVProxy & operator=(const IOVProxy &rhs)
const std::string & token()
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 lastTill() const
cond::Time_t since() const
boost::shared_ptr< IOVProxyData > m_iov
std::vector< std::vector< double > > tmp
char data[epos_bytes_allocation]
std::set< std::string > const & payloadClasses() const
boost::shared_ptr< cond::IOVSequence > data
SequenceState state() const
IOVRange head(int n) const
result_type const & operator()(int i) const
iov_range_iterator const_iterator
bool isValid(cond::Time_t currenttime)
IOVElementProxy back() const
IOVRange tail(int n) const
IOVRange & operator=(const IOVRange &rhs)
cond::DbSession dbSession
void load(const std::string &token)