CRBTree::GetHeadPosition

 

Call this method to get the position value for the element at the head of the tree.

Syntax

POSITION GetHeadPosition( ) const throw( );

Return Value

Returns the position value for the element at the head of the tree.

Remarks

The value returned by GetHeadPosition can be used with methods such as CRBTree::GetKeyAt or CRBTree::GetNext to traverse the tree and retrieve values.

Requirements

Header: atlcoll.h

See Also

CRBTree Class
CRBTree::GetTailPosition