CRBTree::GetNext

调用此方法获取指向在 CRBTree 对象存储的元素,并使该位置到下一个元素。

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

参数

返回值

返回指向该树中的下一 CPair 值。

备注

pos 位置计数器在每个更新程序调用。如果已检索的元素位于树的最后,pos 设置为NULL。

要求

Header: atlcoll.h

请参见

参考

CRBTree选件类

CRBTree::GetPrev