Class managing the value access of a cell. More...
Public Member Functions | |
Cell_field_element () | |
Default constructor. Sets to the element to 0. | |
Cell_field_element (Field_element_type element) | |
Stores the given element. More... | |
Cell_field_element (const Cell_field_element &cell) | |
Copy constructor. More... | |
Cell_field_element (Cell_field_element &&cell) noexcept | |
Move constructor. More... | |
Field_element_type & | get_element () |
Returns the value stored in the cell. More... | |
const Field_element_type & | get_element () const |
Returns the value stored in the cell. More... | |
void | set_element (const Field_element_type &element) |
Sets the value. More... | |
Cell_field_element & | operator= (Cell_field_element other) |
Assign operator. | |
Class managing the value access of a cell.
Field_element_type | Type of a cell value. |
|
inline |
Stores the given element.
columnIndex | Value to store. |
|
inline |
Copy constructor.
cell | Cell to copy. |
|
inlinenoexcept |
Move constructor.
cell | Cell to move. |
|
inline |
Returns the value stored in the cell.
|
inline |
Returns the value stored in the cell.
|
inline |
Sets the value.
element | Value to store. |