ccgsl 2.7.2
C++wrappersforGnuScientificLibrary
gsl::matrix_complex_long_double::iterator_base< container, content, reverse_t > Class Template Reference

We create a suitable class for iterator types here. More...

Inheritance diagram for gsl::matrix_complex_long_double::iterator_base< container, content, reverse_t >:
Inheritance graph
Collaboration diagram for gsl::matrix_complex_long_double::iterator_base< container, content, reverse_t >:
Collaboration graph

Public Types

typedef std::bidirectional_iterator_tag iterator_category
 An iterator must have an iterator category. More...
 
typedef vector_complex_long_double value_type
 An iterator must have a value type. More...
 
typedef vector_complex_long_double_ptr pointer
 An iterator must have a pointer typea. More...
 
typedef value_type reference
 An iterator must have a reference type. More...
 

Public Member Functions

reference operator* () const
 Dereference the pointer. More...
 
pointer operator-> () const
 Dereference the pointer. More...
 
bool operator== (iterator_base< container, content, reverse_t > const &i) const
 The == operator. More...
 
bool operator!= (iterator_base< container, content, reverse_t > const &i) const
 The != operator. More...
 

Protected Member Functions

void increment ()
 Increment the iterator. More...
 
void decrement ()
 Decrement the iterator. More...
 
 iterator_base ()
 The iterator is default constructible. More...
 
 iterator_base (container *v, size_t position)
 This constructor allows vector to create non-default iterators. More...
 

Protected Attributes

container * v
 Store a pointer to a matrix we can iterate over: 0 if no matrix. More...
 
size_t position
 Mark position of iterator within matrix. More...
 

Friends

class vector_complex_long_double
 

Detailed Description

template<typename container, typename content, bool reverse_t>
class gsl::matrix_complex_long_double::iterator_base< container, content, reverse_t >

We create a suitable class for iterator types here.

Definition at line 235 of file matrix_complex_long_double.hpp.

Member Typedef Documentation

◆ iterator_category

template<typename container , typename content , bool reverse_t>
typedef std::bidirectional_iterator_tag gsl::matrix_complex_long_double::iterator_base< container, content, reverse_t >::iterator_category

An iterator must have an iterator category.

Definition at line 241 of file matrix_complex_long_double.hpp.

◆ pointer

template<typename container , typename content , bool reverse_t>
typedef vector_complex_long_double_ptr gsl::matrix_complex_long_double::iterator_base< container, content, reverse_t >::pointer

An iterator must have a pointer typea.

Definition at line 249 of file matrix_complex_long_double.hpp.

◆ reference

template<typename container , typename content , bool reverse_t>
typedef value_type gsl::matrix_complex_long_double::iterator_base< container, content, reverse_t >::reference

An iterator must have a reference type.

Definition at line 253 of file matrix_complex_long_double.hpp.

◆ value_type

template<typename container , typename content , bool reverse_t>
typedef vector_complex_long_double gsl::matrix_complex_long_double::iterator_base< container, content, reverse_t >::value_type

An iterator must have a value type.

Definition at line 245 of file matrix_complex_long_double.hpp.

Constructor & Destructor Documentation

◆ iterator_base() [1/2]

template<typename container , typename content , bool reverse_t>
gsl::matrix_complex_long_double::iterator_base< container, content, reverse_t >::iterator_base ( )
inlineprotected

The iterator is default constructible.

Definition at line 363 of file matrix_complex_long_double.hpp.

References gsl::matrix_complex_long_double::iterator_base< container, content, reverse_t >::v.

◆ iterator_base() [2/2]

template<typename container , typename content , bool reverse_t>
gsl::matrix_complex_long_double::iterator_base< container, content, reverse_t >::iterator_base ( container *  v,
size_t  position 
)
inlineprotected

This constructor allows vector to create non-default iterators.

Parameters
vThe matrix that creates this
positionThe initial postion of the iterator

Definition at line 369 of file matrix_complex_long_double.hpp.

Member Function Documentation

◆ decrement()

◆ increment()

◆ operator!=()

template<typename container , typename content , bool reverse_t>
bool gsl::matrix_complex_long_double::iterator_base< container, content, reverse_t >::operator!= ( iterator_base< container, content, reverse_t > const &  i) const
inline

The != operator.

Parameters
iThe iterator being compared
Returns
true or false according as i != *this

Definition at line 322 of file matrix_complex_long_double.hpp.

References gsl::matrix_complex_long_double::iterator_base< container, content, reverse_t >::operator==().

◆ operator*()

template<typename container , typename content , bool reverse_t>
reference gsl::matrix_complex_long_double::iterator_base< container, content, reverse_t >::operator* ( ) const
inline

◆ operator->()

template<typename container , typename content , bool reverse_t>
pointer gsl::matrix_complex_long_double::iterator_base< container, content, reverse_t >::operator-> ( ) const
inline

◆ operator==()

template<typename container , typename content , bool reverse_t>
bool gsl::matrix_complex_long_double::iterator_base< container, content, reverse_t >::operator== ( iterator_base< container, content, reverse_t > const &  i) const
inline

Friends And Related Function Documentation

◆ vector_complex_long_double

template<typename container , typename content , bool reverse_t>
friend class vector_complex_long_double
friend

Definition at line 236 of file matrix_complex_long_double.hpp.

Member Data Documentation

◆ position

◆ v


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