equal
deleted
inserted
replaced
249 */ |
249 */ |
250 ConstIterator end() const { |
250 ConstIterator end() const { |
251 return ConstIterator(*this, INVALID); |
251 return ConstIterator(*this, INVALID); |
252 } |
252 } |
253 |
253 |
|
254 /// The KeySet of the Map. |
|
255 typedef MapConstKeySet<ArrayMap> ConstKeySet; |
|
256 |
|
257 /// KeySet getter function. |
|
258 ConstKeySet keySet() const { |
|
259 return ConstKeySet(*this); |
|
260 } |
|
261 |
|
262 /// The ConstValueSet of the Map. |
|
263 typedef MapConstValueSet<ArrayMap> ConstValueSet; |
|
264 |
|
265 /// ConstValueSet getter function. |
|
266 ConstValueSet valueSet() const { |
|
267 return ConstValueSet(*this); |
|
268 } |
|
269 |
|
270 /// The ValueSet of the Map. |
|
271 typedef MapValueSet<ArrayMap> ValueSet; |
|
272 |
|
273 /// ValueSet getter function. |
|
274 ValueSet valueSet() { |
|
275 return ValueSet(*this); |
|
276 } |
|
277 |
254 private: |
278 private: |
255 |
279 |
256 void allocate_memory() { |
280 void allocate_memory() { |
257 int max_id = -1; |
281 int max_id = -1; |
258 for (KeyIt it(*MapBase::getGraph()); it != INVALID; ++it) { |
282 for (KeyIt it(*MapBase::getGraph()); it != INVALID; ++it) { |