#include <STK_Cell.h>
Public Member Functions | |
| CellBase () | |
| CellBase (const TYPE &data) | |
| CellBase (const CellBase< TYPE > &C) | |
| virtual | ~CellBase () |
| CellBase< TYPE > & | operator= (const CellBase< TYPE > &C) |
| CellBase< TYPE > & | operator= (const TYPE &v) |
| const TYPE & | getData () const |
| TYPE & | getData () |
| void | setData (const TYPE &data) |
Protected Attributes | |
| TYPE | data_ |
| Data contained by the Cell. | |
Definition at line 98 of file STK_Cell.h.
| STK::CellBase< TYPE >::CellBase | ( | ) | [inline] |
| STK::CellBase< TYPE >::CellBase | ( | const TYPE & | data | ) | [inline] |
Ctor with a reference to the data.
Definition at line 111 of file STK_Cell.h.
00111 : data_(data) 00112 { ;} 00113
| STK::CellBase< TYPE >::CellBase | ( | const CellBase< TYPE > & | C | ) | [inline] |
| virtual STK::CellBase< TYPE >::~CellBase | ( | ) | [inline, virtual] |
| CellBase<TYPE>& STK::CellBase< TYPE >::operator= | ( | const CellBase< TYPE > & | C | ) | [inline] |
Operator = : overwrite the Cell with C.
Definition at line 126 of file STK_Cell.h.
00126 { data_ = C.data_;} 00127
| CellBase<TYPE>& STK::CellBase< TYPE >::operator= | ( | const TYPE & | v | ) | [inline] |
Operator = : write a value on the cell.
Reimplemented in STK::CellVe< TYPE >, STK::CellHo< TYPE >, STK::Cell2D< TYPE >, STK::CellVe< TYPE >, STK::CellHo< TYPE >, and STK::CellHo< IVariable * >.
Definition at line 131 of file STK_Cell.h.
00131 { data_ = v;} 00132
| const TYPE& STK::CellBase< TYPE >::getData | ( | ) | const [inline] |
give a reference to the data for const.
Definition at line 137 of file STK_Cell.h.
Referenced by STK::List1D< IVariable * >::getElt(), STK::List1D< IVariable * >::List1D(), STK::List1D< IVariable * >::operator=(), and STK::List1D< IVariable * >::swapElts().
00141 { return data_;}
| TYPE& STK::CellBase< TYPE >::getData | ( | ) | [inline] |
| void STK::CellBase< TYPE >::setData | ( | const TYPE & | data | ) | [inline] |
Set the data.
Definition at line 145 of file STK_Cell.h.
Referenced by STK::List1D< IVariable * >::operator=().
TYPE STK::CellBase< TYPE >::data_ [protected] |
Definition at line 101 of file STK_Cell.h.
Referenced by STK::CellVe< TYPE >::CellVe(), STK::CellBase< TYPE >::getData(), STK::CellVe< TYPE >::operator=(), STK::CellHo< IVariable * >::operator=(), STK::CellBase< TYPE >::operator=(), and STK::CellBase< TYPE >::setData().
1.5.8