CTypedPtrList::AddTail

POSITION AddTail( TYPE newElement );

void AddTail( CTypedPtrList<BASE_CLASS, TYPE> *pNewList );

Return Value

The first version returns the POSITION value of the newly inserted element.

Parameters

TYPE

Type of the elements stored in the base-class list.

newElement

The object pointer to be added to this list. A NULL value is allowed.

BASE_CLASS

Base class of the typed pointer list class; must be a pointer list class (CObList or CPtrList).

pNewList

A pointer to another CTypedPtrList object. The elements in pNewList will be added to this list.

Remarks

This member function calls BASE_CLASS::AddTail. The first version adds a new element after the tail of the list. The second version adds another list of elements after the tail of the list.

CTypedPtrList OverviewClass MembersHierarchy Chart