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

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

#include <ordered_iterator.hpp>

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

Public Types

typedef std::pair< ordered_iterator< const Ct >, ordered_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

 ordered_iterator_pair ()
 Constructs an empty, uninitialized object. More...
 
 ordered_iterator_pair (const ordered_iterator< const Ct > &a, const ordered_iterator< const Ct > &b)
 Regular constructor that builds a ordered_iterator_pair out of 2 spatial::ordered_iterator. More...
 
 ordered_iterator_pair (const ordered_iterator_pair< Ct > &p)
 Convert a mutable ordered iterator pair into a const ordered iterator pair. More...
 

Detailed Description

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

This structure defines a pair of constant ordered iterator.

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

Definition at line 54 of file ordered_iterator.hpp.

Member Typedef Documentation

template<typename Ct >
typedef std::pair<ordered_iterator<const Ct>, ordered_iterator<const Ct> > spatial::ordered_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 62 of file ordered_iterator.hpp.

Constructor & Destructor Documentation

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

Constructs an empty, uninitialized object.

Definition at line 65 of file ordered_iterator.hpp.

template<typename Ct >
spatial::ordered_iterator_pair< const Ct >::ordered_iterator_pair ( const ordered_iterator< const Ct > &  a,
const ordered_iterator< const Ct > &  b 
)

Regular constructor that builds a ordered_iterator_pair out of 2 spatial::ordered_iterator.

Definition at line 69 of file ordered_iterator.hpp.

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

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

Definition at line 75 of file ordered_iterator.hpp.


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