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

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

#include <spatial_region.hpp>

Inherits pair< region_iterator< const Ct, Predicate >, region_iterator< const Ct, Predicate > >.

Public Types

typedef std::pair< region_iterator< const Ct, Predicate >, region_iterator< const Ct, Predicate > > 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

 region_iterator_pair ()
 Empty constructor. More...
 
 region_iterator_pair (const region_iterator< const Ct, Predicate > &a, const region_iterator< const Ct, Predicate > &b)
 Regular constructor that builds a region_iterator_pair out of 2 region_iterators. More...
 
 region_iterator_pair (const region_iterator_pair< Ct, Predicate > &p)
 Convert a mutable region iterator pair into a const region iterator pair. More...
 

Detailed Description

template<typename Ct, typename Predicate>
struct spatial::region_iterator_pair< const Ct, Predicate >

This structure defines a pair of constant region iterator.

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

Definition at line 530 of file spatial_region.hpp.

Member Typedef Documentation

template<typename Ct , typename Predicate >
typedef std::pair<region_iterator<const Ct, Predicate>, region_iterator<const Ct, Predicate> > spatial::region_iterator_pair< const Ct, Predicate >::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 539 of file spatial_region.hpp.

Constructor & Destructor Documentation

template<typename Ct , typename Predicate >
spatial::region_iterator_pair< const Ct, Predicate >::region_iterator_pair ( )

Empty constructor.

Definition at line 542 of file spatial_region.hpp.

template<typename Ct , typename Predicate >
spatial::region_iterator_pair< const Ct, Predicate >::region_iterator_pair ( const region_iterator< const Ct, Predicate > &  a,
const region_iterator< const Ct, Predicate > &  b 
)

Regular constructor that builds a region_iterator_pair out of 2 region_iterators.

Definition at line 546 of file spatial_region.hpp.

template<typename Ct , typename Predicate >
spatial::region_iterator_pair< const Ct, Predicate >::region_iterator_pair ( const region_iterator_pair< Ct, Predicate > &  p)

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

Definition at line 552 of file spatial_region.hpp.


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