Stride Reference Manual  - generated for commit 9643b11
geopop::Collector< InsertIter, T > Class Template Reference

Aggregates into a vector that must should remain alive for the usage duration of the Collector. More...

#include <GeoAggregator.h>

Collaboration diagram for geopop::Collector< InsertIter, T >:
Collaboration graph

Public Member Functions

 Collector (const InsertIter &ins)
 
void operator() (T elem)
 Collect a new element. More...
 

Private Attributes

InsertIter m_ins
 The (back_)insert_iterator that receives new elements. More...
 

Detailed Description

template<typename InsertIter, typename T>
class geopop::Collector< InsertIter, T >

Aggregates into a vector that must should remain alive for the usage duration of the Collector.

Definition at line 45 of file GeoAggregator.h.

Constructor & Destructor Documentation

template<typename InsertIter, typename T>
geopop::Collector< InsertIter, T >::Collector ( const InsertIter &  ins)
inlineexplicit

Definition at line 48 of file GeoAggregator.h.

Member Function Documentation

template<typename InsertIter, typename T>
void geopop::Collector< InsertIter, T >::operator() ( elem)
inline

Collect a new element.

Definition at line 51 of file GeoAggregator.h.

References geopop::Collector< InsertIter, T >::m_ins.

Member Data Documentation

template<typename InsertIter, typename T>
InsertIter geopop::Collector< InsertIter, T >::m_ins
private

The (back_)insert_iterator that receives new elements.

Definition at line 54 of file GeoAggregator.h.

Referenced by geopop::Collector< InsertIter, T >::operator()().


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