Home | History | Annotate | Download | only in source

Lines Matching refs:map_

44 MapWrapper::MapWrapper() : map_()
50 if (!map_.empty())
65 return (int)map_.size();
70 map_[id] = new MapItem(id,ptr);
76 std::map<int, MapItem*>::const_iterator it = map_.begin();
77 if (it != map_.end())
86 std::map<int, MapItem*>::const_reverse_iterator it = map_.rbegin();
87 if (it != map_.rend())
100 std::map<int, MapItem*>::const_iterator it = map_.find(item->item_id_);
101 if (it != map_.end())
104 if (it != map_.end())
119 std::map<int, MapItem*>::const_iterator it = map_.find(item->item_id_);
120 if ((it != map_.end()) &&
121 (it != map_.begin()))
131 std::map<int, MapItem*>::const_iterator it = map_.find(id);
132 if (it != map_.end())
145 std::map<int, MapItem*>::iterator it = map_.find(item->item_id_);
146 if (it != map_.end())
149 map_.erase(it);
157 std::map<int, MapItem*>::iterator it = map_.find(id);
158 if (it != map_.end())
161 map_.erase(it);