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

A Sink adapter for a container; pushes items into the back. More...

#include "container_back_sink.hpp"

+ Inheritance diagram for Om::Sink::ContainerBackSink< ThisItem, ThisContainer >:
+ Collaboration diagram for Om::Sink::ContainerBackSink< ThisItem, ThisContainer >:

Public Member Functions

 ContainerBackSink (ThisContainer &)
 
ContainerBackSinkoperator= (ContainerBackSink)
 
virtual void Push (ThisItem &)
 Pushes an item. More...
 
void Swap (ContainerBackSink &)
 
- Public Member Functions inherited from Om::Sink::DefaultSink< ThisItem, ContainerBackSink< ThisItem, ThisContainer > >
virtual ~DefaultSink ()=0
 
ContainerBackSink< ThisItem, ThisContainer > & operator++ ()
 
ContainerBackSink< ThisItem, ThisContainer > 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

ThisContainer & thisContainer
 The container to push into. More...
 

Detailed Description

template<typename ThisItem, typename ThisContainer>
class Om::Sink::ContainerBackSink< ThisItem, ThisContainer >

Definition at line 36 of file container_back_sink.hpp.

Constructor & Destructor Documentation

◆ ContainerBackSink()

template<typename ThisItem , typename ThisContainer >
Om::Sink::ContainerBackSink< ThisItem, ThisContainer >::ContainerBackSink ( ThisContainer &  )
explicit

Member Function Documentation

◆ operator=()

template<typename ThisItem , typename ThisContainer >
ContainerBackSink& Om::Sink::ContainerBackSink< ThisItem, ThisContainer >::operator= ( ContainerBackSink< ThisItem, ThisContainer >  )

◆ Push()

template<typename ThisItem , typename ThisContainer >
virtual void Om::Sink::ContainerBackSink< ThisItem, ThisContainer >::Push ( ThisItem &  )
virtual

◆ Swap()

template<typename ThisItem , typename ThisContainer >
void Om::Sink::ContainerBackSink< ThisItem, ThisContainer >::Swap ( ContainerBackSink< ThisItem, ThisContainer > &  )

Member Data Documentation

◆ thisContainer

template<typename ThisItem , typename ThisContainer >
ThisContainer& Om::Sink::ContainerBackSink< ThisItem, ThisContainer >::thisContainer
private

Definition at line 61 of file container_back_sink.hpp.


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