Lines Matching refs:iter
71 IDMap<TestObject>::const_iterator iter(&map);
72 while (!iter.IsAtEnd()) {
73 map.Remove(iter.GetCurrentKey());
74 iter.Advance();
98 for (IDMap<TestObject>::const_iterator iter(&map);
99 !iter.IsAtEnd(); iter.Advance()) {
102 EXPECT_EQ(ids[0], iter.GetCurrentKey());
103 EXPECT_EQ(&obj[0], iter.GetCurrentValue());
107 EXPECT_EQ(ids[2], iter.GetCurrentKey());
108 EXPECT_EQ(&obj[2], iter.GetCurrentValue());
112 EXPECT_EQ(ids[4], iter.GetCurrentKey());
113 EXPECT_EQ(&obj[4], iter.GetCurrentValue());