15#ifndef DBDATAOBJECTS_CONDMULTCHANCOLLIMPL_H
16# define DBDATAOBJECTS_CONDMULTCHANCOLLIMPL_H
43 typedef std::vector<IOVRange>
IOVVec;
99 void add(
const std::string& token);
262 if(range.start().isTimestamp()) {
271 if (
m_minRange.start() < range.start()) start = range.start();
273 if (range.stop() <
m_minRange.stop()) stop = range.stop();
This file defines the class for a collection of AttributeLists where each one is associated with a ch...
An STL vector of pointers that by default owns its pointed-to elements.
This class is a collection of AttributeLists where each one is associated with a channel number.
TokenVec::const_iterator token_const_iterator
token_size_type token_size() const
number of tokens
std::vector< ChanNum > ChanVec
void add(ChanNum chanNum)
Adding in channel numbers.
IOVVec::iterator iov_iterator
IOVVec::size_type iov_size_type
bool hasUniqueIOV() const
Check whether there is a unique IOV for all channels.
std::vector< IOVRange > IOVVec
IOVVec::const_iterator iov_const_iterator
chan_const_iterator chan_begin() const
Access to Channel numbers via iterators.
ChanVec::iterator chan_iterator
ChanVec::const_iterator chan_const_iterator
CondAttrListCollection * m_attrListColl
chan_size_type chan_size() const
number of channels
ChanVec::size_type chan_size_type
token_const_iterator token_end() const
TokenVec::iterator token_iterator
void setAttrListColl(CondAttrListCollection *coll)
Set pointer to the CondAttrListCollection.
token_const_iterator token_begin() const
Access to tokens via iterators.
std::vector< std::string > TokenVec
const IOVRange & minRange() const
Current minimal IOVRange.
CondMultChanCollImpl()
Default constructor.
iov_size_type iov_size() const
number of IOVs
void resetChannelNumbers()
Reset channel numbers - needed to allow sorting.
virtual ~CondMultChanCollImpl()
Default destructor.
iov_const_iterator iov_begin() const
Access to IOVs via iterators.
iov_const_iterator iov_end() const
chan_const_iterator chan_end() const
void resetTokens()
Reset tokens - needed to multiple I/O of the same object.
TokenVec::size_type token_size_type
void addNewStop(const IOVTime &stop)
Add new stop time to minRange - make sure that stop is <= to new stop.
Basic time unit for IOVSvc.
static constexpr uint64_t MAXTIMESTAMP
static constexpr uint64_t MINTIMESTAMP