STK++ 0.9.13
|
template Base class for the Cell in a list . More...
#include <STK_Cell.h>
Public Member Functions | |
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 | |
Type | data_ |
Data contained by the Cell. | |
template Base class for the Cell in a list .
The class Type should have surdefined the operator = if necessary.
Definition at line 47 of file STK_Cell.h.
|
inline |
constructor with a pointer on the data.
Definition at line 54 of file STK_Cell.h.
|
inline |
constructor with a reference to the data.
Definition at line 56 of file STK_Cell.h.
|
inline |
|
inlinevirtual |
|
inline |
Definition at line 72 of file STK_Cell.h.
References STK::CellBase< Type >::data_.
|
inline |
Definition at line 70 of file STK_Cell.h.
References STK::CellBase< Type >::data_.
Referenced by STK::CellBase< Type >::setData().
|
inline |
Operator = : overwrite the Cell with C.
Definition at line 64 of file STK_Cell.h.
References STK::CellBase< Type >::data_.
|
inline |
Operator = : write a value on the cell.
Definition at line 67 of file STK_Cell.h.
References STK::CellBase< Type >::data_.
|
inline |
Set data.
Definition at line 74 of file STK_Cell.h.
References STK::CellBase< Type >::data(), and STK::CellBase< Type >::data_.
|
protected |
Data contained by the Cell.
Definition at line 50 of file STK_Cell.h.
Referenced by STK::CellBase< Type >::data(), STK::CellBase< Type >::data(), STK::CellBase< Type >::operator=(), STK::CellHo< Type >::operator=(), STK::CellBase< Type >::operator=(), STK::CellHo< Type >::operator=(), and STK::CellBase< Type >::setData().