#include <t_list.h>
List of all members.
Public Member Functions |
| List () |
| Pointer to current position in the list.
|
| List (const List &L) |
void | Swap () |
void | InsertAtStart (T *V) |
void | Append (T *V) |
void | InsertAfter (T *V) |
void | InsertBefore (T *V) |
T * | Get () |
void | Put (T *V) |
void | Clear () |
void | Destroy () |
List & | operator<< (T *V) |
List & | operator>> (T *V) |
void | Next () |
void | Prev () |
void | First () |
void | Last () |
int | IsEnd () |
int | IsStart () |
int | SizeList () |
List | operator+ (const List &L) |
List & | operator+= (const List &L) |
List & | operator= (const List &L) |
Protected Attributes |
Node< T > * | Start |
| Pointer to Start of list.
|
Node< T > * | End |
| Pointer to end of list.
|
Node< T > * | Current |
Detailed Description
template<class T>
class List< T >
List container.
Member Function Documentation
template<class T>
void List< T >::InsertAtStart |
( |
T * |
V | ) |
|
|
inline |
Insert an element at the begining of the list
- Parameters:
-
V | pointer to element to be inserted |
template<class T >
int List< T >::SizeList |
( |
| ) |
|
|
inline |
return the number of element in the list
The documentation for this class was generated from the following files: