Dela via


CRBTree::GetNextValue

Call this method to get the value of an element stored in the tree and advance the position to the next element.

const V& GetNextValue(
   POSITION& pos 
) const throw( );
V& GetNextValue(
   POSITION& pos 
) throw( );

Parameters

Return Value

Returns a reference to the next value in the tree.

Remarks

Updates the current position counter, pos. If there are no more entries in the tree, the position counter is set to NULL.

Requirements

Header: atlcoll.h

See Also

Reference

CRBTree Class

CRBTree::GetNextKey

Other Resources

CRBTree Members