Call this member function to retrieve the map element at rNextPosition, and then update rNextPosition to refer to the next element in the map. This function is most useful for iterating through all the elements in the map.
void GetNextAssoc( POSITION& rPosition, KEY& rKey, VALUE& rValue ) const;
Header file: | Afxtempl.h |
Platforms: | |
Versions: | 1.0 and later |
Complete documentation: | Visual C++ documentation |
CTypedPtrMap Overview, CTypedPtrMap Member Functions, Typed Template Collections, CMapStringToOb::GetNextAssoc, CMapStringToOb::GetStartPosition