Dune Core Modules (2.8.0)

Dune::VariableBlockVector< B, A >::CreateIterator Class Reference

Iterator class for sequential creation of blocks. More...

#include <dune/istl/vbvector.hh>

Public Types

using iterator_category = std::output_iterator_tag
 iterator category
 
using value_type = size_type
 value type
 
using difference_type = void
 difference type (unused) More...
 
using pointer = size_type *
 pointer type
 
using reference = SizeProxy
 reference type
 

Public Member Functions

 CreateIterator (VariableBlockVector &_v, int _i, bool _isEnd)
 constructor
 
CreateIteratoroperator++ ()
 prefix increment
 
CreateIterator operator++ (int)
 postfix increment operator
 
bool operator!= (const CreateIterator &it) const
 inequality
 
bool operator== (const CreateIterator &it) const
 equality
 
size_type index () const
 dereferencing
 
void setblocksize (size_type _k)
 set size of current block
 
size_typeoperator* ()
 Access size of current block.
 

Detailed Description

template<class B, class A = std::allocator<B>>
class Dune::VariableBlockVector< B, A >::CreateIterator

Iterator class for sequential creation of blocks.

Member Typedef Documentation

◆ difference_type

template<class B , class A = std::allocator<B>>
using Dune::VariableBlockVector< B, A >::CreateIterator::difference_type = void

difference type (unused)

This type is required by the C++ standard, but not used for output iterators.


The documentation for this class was generated from the following file:
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.111.3 (Dec 22, 23:30, 2024)