CAtlMap::GetNextValue
Call this method to get the next value from the CAtlMap object.
Syntax
V& GetNextValue(
POSITION& pos
) throw( );
const V& GetNextValue(
POSITION& pos
) const throw( );
Parameters
- pos
The position counter, returned by a previous call to CAtlMap::GetNextAssoc or CAtlMap::GetStartPosition.
Return Value
Returns a reference to the next value in the map.
Remarks
Updates the current position counter, pos. If there are no more entries in the map, the position counter is set to NULL.
Example
See the example for CAtlMap::CAtlMap.
Requirements
Header: atlcoll.h
See Also
CAtlMap Class
CAtlMap::GetNext
CAtlMap::GetNextKey
CAtlMap::GetNextAssoc