Reference documentation for deal.II version 9.0.0
Public Types | Public Member Functions | List of all members
TransposeTableIterators::Iterator< T, Constness > Class Template Reference

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

Inheritance diagram for TransposeTableIterators::Iterator< T, Constness >:
[legend]

Public Types

typedef TransposeTable< T >::size_type size_type
 
typedef std::conditional< Constness, const TransposeTable< T > *, TransposeTable< T > * >::type container_pointer_type
 
- Public Types inherited from LinearIndexIterator< Iterator< T, Constness >, Accessor< T, Constness > >
typedef std::random_access_iterator_tag iterator_category
 
typedef Accessor< T, Constness > value_type
 
typedef std::ptrdiff_t difference_type
 
typedef const value_typereference
 
typedef const value_typepointer
 
typedef value_type::size_type size_type
 

Public Member Functions

 Iterator (const Accessor< T, Constness > &accessor)
 
 Iterator (const container_pointer_type object)
 
 Iterator (const container_pointer_type object, const size_type row, const size_type column)
 
 Iterator (const Iterator< T, false > &i)
 
 Iterator (const container_pointer_type container, const std::ptrdiff_t linear_index)
 
- Public Member Functions inherited from LinearIndexIterator< Iterator< T, Constness >, Accessor< T, Constness > >
Iterator< T, Constness > & operator= (const Iterator< T, Constness > &it)
 
Iterator< T, Constness > & operator++ ()
 
Iterator< T, Constness > operator++ (int)
 
Iterator< T, Constness > & operator-- ()
 
Iterator< T, Constness > operator-- (int)
 
Iterator< T, Constness > operator+ (const difference_type n) const
 
Iterator< T, Constness > operator- (const difference_type n) const
 
difference_type operator- (const Iterator< T, Constness > &p) const
 
Iterator< T, Constness > & operator+= (const difference_type n)
 
Iterator< T, Constness > & operator-= (const difference_type n)
 
reference operator* () const
 
pointer operator-> () const
 
bool operator== (const Iterator< T, Constness > &) const
 
bool operator!= (const Iterator< T, Constness > &) const
 
bool operator<= (const Iterator< T, Constness > &) const
 
bool operator>= (const Iterator< T, Constness > &) const
 
bool operator< (const Iterator< T, Constness > &) const
 
bool operator> (const Iterator< T, Constness > &) const
 

Additional Inherited Members

- Protected Member Functions inherited from LinearIndexIterator< Iterator< T, Constness >, Accessor< T, Constness > >
 LinearIndexIterator ()=default
 
 LinearIndexIterator (const Accessor< T, Constness > accessor)
 
- Protected Attributes inherited from LinearIndexIterator< Iterator< T, Constness >, Accessor< T, Constness > >
Accessor< T, Constness > accessor
 

Detailed Description

template<typename T, bool Constness>
class TransposeTableIterators::Iterator< T, Constness >

Iterator class for TransposeTable.

Definition at line 1512 of file table.h.

Member Typedef Documentation

◆ size_type

template<typename T, bool Constness>
typedef TransposeTable<T>::size_type TransposeTableIterators::Iterator< T, Constness >::size_type

Size type used by TransposeTable.

Definition at line 1661 of file table.h.

◆ container_pointer_type

template<typename T, bool Constness>
typedef std::conditional<Constness, const TransposeTable<T>*, TransposeTable<T>*>::type TransposeTableIterators::Iterator< T, Constness >::container_pointer_type

Type of the stored pointer to the TransposeTable.

Definition at line 1667 of file table.h.

Constructor & Destructor Documentation

◆ Iterator() [1/5]

template<typename T, bool Constness>
TransposeTableIterators::Iterator< T, Constness >::Iterator ( const Accessor< T, Constness > &  accessor)

Constructor from an accessor.

◆ Iterator() [2/5]

template<typename T, bool Constness>
TransposeTableIterators::Iterator< T, Constness >::Iterator ( const container_pointer_type  object)

Constructor. Create the end iterator for a table.

◆ Iterator() [3/5]

template<typename T, bool Constness>
TransposeTableIterators::Iterator< T, Constness >::Iterator ( const container_pointer_type  object,
const size_type  row,
const size_type  column 
)

Constructor for a particular table entry.

◆ Iterator() [4/5]

template<typename T, bool Constness>
TransposeTableIterators::Iterator< T, Constness >::Iterator ( const Iterator< T, false > &  i)

Copy constructor from a non-const iterator.

◆ Iterator() [5/5]

template<typename T, bool Constness>
TransposeTableIterators::Iterator< T, Constness >::Iterator ( const container_pointer_type  container,
const std::ptrdiff_t  linear_index 
)

Constructor for an entry with a particular linear index.


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