1 #ifndef DataFormats_Common_IDVectorMap_h
2 #define DataFormats_Common_IDVectorMap_h
8 template <
typename ID,
typename C,
typename P>
13 typedef std::map<ID, C>
map;
31 while (
ic ==
im->second.end()) {
35 ic =
im->second.begin();
47 ic =
im->second.end();
49 while (
ic ==
im->second.begin()) {
51 ic =
im->second.end();
78 template <
typename CI>
81 for (CI
i = begin;
i !=
end; ++
i)
92 if (i !=
map_.end()) {
93 begin = i->second.begin();
94 end = i->second.end();
98 return range(begin, end);
101 template <
typename M>
120 while (
ic ==
im->second.end()) {
126 ic =
im->second.begin();
149 template <
typename M>
153 template <
typename M>
205 template <
typename ID,
typename C,
typename P>
208 map_.swap(other.
map_);
211 template <
typename ID,
typename C,
typename P>
219 template <
typename ID,
typename C,
typename P>
id_iterator operator--(int)
const_iterator & operator=(const const_iterator &it)
const_iterator(const map_iterator &e)
id_iterator(map_iterator o)
const edm::EventSetup & c
const_iterator begin() const
uint16_t *__restrict__ id
bool operator==(const id_iterator &ci) const
const_iterator(const map_iterator &e, const map_iterator &m, const container_iterator &c)
void swap(IDVectorMap &other)
const value_type & operator*() const
const_iterator operator--(int)
IDVectorMap & operator=(IDVectorMap const &rhs)
const_iterator end() const
match_iterator< M > begin(const M &m) const
const ID operator*() const
void swap(Association< C > &lhs, Association< C > &rhs)
match_iterator & operator++()
const uint16_t range(const Frame &aFrame)
match_iterator operator++(int)
match_iterator(const M &ma, const map_iterator &e)
bool operator!=(const const_iterator &ci) const
map_iterator::iterator_category iterator_category
C::const_iterator container_iterator
Container::value_type value_type
map_iterator::iterator_category iterator_category
bool operator!=(const match_iterator &ci) const
const_iterator & operator++()
id_iterator id_end() const
IDVectorMap::value_type value_type
void insert(ID id, const value_type &t)
id_iterator id_begin() const
const_iterator operator++(int)
match_iterator & operator=(const match_iterator &it)
id_iterator & operator=(const id_iterator &it)
id_iterator operator++(int)
range(const container_iterator &b, const container_iterator &e)
match_iterator< M > end(const M &m) const
map_iterator::iterator_category iterator_category
IDVectorMap::value_type value_type
TEveGeoShape * clone(const TEveElement *element, TEveElement *parent)
id_iterator & operator++()
bool operator==(const match_iterator &ci) const
bool operator!=(const id_iterator &ci) const
map::const_iterator map_iterator
void insert(ID id, CI begin, CI end)
const value_type & operator*() const
bool operator==(const const_iterator &ci) const
match_iterator(const M &ma, const map_iterator &e, const map_iterator &m, const container_iterator &c)
const_iterator & operator--()
id_iterator & operator--()