![]() |
Reference documentation for deal.II version 9.6.0
|
Accessor class offering read and write access to the elements of a table. More...
#include <deal.II/base/table.h>
Public Types | |
using | value_type |
using | size_type |
using | container_pointer_type |
Public Member Functions | |
const Accessor< TableType, false, storage_order > & | operator= (const value_type &) const |
const Accessor< TableType, false, storage_order > & | operator= (value_type &&) const |
value_type & | value () const |
operator value_type & () | |
operator const value_type & () const | |
size_type | row () const |
size_type | column () const |
Protected Member Functions | |
void | assert_valid_linear_index () const |
Protected Attributes | |
container_pointer_type | container |
std::ptrdiff_t | linear_index |
Accessor class offering read and write access to the elements of a table.
using MatrixTableIterators::Accessor< TableType, false, storage_order >::value_type |
Use the base class value type.
using MatrixTableIterators::Accessor< TableType, false, storage_order >::size_type |
Use the base class size type.
|
inherited |
const Accessor< TableType, false, storage_order > & MatrixTableIterators::Accessor< TableType, false, storage_order >::operator= | ( | const value_type & | ) | const |
Assignment operator. This assigns a new value to the table entry at the current row and column coordinates.
const Accessor< TableType, false, storage_order > & MatrixTableIterators::Accessor< TableType, false, storage_order >::operator= | ( | value_type && | ) | const |
Move assignment operator. This assigns a new value to the table entry at the current row and column coordinates.
value_type & MatrixTableIterators::Accessor< TableType, false, storage_order >::value | ( | ) | const |
Get a reference to the value of the element represented by this accessor.
MatrixTableIterators::Accessor< TableType, false, storage_order >::operator value_type & | ( | ) |
Conversion operator that returns a reference to the element.
|
inherited |
Conversion operator that returns a constant reference to the element.
|
inherited |
Return the row of the current entry.
|
inherited |
Return the column of the current entry.
|
protectedinherited |
Check that linear_index
corresponds to an entry that is actually stored by the table (i.e., assert that linear_index
is nonnegative and less than container->size()
).
|
protectedinherited |
|
protectedinherited |