Compartilhar via


CAtlList Members

Methods

AddHead

Call this method to add an element to the head of the list.

AddHeadList

Call this method to add an existing list to the head of the list.

AddTail

Call this method to add an element to the tail of this list.

AddTailList

Call this method to add an existing list to the tail of this list.

AssertValid

Call this method to confirm the list is valid.

CAtlList

The constructor.

~CAtlList

The destructor.

Find

Call this method to search the list for the specified element.

FindIndex

Call this method to obtain the position of an element, given an index value.

GetAt

Call this method to return the element at a specified position in the list.

GetCount

Call this method to return the number of objects in the list.

GetHead

Call this method to return the element at the head of the list.

GetHeadPosition

Call this method to obtain the position of the head of the list.

GetNext

Call this method to return the next element from the list.

GetPrev

Call this method to return the previous element from the list.

GetTail

Call this method to return the element at the tail of the list.

GetTailPosition

Call this method to obtain the position of the tail of the list.

InsertAfter

Call this method to insert a new element into the list after the specified position.

InsertBefore

Call this method to insert a new element into the list before the specified position.

IsEmpty

Call this method to determine if the list is empty.

MoveToHead

Call this method to move the specified element to the head of the list.

MoveToTail

Call this method to move the specified element to the tail of the list.

RemoveAll

Call this method to remove all of the elements from the list.

RemoveAt

Call this method to remove a single element from the list.

RemoveHead

Call this method to remove the element at the head of the list.

RemoveHeadNoReturn

Call this method to remove the element at the head of the list without returning a value.

RemoveTail

Call this method to remove the element at the tail of the list.

RemoveTailNoReturn

Call this method to remove the element at the tail of the list without returning a value.

SetAt

Call this method to set the value of the element at a given position in the list.

SwapElements

Call this method to swap elements in the list.

Typedefs

INARGTYPE

Type used when an element is passed as an input argument.

See Also

Reference

CAtlList Class