So-Bogus
A c++ sparse block matrix library aimed at Second Order cone problems
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Pages
bogus::SparseBlockIndexTraits< SparseBlockIndex< Compressed, Index_, BlockPtr_, ArrayType > >::InnerIterator Struct Reference

Forward iterator. More...

#include <SparseBlockIndex.hpp>

Public Types

typedef
std::random_access_iterator_tag 
iterator_category
 
typedef Index value_type
 
typedef std::ptrdiff_t difference_type
 
typedef const Index * pointer
 
typedef const Index & reference
 

Public Member Functions

 InnerIterator (const SparseBlockIndexType &index, Index outer)
 
 operator bool () const
 
InnerIterator & operator++ ()
 
InnerIterator & operator-- ()
 
InnerIterator & operator+= (const std::size_t n)
 
difference_type operator- (const InnerIterator &other) const
 
Index operator* () const
 
InnerIterator end () const
 
InnerIterator & toEnd ()
 
bool after (Index outer) const
 
Index inner () const
 
BlockPtr ptr () const
 
SparseBlockIndexType::Inner::const_iterator asStdIterator () const
 

Detailed Description

template<bool Compressed, typename Index_, typename BlockPtr_, template< typename > class ArrayType>
struct bogus::SparseBlockIndexTraits< SparseBlockIndex< Compressed, Index_, BlockPtr_, ArrayType > >::InnerIterator

Forward iterator.


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