#include <support/List.h>
Inheritance diagram for SList:
A concrete doubly-linked list class, parameterized by type.
Public Types | |
typedef _Iterator< TYPE > | edit_iterator |
typedef _Iterator< TYPE > const | iterator |
typedef TYPE | value_type |
Public Member Functions | |
SList::edit_iterator | AddItem (const TYPE &item) |
Adds item before the end of the list. | |
SList::edit_iterator | AddItemAt (const TYPE &item, const edit_iterator &i) |
Adds item before the list node referenced by the iterator. | |
SList::iterator | Begin (void) const |
Returns a const iterator referencing the head of the list. | |
SList::edit_iterator | Begin (void) |
Returns an iterator referencing the head of the list. | |
SList::iterator | End (void) const |
Returns a const iterator referencing the "end" of the list. | |
SList::edit_iterator | End (void) |
the list.) | |
SList::edit_iterator | IndexOf (const TYPE &item) |
Returns true if list contains at least one instance of item . | |
void | MakeEmpty (void) |
Removes all list nodes. | |
SList< TYPE > & | operator= (const SList< TYPE > &o) |
Wrapper around Duplicate() . | |
SList::edit_iterator | RemoveAllItemsFor (const TYPE &item) |
from the list. | |
SList::edit_iterator | RemoveItemAt (edit_iterator &i) |
from the list. | |
SList::edit_iterator | RemoveItemFor (const TYPE &item) |
Begin() ) from the list. | |
SList (const SList< TYPE > &o) | |
SList (void) | |
SList::edit_iterator | SpliceList (SList< TYPE > &sublist) |
SList::edit_iterator | SpliceListAt (SList< TYPE > &sublist, const iterator &i) |
virtual | ~SList (void) |
Protected Member Functions | |
virtual void | PerformAssign (void *to, const void *from, size_t count) const |
virtual void | PerformConstruct (void *base, size_t count) const |
virtual void | PerformCopy (void *to, const void *from, size_t count) const |
virtual void | PerformDestroy (void *base, size_t count) const |
|
|
|
|
|
|
|
|
|
|
|
|
|
Adds item before the end of the list.
|
|
Adds item before the list node referenced by the iterator.
|
|
Returns a const iterator referencing the head of the list.
Reimplemented from SAbstractList. |
|
Returns an iterator referencing the head of the list.
|
|
Returns a const iterator referencing the "end" of the list.
Reimplemented from SAbstractList. |
|
the list.)
|
|
Returns true if list contains at least one instance of item .
|
|
Removes all list nodes.
Reimplemented from SAbstractList. |
|
Wrapper around
|
|
Implements SAbstractList. |
|
Implements SAbstractList. |
|
Implements SAbstractList. |
|
Implements SAbstractList. |
|
from the list.
|
|
from the list.
|
|
|
|
|
|
|