CGenericList Class (Compact 2013)
3/26/2014
CGenericList Class
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 |
---|---|
Inserts a node or list of nodes after the specified node. |
|
Inserts a node or list of nodes before the specified node. |
|
Inserts a node or list of nodes at the front of the list. |
|
Appends a node or list of nodes to the end of the list. |
|
Constructs a CGenericList object. |
|
Returns the first position that contains the specified object. |
|
Returns the object at the specified position. |
|
Returns the number of objects (object count) in the list. |
|
Returns the object at the head of the list. |
|
Returns a cursor identifying the first element of the list. |
|
Returns the specified object and update position. |
|
Returns a cursor identifying the last element of the list. |
|
Removes the specified node from the list. |
|
Removes the first node in the list. |
|
Removes the last node in the list. |
Requirements
Header |
dshow.h, |
Library |
ole32.lib, |