Om
Public Member Functions | Private Attributes | List of all members
Om::Sink::IteratorSink< ThisItem, ThisIterator > Class Template Reference

A Sink adapter for an output iterator. More...

#include "iterator_sink.hpp"

+ Inheritance diagram for Om::Sink::IteratorSink< ThisItem, ThisIterator >:
+ Collaboration diagram for Om::Sink::IteratorSink< ThisItem, ThisIterator >:

Public Member Functions

 IteratorSink (ThisIterator)
 
IteratorSinkoperator= (IteratorSink)
 
virtual void Push (ThisItem &)
 Pushes an item. More...
 
void Swap (IteratorSink &)
 
- Public Member Functions inherited from Om::Sink::DefaultSink< ThisItem, IteratorSink< ThisItem, ThisIterator > >
virtual ~DefaultSink ()=0
 
IteratorSink< ThisItem, ThisIterator > & operator++ ()
 
IteratorSink< ThisItem, ThisIterator > operator++ (int)
 
- Public Member Functions inherited from Om::Sink::Sink< ThisItem >
virtual ~Sink ()=0
 
Sinkoperator= (ThisItem &)
 Pushes to the Sink. More...
 
Sinkoperator* ()
 
Sinkoperator-> ()
 

Private Attributes

ThisIterator thisIterator
 The output iterator. More...
 

Detailed Description

template<typename ThisItem, typename ThisIterator>
class Om::Sink::IteratorSink< ThisItem, ThisIterator >

Definition at line 36 of file iterator_sink.hpp.

Constructor & Destructor Documentation

◆ IteratorSink()

template<typename ThisItem , typename ThisIterator >
Om::Sink::IteratorSink< ThisItem, ThisIterator >::IteratorSink ( ThisIterator  )
explicit

Member Function Documentation

◆ operator=()

template<typename ThisItem , typename ThisIterator >
IteratorSink& Om::Sink::IteratorSink< ThisItem, ThisIterator >::operator= ( IteratorSink< ThisItem, ThisIterator >  )

◆ Push()

template<typename ThisItem , typename ThisIterator >
virtual void Om::Sink::IteratorSink< ThisItem, ThisIterator >::Push ( ThisItem &  )
virtual

◆ Swap()

template<typename ThisItem , typename ThisIterator >
void Om::Sink::IteratorSink< ThisItem, ThisIterator >::Swap ( IteratorSink< ThisItem, ThisIterator > &  )

Member Data Documentation

◆ thisIterator

template<typename ThisItem , typename ThisIterator >
ThisIterator Om::Sink::IteratorSink< ThisItem, ThisIterator >::thisIterator
private

Definition at line 61 of file iterator_sink.hpp.


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