Spatial C++ Library
Generic Multi-Dimensional Containers and Spatial Operations
spatial::mapping_iterator_pair< const Ct > Struct Template Reference

This structure defines a pair of constant mapping iterator. More...

#include <mapping_iterator.hpp>

Inherits pair< mapping_iterator< const Ct >, mapping_iterator< const Ct > >.

Public Types

typedef std::pair< mapping_iterator< const Ct >, mapping_iterator< const Ct > > Base
 A pair of iterators that represents a range (that is: a range of elements to iterate, and not an orthogonal range). More...
 

Public Member Functions

 mapping_iterator_pair ()
 Empty constructor. More...
 
 mapping_iterator_pair (const mapping_iterator< const Ct > &a, const mapping_iterator< const Ct > &b)
 Regular constructor that builds a mapping_iterator_pair out of 2 mapping_iterators. More...
 
 mapping_iterator_pair (const mapping_iterator_pair< Ct > &p)
 Convert a mutable mapping iterator pair into a const mapping iterator pair. More...
 

Detailed Description

template<typename Ct>
struct spatial::mapping_iterator_pair< const Ct >

This structure defines a pair of constant mapping iterator.

Template Parameters
CtThe container to which these iterator relate to.
See also
mapping_iterator

Definition at line 533 of file mapping_iterator.hpp.

Member Typedef Documentation

template<typename Ct >
typedef std::pair<mapping_iterator<const Ct>, mapping_iterator<const Ct> > spatial::mapping_iterator_pair< const Ct >::Base

A pair of iterators that represents a range (that is: a range of elements to iterate, and not an orthogonal range).

Definition at line 541 of file mapping_iterator.hpp.

Constructor & Destructor Documentation

template<typename Ct >
spatial::mapping_iterator_pair< const Ct >::mapping_iterator_pair ( )

Empty constructor.

Definition at line 544 of file mapping_iterator.hpp.

template<typename Ct >
spatial::mapping_iterator_pair< const Ct >::mapping_iterator_pair ( const mapping_iterator< const Ct > &  a,
const mapping_iterator< const Ct > &  b 
)

Regular constructor that builds a mapping_iterator_pair out of 2 mapping_iterators.

Definition at line 548 of file mapping_iterator.hpp.

template<typename Ct >
spatial::mapping_iterator_pair< const Ct >::mapping_iterator_pair ( const mapping_iterator_pair< Ct > &  p)

Convert a mutable mapping iterator pair into a const mapping iterator pair.

Definition at line 554 of file mapping_iterator.hpp.


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