CTypedPtrMap::GetNextAssoc

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.

Syntax

void GetNextAssoc( POSITION& rPosition, KEY& rKey, VALUE& rValue ) const;

At a Glance

Header file: Afxtempl.h
Platforms:
Versions: 1.0 and later
Complete documentation: Visual C++ documentation

See Also

CTypedPtrMap Overview, CTypedPtrMap Member Functions, Typed Template Collections, CMapStringToOb::GetNextAssoc, CMapStringToOb::GetStartPosition