1 #ifndef CondCore_IOVService_IOVProxy_h
2 #define CondCore_IOVService_IOVProxy_h
10 #include <boost/shared_ptr.hpp>
11 #include <boost/iterator/transform_iterator.hpp>
12 #include <boost/iterator/counting_iterator.hpp>
26 std::string
const& itoken,
32 std::string
const& itoken ) {
65 const std::string & token,
84 typedef boost::transform_iterator<IterHelp,boost::counting_iterator<int> >
const_iterator;
87 return boost::make_transform_iterator(boost::counting_iterator<int>(
m_low),
92 return boost::make_transform_iterator(boost::counting_iterator<int>(
m_high),
103 void head(
int n)
const;
105 void tail(
int n)
const;
127 boost::shared_ptr<impl::IOVImpl>
m_iov;
134 #endif // CondCore_IOVService_IOVProxy_h
std::string comment() const
cond::Time_t timestamp() const
const_iterator begin() const
cond::Time_t till() const
std::string payloadContainerName() const
const_iterator end() const
boost::transform_iterator< IterHelp, boost::counting_iterator< int > > const_iterator
TimeType timetype() const
const_iterator find(cond::Time_t time) const
IOVElementProxy result_type
unsigned long long Time_t
std::string const & wrapperToken() const
void set(cond::Time_t is, cond::Time_t it, std::string const &itoken)
std::string const & token() const
cond::DbSession m_dbSession
const Time_t invalidTime(0)
IOVElementProxy(cond::Time_t is, cond::Time_t it, std::string const &itoken, cond::DbSession &dbSession)
result_type const & operator()(int i) const
boost::shared_ptr< impl::IOVImpl > m_iov
IOVElementProxy(cond::DbSession &dbSession)
cond::Time_t since() const
cond::DbSession & db() const
void setRange(cond::Time_t since, cond::Time_t till) const
SequenceState state() const