Correlation 4.10.0
An Analysis Tool for Liquids and for Amorphous Solids
Loading...
Searching...
No Matches
correlation::analysis::BondCutoffMatrix::RowIterator< IsConst > Class Template Reference

Random-access iterator yielding RowProxy views for each row. More...

#include <AnalysisTypes.hpp>

Inheritance diagram for correlation::analysis::BondCutoffMatrix::RowIterator< IsConst >:

Public Types

using difference_type = std::ptrdiff_t
using value_type = std::conditional_t<IsConst, ConstRowProxy, RowProxy>
using reference = value_type &
using pointer = value_type *
using iterator_category = std::random_access_iterator_tag

Public Member Functions

 RowIterator ()=default
 RowIterator (std::conditional_t< IsConst, const BondCutoffMatrix *, BondCutoffMatrix * > matrix, size_t row) noexcept
reference operator* () noexcept
const value_type & operator* () const noexcept
pointer operator-> () noexcept
const value_type * operator-> () const noexcept
RowIterator & operator++ () noexcept
RowIterator operator++ (int) noexcept
RowIterator & operator-- () noexcept
RowIterator operator-- (int) noexcept
RowIterator & operator+= (difference_type n) noexcept
RowIterator & operator-= (difference_type n) noexcept
bool operator== (const RowIterator &other) const noexcept
auto operator<=> (const RowIterator &other) const noexcept

Private Attributes

value_type proxy_ {}

Detailed Description

template<bool IsConst>
class correlation::analysis::BondCutoffMatrix::RowIterator< IsConst >

Random-access iterator yielding RowProxy views for each row.

Member Typedef Documentation

◆ difference_type

template<bool IsConst>
using correlation::analysis::BondCutoffMatrix::RowIterator< IsConst >::difference_type = std::ptrdiff_t

◆ iterator_category

template<bool IsConst>
using correlation::analysis::BondCutoffMatrix::RowIterator< IsConst >::iterator_category = std::random_access_iterator_tag

◆ pointer

template<bool IsConst>
using correlation::analysis::BondCutoffMatrix::RowIterator< IsConst >::pointer = value_type *

◆ reference

template<bool IsConst>
using correlation::analysis::BondCutoffMatrix::RowIterator< IsConst >::reference = value_type &

◆ value_type

template<bool IsConst>
using correlation::analysis::BondCutoffMatrix::RowIterator< IsConst >::value_type = std::conditional_t<IsConst, ConstRowProxy, RowProxy>

Constructor & Destructor Documentation

◆ RowIterator() [1/2]

template<bool IsConst>
correlation::analysis::BondCutoffMatrix::RowIterator< IsConst >::RowIterator ( )
default

◆ RowIterator() [2/2]

template<bool IsConst>
correlation::analysis::BondCutoffMatrix::RowIterator< IsConst >::RowIterator ( std::conditional_t< IsConst, const BondCutoffMatrix *, BondCutoffMatrix * > matrix,
size_t row )
inlinenoexcept

Member Function Documentation

◆ operator*() [1/2]

template<bool IsConst>
const value_type & correlation::analysis::BondCutoffMatrix::RowIterator< IsConst >::operator* ( ) const
inlinenoexcept

◆ operator*() [2/2]

template<bool IsConst>
reference correlation::analysis::BondCutoffMatrix::RowIterator< IsConst >::operator* ( )
inlinenoexcept

◆ operator++() [1/2]

template<bool IsConst>
RowIterator & correlation::analysis::BondCutoffMatrix::RowIterator< IsConst >::operator++ ( )
inlinenoexcept

◆ operator++() [2/2]

template<bool IsConst>
RowIterator correlation::analysis::BondCutoffMatrix::RowIterator< IsConst >::operator++ ( int )
inlinenoexcept

◆ operator+=()

template<bool IsConst>
RowIterator & correlation::analysis::BondCutoffMatrix::RowIterator< IsConst >::operator+= ( difference_type n)
inlinenoexcept

◆ operator--() [1/2]

template<bool IsConst>
RowIterator & correlation::analysis::BondCutoffMatrix::RowIterator< IsConst >::operator-- ( )
inlinenoexcept

◆ operator--() [2/2]

template<bool IsConst>
RowIterator correlation::analysis::BondCutoffMatrix::RowIterator< IsConst >::operator-- ( int )
inlinenoexcept

◆ operator-=()

template<bool IsConst>
RowIterator & correlation::analysis::BondCutoffMatrix::RowIterator< IsConst >::operator-= ( difference_type n)
inlinenoexcept

◆ operator->() [1/2]

template<bool IsConst>
const value_type * correlation::analysis::BondCutoffMatrix::RowIterator< IsConst >::operator-> ( ) const
inlinenoexcept

◆ operator->() [2/2]

template<bool IsConst>
pointer correlation::analysis::BondCutoffMatrix::RowIterator< IsConst >::operator-> ( )
inlinenoexcept

◆ operator<=>()

template<bool IsConst>
auto correlation::analysis::BondCutoffMatrix::RowIterator< IsConst >::operator<=> ( const RowIterator< IsConst > & other) const
inlinenoexcept

◆ operator==()

template<bool IsConst>
bool correlation::analysis::BondCutoffMatrix::RowIterator< IsConst >::operator== ( const RowIterator< IsConst > & other) const
inlinenoexcept

Member Data Documentation

◆ proxy_

template<bool IsConst>
value_type correlation::analysis::BondCutoffMatrix::RowIterator< IsConst >::proxy_ {}
private

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