Lines Matching refs:mDbItemMap
766 // Insert inItem into mDbItemMap with key primaryKey. p.second will be
770 mDbItemMap.insert(DbItemMap::value_type(primaryKey, inItem.get()));
773 // There was already an ItemImpl * in mDbItemMap with key
816 // If the primary key hasn't changed we don't need to update mDbItemMap.
819 // If inItem isn't in the cache we don't need to update mDbItemMap.
823 // First remove the entry for inItem in mDbItemMap with key oldPK.
824 DbItemMap::iterator it = mDbItemMap.find(oldPK);
825 if (it != mDbItemMap.end() && (ItemImpl*) it->second == inItem.get())
826 mDbItemMap.erase(it);
828 // Insert inItem into mDbItemMap with key newPK. p.second will be
832 mDbItemMap.insert(DbItemMap::value_type(newPK, inItem.get()));
835 // There was already an ItemImpl * in mDbItemMap with key
872 // Don't remove the item from the mDbItemMap here since this would cause
963 DbItemMap::iterator it = mDbItemMap.find(primaryKey);
964 if (it != mDbItemMap.end())
969 mDbItemMap.erase(it);
1081 // Insert dbItemImpl into mDbItemMap with key primaryKey. p.second will
1085 mDbItemMap.insert(DbItemMap::value_type(primaryKey, dbItemImpl));
1089 // There was already an ItemImpl * in mDbItemMap with key primaryKey.
1118 DbItemMap::iterator it = mDbItemMap.find(primaryKey);
1119 if (it != mDbItemMap.end() && (ItemImpl*) it->second == inItemImpl)
1120 mDbItemMap.erase(it);