|
STK++ 1.0
|
Templated class for the Vertical Cell of a Vertical List. More...
#include <STK_Cell.h>

Public Member Functions | |
| CellVe (CellVe< TYPE > *up=NULL, CellVe< TYPE > *down=NULL) | |
| Default constructor. | |
| CellVe (CellVe< TYPE > *up, CellVe< TYPE > *down, TYPE const &data) | |
| constructor with a reference to the data. | |
| CellVe (const CellVe< TYPE > &C) | |
| Copy constructor. | |
| virtual | ~CellVe () |
| Virtual destructor. | |
| CellVe< TYPE > & | operator= (const CellVe< TYPE > &C) |
| Operator = : overwrite the Cell with C. | |
| CellVe< TYPE > & | operator= (TYPE const &v) |
| operator = : write a value on the cell. | |
| CellVe< TYPE > * | getUp () const |
| Give the adress of the cell up. | |
| CellVe< TYPE > * | getDown () const |
| Give the adress of the cell down. | |
| void | setUp (CellVe< TYPE > *pcell) |
| Set the adress of the cell up. | |
| void | setDown (CellVe< TYPE > *pcell) |
| Set the adress of the cell down. | |
Protected Attributes | |
| CellVe< TYPE > * | up_ |
| pointer on the upper cell | |
| CellVe< TYPE > * | down_ |
| pointer on the cell down | |
Templated class for the Vertical Cell of a Vertical List.
The class CellVe is used by the class ListVe.
Definition at line 94 of file STK_Cell.h.
| STK::CellVe< TYPE >::CellVe | ( | CellVe< TYPE > * | up = NULL, |
| CellVe< TYPE > * | down = NULL |
||
| ) |
Default constructor.
Definition at line 245 of file STK_Cell.h.
References STK::CellVe< TYPE >::down_, and STK::CellVe< TYPE >::up_.
| STK::CellVe< TYPE >::CellVe | ( | CellVe< TYPE > * | up, |
| CellVe< TYPE > * | down, | ||
| TYPE const & | data | ||
| ) |
constructor with a reference to the data.
Definition at line 252 of file STK_Cell.h.
References STK::CellVe< TYPE >::down_, and STK::CellVe< TYPE >::up_.
| STK::CellVe< TYPE >::CellVe | ( | const CellVe< TYPE > & | C | ) |
Copy constructor.
Definition at line 260 of file STK_Cell.h.
References STK::CellBase< TYPE >::data_, STK::CellVe< TYPE >::down_, and STK::CellVe< TYPE >::up_.
| STK::CellVe< TYPE >::~CellVe | ( | ) | [virtual] |
| CellVe< TYPE > & STK::CellVe< TYPE >::operator= | ( | const CellVe< TYPE > & | C | ) |
Operator = : overwrite the Cell with C.
Definition at line 270 of file STK_Cell.h.
References STK::CellBase< TYPE >::data_, STK::CellVe< TYPE >::down_, and STK::CellVe< TYPE >::up_.
| CellVe< TYPE > & STK::CellVe< TYPE >::operator= | ( | TYPE const & | v | ) |
operator = : write a value on the cell.
Reimplemented from STK::CellBase< TYPE >.
Reimplemented in STK::Cell2D< TYPE >.
Definition at line 277 of file STK_Cell.h.
{ data_ = v;
return *this;
}
| CellVe< TYPE > * STK::CellVe< TYPE >::getUp | ( | ) | const |
| CellVe< TYPE > * STK::CellVe< TYPE >::getDown | ( | ) | const |
| void STK::CellVe< TYPE >::setUp | ( | CellVe< TYPE > * | pcell | ) |
| void STK::CellVe< TYPE >::setDown | ( | CellVe< TYPE > * | pcell | ) |
CellVe<TYPE>* STK::CellVe< TYPE >::up_ [protected] |
pointer on the upper cell
Definition at line 99 of file STK_Cell.h.
Referenced by STK::Cell2D< TYPE >::Cell2D(), STK::CellVe< TYPE >::CellVe(), STK::Cell2D< TYPE >::operator=(), and STK::CellVe< TYPE >::operator=().
CellVe<TYPE>* STK::CellVe< TYPE >::down_ [protected] |
pointer on the cell down
Definition at line 100 of file STK_Cell.h.
Referenced by STK::Cell2D< TYPE >::Cell2D(), STK::CellVe< TYPE >::CellVe(), STK::Cell2D< TYPE >::operator=(), and STK::CellVe< TYPE >::operator=().