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>
92 if (
i !=
map_.end()) {
94 end =
i->second.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>
207 collection_.swap(
other.collection_);
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)
id_iterator id_begin() const
const_iterator end() const
bool operator!=(const id_iterator &ci) const
bool operator==(const match_iterator &ci) const
const_iterator(const map_iterator &e, const map_iterator &m, const container_iterator &c)
void swap(IDVectorMap &other)
bool operator!=(const const_iterator &ci) const
const_iterator operator--(int)
IDVectorMap & operator=(IDVectorMap const &rhs)
const_iterator begin() const
void swap(Association< C > &lhs, Association< C > &rhs)
match_iterator & operator++()
const value_type & operator*() const
match_iterator operator++(int)
match_iterator(const M &ma, const map_iterator &e)
map_iterator::iterator_category iterator_category
C::const_iterator container_iterator
Container::value_type value_type
map_iterator::iterator_category iterator_category
match_iterator< M > begin(const M &m) const
const ID operator*() const
const_iterator & operator++()
IDVectorMap::value_type value_type
void insert(ID id, const value_type &t)
const_iterator operator++(int)
id_iterator id_end() const
match_iterator & operator=(const match_iterator &it)
bool operator==(const const_iterator &ci) const
bool operator!=(const match_iterator &ci) const
id_iterator & operator=(const id_iterator &it)
id_iterator operator++(int)
range(const container_iterator &b, const container_iterator &e)
map_iterator::iterator_category iterator_category
IDVectorMap::value_type value_type
TEveGeoShape * clone(const TEveElement *element, TEveElement *parent)
id_iterator & operator++()
map::const_iterator map_iterator
void insert(ID id, CI begin, CI end)
bool operator==(const id_iterator &ci) const
match_iterator< M > end(const M &m) const
match_iterator(const M &ma, const map_iterator &e, const map_iterator &m, const container_iterator &c)
const value_type & operator*() const
const_iterator & operator--()
id_iterator & operator--()