1 #ifndef DataFormats_Common_IDVectorMap_h
2 #define DataFormats_Common_IDVectorMap_h
7 template<
typename ID,
typename C,
typename P>
12 typedef std::map<ID, C>
map;
32 while (
ic ==
im->second.end()) {
34 if (
im ==
em)
return *
this;
35 ic =
im->second.begin();
42 while (
ic ==
im->second.begin()) {
44 ic =
im->second.end();
74 for(CI
i = begin;
i !=
end; ++
i)
86 if (i !=
map_.end()) {
87 begin = i->second.begin();
88 end = i->second.end();
92 return range(begin, end);
114 while (
ic ==
im->second.end()) {
116 if (
im ==
em)
return *
this;
117 ic =
im->second.begin();
123 if (
im ==
em && ci.
im ==
im && ci.
em ==
em)
return true;
171 template <
typename ID,
typename C,
typename P>
176 map_.swap(other.
map_);
179 template <
typename ID,
typename C,
typename P>
189 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_iterator begin() const
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++()
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
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
Container::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--()