Reference documentation for deal.II version Git d902c8c1aa 2019-12-15 00:36:45 -0500
\(\newcommand{\dealcoloneq}{\mathrel{\vcenter{:}}=}\)
Public Types | Public Member Functions | List of all members
MatrixTableIterators::Accessor< TableType, false, storage_order > Class Template Reference

Accessor class offering read and write access to the elements of a table. More...

#include <deal.II/base/table.h>

Inheritance diagram for MatrixTableIterators::Accessor< TableType, false, storage_order >:
[legend]

Public Types

using value_type = typename AccessorBase< TableType, true, storage_order >::value_type
 
using size_type = typename AccessorBase< TableType, true, storage_order >::size_type
 
- Public Types inherited from MatrixTableIterators::AccessorBase< TableType, false, storage_order >
using container_pointer_type = typename std::conditional< Constness, const TableType *, TableType *>::type
 
using value_type = typename TableType::value_type
 
using size_type = typename TableType::size_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_typevalue () const
 
 operator value_type & ()
 
- Public Member Functions inherited from MatrixTableIterators::AccessorBase< TableType, false, storage_order >
 AccessorBase ()
 
 AccessorBase (const container_pointer_type table)
 
 AccessorBase (const AccessorBase< TableType, false, storage_order > &)
 
 AccessorBase (const container_pointer_type table, const std::ptrdiff_t linear_index)
 
const value_typevalue () const
 
 operator const value_type & () const
 
size_type row () const
 
size_type column () const
 

Additional Inherited Members

- Protected Member Functions inherited from MatrixTableIterators::AccessorBase< TableType, false, storage_order >
void assert_valid_linear_index () const
 
- Protected Attributes inherited from MatrixTableIterators::AccessorBase< TableType, false, storage_order >
container_pointer_type container
 
std::ptrdiff_t linear_index
 

Detailed Description

template<typename TableType, Storage storage_order>
class MatrixTableIterators::Accessor< TableType, false, storage_order >

Accessor class offering read and write access to the elements of a table.

Definition at line 999 of file table.h.

Member Typedef Documentation

◆ value_type

template<typename TableType , Storage storage_order>
using MatrixTableIterators::Accessor< TableType, false, storage_order >::value_type = typename AccessorBase<TableType, true, storage_order>::value_type

Use the base class value type.

Definition at line 1007 of file table.h.

◆ size_type

template<typename TableType , Storage storage_order>
using MatrixTableIterators::Accessor< TableType, false, storage_order >::size_type = typename AccessorBase<TableType, true, storage_order>::size_type

Use the base class size type.

Definition at line 1013 of file table.h.

Member Function Documentation

◆ operator=() [1/2]

template<typename TableType , Storage storage_order>
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.

◆ operator=() [2/2]

template<typename TableType , Storage storage_order>
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()

template<typename TableType , Storage storage_order>
value_type& MatrixTableIterators::Accessor< TableType, false, storage_order >::value ( ) const

Get a reference to the value of the element represented by this accessor.

◆ operator value_type &()

template<typename TableType , Storage storage_order>
MatrixTableIterators::Accessor< TableType, false, storage_order >::operator value_type & ( )

Conversion operator that returns a reference to the element.


The documentation for this class was generated from the following file: