Lines Matching defs:MapItem
19 class MapItem
24 MapItem(int id, void* ptr);
25 virtual ~MapItem();
47 int Erase(MapItem* item);
55 // Returns a pointer to the first MapItem in the map.
56 MapItem* First() const;
58 // Returns a pointer to the last MapItem in the map.
59 MapItem* Last() const;
61 // Returns a pointer to the MapItem stored after item in the map.
62 MapItem* Next(MapItem* item) const;
64 // Returns a pointer to the MapItem stored before item in the map.
65 MapItem* Previous(MapItem* item) const;
67 // Returns a pointer to the MapItem associated with id from the map.
68 MapItem* Find(int id) const;
71 std::map<int, MapItem*> map_;