Go to the documentation of this file. 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;
30 while (
ic ==
im->second.end()) {
34 ic =
im->second.begin();
46 ic =
im->second.end();
48 while (
ic ==
im->second.begin()) {
50 ic =
im->second.end();
77 template <
typename CI>
91 if (
i !=
map_.end()) {
93 end =
i->second.end();
100 template <
typename M>
119 while (
ic ==
im->second.end()) {
125 ic =
im->second.begin();
148 template <
typename M>
152 template <
typename M>
204 template <
typename ID,
typename C,
typename P>
206 collection_.swap(
other.collection_);
207 map_.swap(
other.map_);
210 template <
typename ID,
typename C,
typename P>
218 template <
typename ID,
typename C,
typename P>
IDVectorMap::value_type value_type
bool operator!=(const match_iterator &ci) const
const_iterator(const map_iterator &e, const map_iterator &m, const container_iterator &c)
match_iterator & operator++()
bool operator!=(const id_iterator &ci) const
void insert(ID id, const value_type &t)
const_iterator operator--(int)
id_iterator(map_iterator o)
void swap(Association< C > &lhs, Association< C > &rhs)
void insert(ID id, CI begin, CI end)
bool operator!=(const const_iterator &ci) const
match_iterator operator++(int)
map_iterator::iterator_category iterator_category
id_iterator id_begin() const
const_iterator begin() const
const_iterator & operator--()
const_iterator(const map_iterator &e)
TEveGeoShape * clone(const TEveElement *element, TEveElement *parent)
match_iterator< M > begin(const M &m) const
const_iterator end() const
const_iterator operator++(int)
void swap(IDVectorMap &other)
const value_type & operator*() const
IDVectorMap & operator=(IDVectorMap const &rhs)
IDVectorMap::value_type value_type
const ID operator*() const
id_iterator operator++(int)
Container::value_type value_type
id_iterator & operator++()
const_iterator & operator++()
range(const container_iterator &b, const container_iterator &e)
id_iterator & operator=(const id_iterator &it)
match_iterator & operator=(const match_iterator &it)
const_iterator & operator=(const const_iterator &it)
bool operator==(const match_iterator &ci) const
bool operator==(const const_iterator &ci) const
match_iterator(const M &ma, const map_iterator &e)
map::const_iterator map_iterator
map_iterator::iterator_category iterator_category
C::const_iterator container_iterator
id_iterator id_end() const
id_iterator & operator--()
match_iterator(const M &ma, const map_iterator &e, const map_iterator &m, const container_iterator &c)
match_iterator< M > end(const M &m) const
id_iterator operator--(int)
const value_type & operator*() const
map_iterator::iterator_category iterator_category
bool operator==(const id_iterator &ci) const