次の方法で共有


CGenericList Class (Windows Embedded CE 6.0)

1/6/2010

Ee492706.3541f1a4-9195-47e7-ad00-34f53caa3f90(en-US,WinEmbedded.60).gif

This is a template class that allows for a type-specific implementation of a list. It is derived from CBaseList and uses that class's typeless implementation.

The constructor creates a CBaseList object, and all CGenericList member functions call CBaseList member functions but provide type-checking dependent on the template.

Member Functions

Member function Description

AddAfter

Inserts a node or list of nodes after the specified node.

AddBefore

Inserts a node or list of nodes before the specified node.

AddHead

Inserts a node or list of nodes at the front of the list.

AddTail

Appends a node or list of nodes to the end of the list.

CGenericList

Constructs a CGenericList object.

Find

Returns the first position that contains the specified object.

Get

Returns the object at the specified position.

GetCount

Returns the number of objects (object count) in the list.

GetHead

Returns the object at the head of the list.

GetHeadPosition

Returns a cursor identifying the first element of the list.

GetNext

Returns the specified object and update position.

GetTailPosition

Returns a cursor identifying the last element of the list.

Remove

Removes the specified node from the list.

RemoveHead

Removes the first node in the list.

RemoveTail

Removes the last node in the list.

Requirements

Windows Embedded CE Windows CE 2.12 and later
Note Microsoft DirectShow applications and DirectShow filters have different include file and Library requirements
For more information, see Setting Up the Build Environment

See Also

Reference

DirectShow Classes