concepts::Set< IndexRange >::index_iterator Class Reference

#include <spaceSet.hh>

Inheritance diagram for concepts::Set< IndexRange >::index_iterator:
concepts::OutputOperator

Public Member Functions

 index_iterator (const index_iterator &i)
 Copy constructor. More...
 
 index_iterator (const_iterator first, const_iterator last)
 Constructor. More...
 
 operator const uint * () const
 Index. More...
 
bool operator!= (const index_iterator i)
 
index_iteratoroperator++ ()
 Pre fix ++-operator. More...
 
index_iterator operator++ (int)
 Post fix ++-operator. More...
 
bool operator== (const index_iterator i)
 Comparison operator. More...
 

Protected Member Functions

virtual std::ostream & info (std::ostream &os) const
 Returns information in an output stream. More...
 

Private Attributes

Set< IndexRange >::const_iterator i_
 
uint j_
 Current index. More...
 
Set< IndexRange >::const_iterator last_
 

Detailed Description

Definition at line 47 of file spaceSet.hh.

Constructor & Destructor Documentation

◆ index_iterator() [1/2]

concepts::Set< IndexRange >::index_iterator::index_iterator ( const_iterator  first,
const_iterator  last 
)

Constructor.

Parameters
firstcurrent iterator in set of index ranges
lastcurrent iterator in set of index ranges

◆ index_iterator() [2/2]

concepts::Set< IndexRange >::index_iterator::index_iterator ( const index_iterator &  i)

Copy constructor.

Member Function Documentation

◆ info()

virtual std::ostream& concepts::Set< IndexRange >::index_iterator::info ( std::ostream &  os) const
protectedvirtual

Returns information in an output stream.

Reimplemented from concepts::OutputOperator.

◆ operator const uint *()

concepts::Set< IndexRange >::index_iterator::operator const uint * ( ) const

◆ operator!=()

bool concepts::Set< IndexRange >::index_iterator::operator!= ( const index_iterator  i)
inline

Definition at line 63 of file spaceSet.hh.

◆ operator++() [1/2]

index_iterator& concepts::Set< IndexRange >::index_iterator::operator++ ( )

Pre fix ++-operator.

◆ operator++() [2/2]

index_iterator concepts::Set< IndexRange >::index_iterator::operator++ ( int  )

Post fix ++-operator.

◆ operator==()

bool concepts::Set< IndexRange >::index_iterator::operator== ( const index_iterator  i)

Comparison operator.

Member Data Documentation

◆ i_

Set<IndexRange>::const_iterator concepts::Set< IndexRange >::index_iterator::i_
private

Definition at line 69 of file spaceSet.hh.

◆ j_

uint concepts::Set< IndexRange >::index_iterator::j_
private

Current index.

Definition at line 71 of file spaceSet.hh.

◆ last_

Set<IndexRange>::const_iterator concepts::Set< IndexRange >::index_iterator::last_
private

Definition at line 69 of file spaceSet.hh.


The documentation for this class was generated from the following file:
Page URL: http://wiki.math.ethz.ch/bin/view/Concepts/WebHome
21 August 2020
© 2020 Eidgenössische Technische Hochschule Zürich