Call this method to obtain a pointer to an element stored in the CRBTree object, and advance the position to the next element.
const CPair* GetNext( POSITION& pos ) const throw( ); CPair* GetNext( POSITION& pos ) throw( );
- The position counter, returned by a previous call to methods such as CRBTree::GetHeadPosition or CRBTree::FindFirstKeyAfter.
Returns a pointer to the next CPair value in the tree.
The pos position counter is updated after each call. If the retrieved element is the last in the tree, pos is set to NULL.