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

This structure defines a pair of neighbor iterator. More...

#include <spatial_neighbor.hpp>

Inherits pair< neighbor_iterator< Ct, Metric >, neighbor_iterator< Ct, Metric > >.

Public Types

typedef std::pair< neighbor_iterator< Ct, Metric >, neighbor_iterator< Ct, Metric > > 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

 neighbor_iterator_pair ()
 Empty constructor. More...
 
 neighbor_iterator_pair (const neighbor_iterator< Ct, Metric > &a, const neighbor_iterator< Ct, Metric > &b)
 Regular constructor that builds a neighbor_iterator_pair out of 2 neighbor_iterators. More...
 

Detailed Description

template<typename Ct, typename Metric = euclidian<typename details::mutate<Ct>::type, double, typename details::with_builtin_difference<Ct> ::type>>
struct spatial::neighbor_iterator_pair< Ct, Metric >

This structure defines a pair of neighbor iterator.

Template Parameters
CtThe container to which these iterator relate to.
MetricThe metric used by the iterator.
See also
neighbor_iterator

Definition at line 569 of file spatial_neighbor.hpp.

Member Typedef Documentation

template<typename Ct, typename Metric = euclidian<typename details::mutate<Ct>::type, double, typename details::with_builtin_difference<Ct> ::type>>
typedef std::pair<neighbor_iterator<Ct, Metric>, neighbor_iterator<Ct, Metric> > spatial::neighbor_iterator_pair< Ct, Metric >::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 578 of file spatial_neighbor.hpp.

Constructor & Destructor Documentation

template<typename Ct, typename Metric = euclidian<typename details::mutate<Ct>::type, double, typename details::with_builtin_difference<Ct> ::type>>
spatial::neighbor_iterator_pair< Ct, Metric >::neighbor_iterator_pair ( )

Empty constructor.

Definition at line 581 of file spatial_neighbor.hpp.

template<typename Ct, typename Metric = euclidian<typename details::mutate<Ct>::type, double, typename details::with_builtin_difference<Ct> ::type>>
spatial::neighbor_iterator_pair< Ct, Metric >::neighbor_iterator_pair ( const neighbor_iterator< Ct, Metric > &  a,
const neighbor_iterator< Ct, Metric > &  b 
)

Regular constructor that builds a neighbor_iterator_pair out of 2 neighbor_iterators.

Definition at line 585 of file spatial_neighbor.hpp.


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