Поделиться через


CRBTree::GetPrev

Call this method to obtain a pointer to an element stored in the CRBTree object, and then update the position to the previous element.

const CPair* GetPrev(
   POSITION& pos 
) const throw( );
CPair* GetPrev(
   POSITION& pos 
) throw( );

Параметры

Возвращаемое значение

Returns a pointer to the previous CPair value stored in the tree.

Заметки

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

Требования

Header: atlcoll.h

См. также

Основные понятия

CRBTree Class

CRBTree Members

CRBTree::GetNext