Reference documentation for deal.II version 9.0.0
|
#include <deal.II/base/table.h>
Public Types | |
typedef std::conditional< Constness, const TransposeTable< T > *, TransposeTable< T > * >::type | container_pointer_type |
typedef TransposeTable< T >::size_type | size_type |
Public Member Functions | |
AccessorBase () | |
AccessorBase (const container_pointer_type table) | |
AccessorBase (const AccessorBase< T, false > &) | |
AccessorBase (const container_pointer_type table, const std::ptrdiff_t linear_index) | |
const T & | value () const |
size_type | row () const |
size_type | column () const |
Protected Attributes | |
container_pointer_type | container |
std::ptrdiff_t | linear_index |
Friends | |
class | AccessorBase< T, true > |
class | LinearIndexIterator< Iterator< T, Constness >, Accessor< T, Constness > > |
Accessor base class. Stores a const pointer when Constness == true
and a non-const pointer when Constness == false
.
typedef std::conditional<Constness, const TransposeTable<T>*, TransposeTable<T>*>::type TransposeTableIterators::AccessorBase< T, Constness >::container_pointer_type |
Type of the stored pointer to the TransposeTable.
typedef TransposeTable<T>::size_type TransposeTableIterators::AccessorBase< T, Constness >::size_type |
Numerical type of the row and column indices of the TransposeTable.
TransposeTableIterators::AccessorBase< T, Constness >::AccessorBase | ( | ) |
Default constructor.
TransposeTableIterators::AccessorBase< T, Constness >::AccessorBase | ( | const container_pointer_type | table | ) |
Constructor setting up the end iterator.
TransposeTableIterators::AccessorBase< T, Constness >::AccessorBase | ( | const AccessorBase< T, false > & | ) |
Copy constructor from a non-const Accessor.
TransposeTableIterators::AccessorBase< T, Constness >::AccessorBase | ( | const container_pointer_type | table, |
const std::ptrdiff_t | linear_index | ||
) |
Constructor taking an array index. Note that TransposeTable stores data in column-major order.
const T& TransposeTableIterators::AccessorBase< T, Constness >::value | ( | ) | const |
Get a constant reference to the value of the element represented by this object.
size_type TransposeTableIterators::AccessorBase< T, Constness >::row | ( | ) | const |
Access the row of the current entry.
size_type TransposeTableIterators::AccessorBase< T, Constness >::column | ( | ) | const |
Access the column of the current entry.
|
friend |
|
friend |
|
protected |
Pointer to the TransposeTable.
|
protected |