KratosMultiphysics
KRATOS Multiphysics (Kratos) is a framework for building parallel, multi-disciplinary simulation software, aiming at modularity, extensibility, and high performance. Kratos is written in C++, and counts with an extensive Python interface.
Public Types | Public Member Functions | List of all members
Kratos::SparseGraph< TIndexType >::const_iterator_adaptor Class Reference

#include <sparse_graph.h>

Collaboration diagram for Kratos::SparseGraph< TIndexType >::const_iterator_adaptor:

Public Types

using iterator_category = std::forward_iterator_tag
 
using difference_type = std::ptrdiff_t
 
using value_type = typename GraphType::value_type
 
using pointer = typename GraphType::value_type *
 
using reference = typename GraphType::value_type &
 

Public Member Functions

 const_iterator_adaptor (const_row_iterator it)
 
 const_iterator_adaptor (const const_iterator_adaptor &it)
 
const_iterator_adaptoroperator++ ()
 
const_iterator_adaptor operator++ (int)
 
bool operator== (const const_iterator_adaptor &rhs) const
 
bool operator!= (const const_iterator_adaptor &rhs) const
 
const GraphType::mapped_type & operator* () const
 
const GraphType::mapped_type & operator-> () const
 
const_row_iteratorbase ()
 
const_row_iterator const & base () const
 
IndexType GetRowIndex () const
 

Member Typedef Documentation

◆ difference_type

template<class TIndexType = std::size_t>
using Kratos::SparseGraph< TIndexType >::const_iterator_adaptor::difference_type = std::ptrdiff_t

◆ iterator_category

template<class TIndexType = std::size_t>
using Kratos::SparseGraph< TIndexType >::const_iterator_adaptor::iterator_category = std::forward_iterator_tag

◆ pointer

template<class TIndexType = std::size_t>
using Kratos::SparseGraph< TIndexType >::const_iterator_adaptor::pointer = typename GraphType::value_type*

◆ reference

template<class TIndexType = std::size_t>
using Kratos::SparseGraph< TIndexType >::const_iterator_adaptor::reference = typename GraphType::value_type&

◆ value_type

template<class TIndexType = std::size_t>
using Kratos::SparseGraph< TIndexType >::const_iterator_adaptor::value_type = typename GraphType::value_type

Constructor & Destructor Documentation

◆ const_iterator_adaptor() [1/2]

template<class TIndexType = std::size_t>
Kratos::SparseGraph< TIndexType >::const_iterator_adaptor::const_iterator_adaptor ( const_row_iterator  it)
inline

◆ const_iterator_adaptor() [2/2]

template<class TIndexType = std::size_t>
Kratos::SparseGraph< TIndexType >::const_iterator_adaptor::const_iterator_adaptor ( const const_iterator_adaptor it)
inline

Member Function Documentation

◆ base() [1/2]

template<class TIndexType = std::size_t>
const_row_iterator& Kratos::SparseGraph< TIndexType >::const_iterator_adaptor::base ( )
inline

◆ base() [2/2]

template<class TIndexType = std::size_t>
const_row_iterator const& Kratos::SparseGraph< TIndexType >::const_iterator_adaptor::base ( ) const
inline

◆ GetRowIndex()

template<class TIndexType = std::size_t>
IndexType Kratos::SparseGraph< TIndexType >::const_iterator_adaptor::GetRowIndex ( ) const
inline

◆ operator!=()

template<class TIndexType = std::size_t>
bool Kratos::SparseGraph< TIndexType >::const_iterator_adaptor::operator!= ( const const_iterator_adaptor rhs) const
inline

◆ operator*()

template<class TIndexType = std::size_t>
const GraphType::mapped_type& Kratos::SparseGraph< TIndexType >::const_iterator_adaptor::operator* ( ) const
inline

◆ operator++() [1/2]

template<class TIndexType = std::size_t>
const_iterator_adaptor& Kratos::SparseGraph< TIndexType >::const_iterator_adaptor::operator++ ( )
inline

◆ operator++() [2/2]

template<class TIndexType = std::size_t>
const_iterator_adaptor Kratos::SparseGraph< TIndexType >::const_iterator_adaptor::operator++ ( int  )
inline

◆ operator->()

template<class TIndexType = std::size_t>
const GraphType::mapped_type& Kratos::SparseGraph< TIndexType >::const_iterator_adaptor::operator-> ( ) const
inline

◆ operator==()

template<class TIndexType = std::size_t>
bool Kratos::SparseGraph< TIndexType >::const_iterator_adaptor::operator== ( const const_iterator_adaptor rhs) const
inline

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