Lines Matching refs:item
20 int* ItemPointer(MapItem* item) {
21 if (item == NULL) {
24 return reinterpret_cast<int*>(item->GetItem());
27 bool DeleteItemContent(MapItem* item) {
28 if(item == NULL) {
31 int* value_ptr = ItemPointer(item);
36 int ItemValue(MapItem* item) {
37 if (item == NULL) {
40 const int* value_ptr = ItemPointer(item);
88 void PrintMapItem(MapItem* item, bool supress) {
89 const int id = item->GetId();
90 const int value = ItemValue(item);
100 MapItem* item = print_map.First();
102 while (item != NULL) {
103 PrintMapItem(item, supress);
105 item = print_map.Next(item);
115 MapItem* item = print_map.Last();
117 while (item != NULL) {
118 PrintMapItem(item, supress);
120 item = print_map.Previous(item);
126 // Returns true if the map items contain the same item.
187 // Erase using MapItem* item