STK++ 0.9.13
|
template class for the Vertical Cell of a Vertical List. More...
#include <STK_Cell.h>
Public Member Functions | |
CellVe (CellVe< Type > *up=0, CellVe< Type > *down=0) | |
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. | |
![]() | |
CellBase () | |
constructor with a pointer on the data. | |
CellBase (Type const &data) | |
constructor with a reference to the data. | |
CellBase (const CellBase< Type > &C) | |
Copy constructor. | |
virtual | ~CellBase () |
virtual destructor. | |
CellBase< Type > & | operator= (const CellBase< Type > &C) |
Operator = : overwrite the Cell with C. | |
CellBase< Type > & | operator= (Type const &v) |
Operator = : write a value on the cell. | |
Type const & | data () const |
Type & | data () |
void | setData (Type const &data) |
Set data. | |
Protected Attributes | |
CellVe< Type > * | up_ |
pointer on the upper cell | |
CellVe< Type > * | down_ |
pointer on the cell down | |
![]() | |
Type | data_ |
Data contained by the Cell. | |
template class for the Vertical Cell of a Vertical List.
The class CellVe is used by the class ListVe.
Definition at line 83 of file STK_Cell.h.
STK::CellVe< Type >::CellVe | ( | CellVe< Type > * | up = 0 , |
CellVe< Type > * | down = 0 |
||
) |
Default constructor.
Definition at line 234 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 241 of file STK_Cell.h.
References STK::CellVe< Type >::down_, and STK::CellVe< Type >::up_.
STK::CellVe< Type >::CellVe | ( | const CellVe< Type > & | C | ) |
|
virtual |
CellVe< Type > * STK::CellVe< Type >::getDown | ( | ) | const |
CellVe< Type > * STK::CellVe< Type >::getUp | ( | ) | const |
CellVe< Type > & STK::CellVe< Type >::operator= | ( | const CellVe< Type > & | C | ) |
CellVe< Type > & STK::CellVe< Type >::operator= | ( | Type const & | v | ) |
void STK::CellVe< Type >::setDown | ( | CellVe< Type > * | pcell | ) |
void STK::CellVe< Type >::setUp | ( | CellVe< Type > * | pcell | ) |
|
protected |
pointer on the cell down
Definition at line 89 of file STK_Cell.h.
Referenced by STK::CellVe< Type >::CellVe(), and STK::CellVe< Type >::CellVe().
|
protected |
pointer on the upper cell
Definition at line 88 of file STK_Cell.h.
Referenced by STK::CellVe< Type >::CellVe(), and STK::CellVe< Type >::CellVe().