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

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

#include "container_front_sink.hpp"

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

Public Member Functions

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

Definition at line 36 of file container_front_sink.hpp.

Constructor & Destructor Documentation

◆ ContainerFrontSink()

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

Member Function Documentation

◆ operator=()

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

◆ Push()

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

◆ Swap()

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

Member Data Documentation

◆ thisContainer

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

Definition at line 61 of file container_front_sink.hpp.


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