dchain::SelectiveInserter< TList, TSelect > Struct Template Reference

#include <SelectiveInserter.h>

List of all members.

Public Types

typedef std::output_iterator_tag iterator_category
typedef void value_type
typedef void difference_type

Public Member Functions

 SelectiveInserter (TList &iList, const TSelect &iSelect)
SelectiveInserter< TList,
TSelect > & 
operator * ()
SelectiveInserter< TList,
TSelect > & 
operator++ ()
SelectiveInserter< TList,
TSelect > & 
operator+ (int)
template<class THolder>
bool operator= (THolder iHolder)
 returns false if object not added to list

Private Attributes

TList * m_list
TSelect m_select


Detailed Description

template<class TList, class TSelect>
struct dchain::SelectiveInserter< TList, TSelect >

Definition at line 39 of file SelectiveInserter.h.


Member Typedef Documentation

template<class TList, class TSelect>
typedef void dchain::SelectiveInserter< TList, TSelect >::difference_type

Definition at line 42 of file SelectiveInserter.h.

template<class TList, class TSelect>
typedef std::output_iterator_tag dchain::SelectiveInserter< TList, TSelect >::iterator_category

Definition at line 40 of file SelectiveInserter.h.

template<class TList, class TSelect>
typedef void dchain::SelectiveInserter< TList, TSelect >::value_type

Definition at line 41 of file SelectiveInserter.h.


Constructor & Destructor Documentation

template<class TList, class TSelect>
dchain::SelectiveInserter< TList, TSelect >::SelectiveInserter ( TList &  iList,
const TSelect &  iSelect 
) [inline]

Definition at line 44 of file SelectiveInserter.h.

00045                                       :
00046             m_list(&iList),
00047             m_select(iSelect) {}
         SelectiveInserter<TList,TSelect>& operator*() {


Member Function Documentation

template<class TList, class TSelect>
SelectiveInserter<TList,TSelect>& dchain::SelectiveInserter< TList, TSelect >::operator * (  )  [inline]

Definition at line 48 of file SelectiveInserter.h.

00048                                                        {
00049             return *this; }

template<class TList, class TSelect>
SelectiveInserter<TList,TSelect>& dchain::SelectiveInserter< TList, TSelect >::operator+ ( int   )  [inline]

Definition at line 55 of file SelectiveInserter.h.

00055                                                           {
00056             return *this;
00057          }

template<class TList, class TSelect>
SelectiveInserter<TList,TSelect>& dchain::SelectiveInserter< TList, TSelect >::operator++ (  )  [inline]

Definition at line 51 of file SelectiveInserter.h.

00051                                                         {
00052             return *this;
00053          }

template<class TList, class TSelect>
template<class THolder>
bool dchain::SelectiveInserter< TList, TSelect >::operator= ( THolder  iHolder  )  [inline]

returns false if object not added to list

Definition at line 61 of file SelectiveInserter.h.

References dchain::SelectiveInserter< TList, TSelect >::m_list, and dchain::SelectiveInserter< TList, TSelect >::m_select.

00061                                            {
00062                return m_list->attempt_insert(iHolder, m_select);
00063             }


Member Data Documentation

template<class TList, class TSelect>
TList* dchain::SelectiveInserter< TList, TSelect >::m_list [private]

Definition at line 65 of file SelectiveInserter.h.

Referenced by dchain::SelectiveInserter< TList, TSelect >::operator=().

template<class TList, class TSelect>
TSelect dchain::SelectiveInserter< TList, TSelect >::m_select [private]

Definition at line 66 of file SelectiveInserter.h.

Referenced by dchain::SelectiveInserter< TList, TSelect >::operator=().


Generated on Tue Nov 29 23:36:26 2016 for BOSS_7.0.2 by  doxygen 1.4.7