Nektar++
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Private Attributes | List of all members
Nektar::NekMatrix< NekMatrix< DataType, InnerMatrixType >, ScaledMatrixTag >::const_iterator Class Reference

#include <ScaledMatrix.hpp>

Public Member Functions

 const_iterator (typename InnerType::const_iterator iter, const NumberType &scale)
 
const_iterator operator++ (int)
 
const_iteratoroperator++ ()
 
NumberType operator* ()
 
bool operator== (const const_iterator &rhs)
 
bool operator!= (const const_iterator &rhs)
 

Private Attributes

InnerType::const_iterator m_iter
 
NumberType m_scale
 

Detailed Description

template<typename DataType, typename InnerMatrixType>
class Nektar::NekMatrix< NekMatrix< DataType, InnerMatrixType >, ScaledMatrixTag >::const_iterator

Definition at line 64 of file ScaledMatrix.hpp.

Constructor & Destructor Documentation

template<typename DataType , typename InnerMatrixType >
Nektar::NekMatrix< NekMatrix< DataType, InnerMatrixType >, ScaledMatrixTag >::const_iterator::const_iterator ( typename InnerType::const_iterator  iter,
const NumberType scale 
)
inline

Member Function Documentation

template<typename DataType , typename InnerMatrixType >
bool Nektar::NekMatrix< NekMatrix< DataType, InnerMatrixType >, ScaledMatrixTag >::const_iterator::operator!= ( const const_iterator rhs)
inline

Definition at line 97 of file ScaledMatrix.hpp.

98  {
99  return !(*this == rhs);
100  }
template<typename DataType , typename InnerMatrixType >
NumberType Nektar::NekMatrix< NekMatrix< DataType, InnerMatrixType >, ScaledMatrixTag >::const_iterator::operator* ( )
inline

Definition at line 87 of file ScaledMatrix.hpp.

template<typename DataType , typename InnerMatrixType >
const_iterator Nektar::NekMatrix< NekMatrix< DataType, InnerMatrixType >, ScaledMatrixTag >::const_iterator::operator++ ( int  )
inline

Definition at line 74 of file ScaledMatrix.hpp.

75  {
76  const_iterator out = *this;
77  ++m_iter;
78  return out;
79  }
const_iterator(typename InnerType::const_iterator iter, const NumberType &scale)
template<typename DataType , typename InnerMatrixType >
const_iterator& Nektar::NekMatrix< NekMatrix< DataType, InnerMatrixType >, ScaledMatrixTag >::const_iterator::operator++ ( )
inline

Definition at line 81 of file ScaledMatrix.hpp.

82  {
83  ++m_iter;
84  return *this;
85  }
template<typename DataType , typename InnerMatrixType >
bool Nektar::NekMatrix< NekMatrix< DataType, InnerMatrixType >, ScaledMatrixTag >::const_iterator::operator== ( const const_iterator rhs)
inline

Definition at line 92 of file ScaledMatrix.hpp.

93  {
94  return m_iter == rhs.m_iter;
95  }

Member Data Documentation

template<typename DataType , typename InnerMatrixType >
InnerType::const_iterator Nektar::NekMatrix< NekMatrix< DataType, InnerMatrixType >, ScaledMatrixTag >::const_iterator::m_iter
private

Definition at line 103 of file ScaledMatrix.hpp.

template<typename DataType , typename InnerMatrixType >
NumberType Nektar::NekMatrix< NekMatrix< DataType, InnerMatrixType >, ScaledMatrixTag >::const_iterator::m_scale
private

Definition at line 104 of file ScaledMatrix.hpp.