![]() |
Reference documentation for deal.II version 9.1.1
|
Iterator class for both matrix-like tables, i.e., Table<2, T> and TransposeTable. More...
#include <deal.II/base/table.h>
Public Types | |
| using | size_type = typename TableType::size_type |
| using | container_pointer_type = typename std::conditional< Constness, const TableType *, TableType * >::type |
Public Types inherited from LinearIndexIterator< Iterator< TableType, Constness, storage_order >, Accessor< TableType, Constness, storage_order > > | |
| using | iterator_category = std::random_access_iterator_tag |
| using | value_type = Accessor< TableType, Constness, storage_order > |
| using | difference_type = std::ptrdiff_t |
| using | reference = const value_type & |
| using | pointer = const value_type * |
| using | size_type = typename value_type::size_type |
Public Member Functions | |
| Iterator (const Accessor< TableType, Constness, storage_order > &accessor) | |
| Iterator (const container_pointer_type object) | |
| Iterator (const container_pointer_type object, const size_type row, const size_type column) | |
| Iterator (const Iterator< TableType, false, storage_order > &i) | |
| Iterator (const container_pointer_type container, const std::ptrdiff_t linear_index) | |
Public Member Functions inherited from LinearIndexIterator< Iterator< TableType, Constness, storage_order >, Accessor< TableType, Constness, storage_order > > | |
| Iterator< TableType, Constness, storage_order > & | operator= (const Iterator< TableType, Constness, storage_order > &it) |
| Iterator< TableType, Constness, storage_order > & | operator++ () |
| Iterator< TableType, Constness, storage_order > | operator++ (int) |
| Iterator< TableType, Constness, storage_order > & | operator-- () |
| Iterator< TableType, Constness, storage_order > | operator-- (int) |
| Iterator< TableType, Constness, storage_order > | operator+ (const difference_type n) const |
| Iterator< TableType, Constness, storage_order > | operator- (const difference_type n) const |
| difference_type | operator- (const Iterator< TableType, Constness, storage_order > &p) const |
| Iterator< TableType, Constness, storage_order > & | operator+= (const difference_type n) |
| Iterator< TableType, Constness, storage_order > & | operator-= (const difference_type n) |
| reference | operator* () const |
| pointer | operator-> () const |
| bool | operator== (const Iterator< TableType, Constness, storage_order > &) const |
| bool | operator!= (const Iterator< TableType, Constness, storage_order > &) const |
| bool | operator<= (const Iterator< TableType, Constness, storage_order > &) const |
| bool | operator>= (const Iterator< TableType, Constness, storage_order > &) const |
| bool | operator< (const Iterator< TableType, Constness, storage_order > &) const |
| bool | operator> (const Iterator< TableType, Constness, storage_order > &) const |
Additional Inherited Members | |
Protected Member Functions inherited from LinearIndexIterator< Iterator< TableType, Constness, storage_order >, Accessor< TableType, Constness, storage_order > > | |
| LinearIndexIterator (const Accessor< TableType, Constness, storage_order > accessor) | |
Protected Attributes inherited from LinearIndexIterator< Iterator< TableType, Constness, storage_order >, Accessor< TableType, Constness, storage_order > > | |
| Accessor< TableType, Constness, storage_order > | accessor |
Iterator class for both matrix-like tables, i.e., Table<2, T> and TransposeTable.
| TableType | the type of the Table, e.g., Table<2, T> or TransposeTable. |
| Constness | whether or not this is a constant iterator. |
| storage_order | The storage scheme of the underlying table, e.g., Storage::row_major for Table<2, T>. |
| using MatrixTableIterators::Iterator< TableType, Constness, storage_order >::size_type = typename TableType::size_type |
| using MatrixTableIterators::Iterator< TableType, Constness, storage_order >::container_pointer_type = typename std:: conditional<Constness, const TableType *, TableType *>::type |
| MatrixTableIterators::Iterator< TableType, Constness, storage_order >::Iterator | ( | const Accessor< TableType, Constness, storage_order > & | accessor | ) |
Constructor from an accessor.
| MatrixTableIterators::Iterator< TableType, Constness, storage_order >::Iterator | ( | const container_pointer_type | object | ) |
Constructor. Create the end iterator for a table.
| MatrixTableIterators::Iterator< TableType, Constness, storage_order >::Iterator | ( | const container_pointer_type | object, |
| const size_type | row, | ||
| const size_type | column | ||
| ) |
Constructor for a particular table entry.
| MatrixTableIterators::Iterator< TableType, Constness, storage_order >::Iterator | ( | const Iterator< TableType, false, storage_order > & | i | ) |
Copy constructor from a non-const iterator.
| MatrixTableIterators::Iterator< TableType, Constness, storage_order >::Iterator | ( | const container_pointer_type | container, |
| const std::ptrdiff_t | linear_index | ||
| ) |
Constructor for an entry with a particular linear index.
1.8.16