#include <list.hxx>
Public Types | |
| typedef T | value_type |
| typedef T * | pointer |
| typedef const T * | const_pointer |
| typedef T & | reference |
| typedef const T & | const_reference |
Public Member Functions | |
| Cell () throw () | |
| Default constructor. | |
| Cell (T &X, Cell< T > *previous, Cell< T > *next) throw () | |
| Main constructor. | |
| ~Cell () throw () | |
| Destructor. | |
| const_reference | GetElement () const |
| Returns the element. | |
| reference | GetElement () |
| Returns the element. | |
| void | GetElement (T &X) const |
| Returns the element. | |
| void | SetElement (T &X) |
| Modifies the cell element. | |
| Cell< T > * | GetPrevious () const |
| Returns the pointer to the previous cell. | |
| void | SetPrevious (Cell< T > *previous) |
| Sets the pointer to the previous cell. | |
| Cell< T > * | GetNext () const |
| Returns the pointer to the next cell. | |
| void | SetNext (Cell< T > *next) |
| Sets the pointer to the next cell. | |
Protected Attributes | |
| T | X_ |
| Element. | |
| Cell< T > * | previous_ |
| Pointer to the previous element. | |
| Cell< T > * | next_ |
| Pointer to the next element. | |
Friends | |
| class | List<T> |
|
||||||||||||||||||||
|
Main constructor.
|
|
||||||||||
|
Returns the element.
|
|
|||||||||
|
Returns the element.
|
|
|||||||||
|
Returns the element.
|
|
|||||||||
|
Returns the pointer to the next cell.
|
|
|||||||||
|
Returns the pointer to the previous cell.
|
|
||||||||||
|
Modifies the cell element.
|
|
||||||||||
|
Sets the pointer to the next cell.
|
|
||||||||||
|
Sets the pointer to the previous cell.
|
1.4.0