|
STK++ 1.0
|
Templated class for the 2 Dimensional Cells. More...
#include <STK_Cell.h>

Public Member Functions | |
| Cell2D (const Cell2D< TYPE > *left=NULL, const Cell2D< TYPE > *up=NULL, const Cell2D< TYPE > *right=NULL, const Cell2D< TYPE > *down=NULL) | |
| Default constructor with a pointer on the data. | |
| Cell2D (const Cell2D< TYPE > *left, const Cell2D< TYPE > *up, const Cell2D< TYPE > *right, const Cell2D< TYPE > *down, TYPE const &data) | |
| constructor with a reference to the data. | |
| Cell2D (const Cell2D< TYPE > &C) | |
| Copy constructor. | |
| virtual | ~Cell2D () |
| virtual destructor. | |
| Cell2D< TYPE > & | operator= (const Cell2D< TYPE > &C) |
| operator = : overwrite the Cell with C. | |
| Cell2D< TYPE > & | operator= (TYPE const &v) |
| Operator = : write a value on the cell. | |
Templated class for the 2 Dimensional Cells.
The class Cell2D is not used.
Definition at line 207 of file STK_Cell.h.
| STK::Cell2D< TYPE >::Cell2D | ( | const Cell2D< TYPE > * | left = NULL, |
| const Cell2D< TYPE > * | up = NULL, |
||
| const Cell2D< TYPE > * | right = NULL, |
||
| const Cell2D< TYPE > * | down = NULL |
||
| ) |
Default constructor with a pointer on the data.
Definition at line 304 of file STK_Cell.h.
: CellBase<TYPE>()
, CellHo<TYPE>(left, right)
, CellVe<TYPE>(up, down)
{ ;}
| STK::Cell2D< TYPE >::Cell2D | ( | const Cell2D< TYPE > * | left, |
| const Cell2D< TYPE > * | up, | ||
| const Cell2D< TYPE > * | right, | ||
| const Cell2D< TYPE > * | down, | ||
| TYPE const & | data | ||
| ) |
constructor with a reference to the data.
Definition at line 315 of file STK_Cell.h.
: CellBase<TYPE>(data) , CellHo<TYPE>(left, right) , CellVe<TYPE>(up, down) { ;}
| STK::Cell2D< TYPE >::Cell2D | ( | const Cell2D< TYPE > & | C | ) |
Copy constructor.
Definition at line 327 of file STK_Cell.h.
References STK::CellBase< TYPE >::data_, STK::CellVe< TYPE >::down_, STK::CellHo< TYPE >::left_, STK::CellHo< TYPE >::right_, and STK::CellVe< TYPE >::up_.
| STK::Cell2D< TYPE >::~Cell2D | ( | ) | [virtual] |
| Cell2D< TYPE > & STK::Cell2D< TYPE >::operator= | ( | const Cell2D< TYPE > & | C | ) |
operator = : overwrite the Cell with C.
Definition at line 342 of file STK_Cell.h.
References STK::CellBase< TYPE >::data_, STK::CellVe< TYPE >::down_, STK::CellHo< TYPE >::left_, STK::CellHo< TYPE >::right_, and STK::CellVe< TYPE >::up_.
| Cell2D< TYPE > & STK::Cell2D< TYPE >::operator= | ( | TYPE const & | v | ) |
Operator = : write a value on the cell.
Reimplemented from STK::CellVe< TYPE >.
Definition at line 352 of file STK_Cell.h.
{ data_ = v;}