BOSS 6.6.4.p03
BESIII Offline Software System
Loading...
Searching...
No Matches
dchain::SelectiveInserter< TList, TSelect > Struct Template Reference

#include <SelectiveInserter.h>

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
 

Detailed Description

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

Definition at line 39 of file SelectiveInserter.h.

Member Typedef Documentation

◆ difference_type

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

Definition at line 42 of file SelectiveInserter.h.

◆ iterator_category

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

Definition at line 40 of file SelectiveInserter.h.

◆ value_type

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

Definition at line 41 of file SelectiveInserter.h.

Constructor & Destructor Documentation

◆ SelectiveInserter()

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

Definition at line 44 of file SelectiveInserter.h.

45 :
46 m_list(&iList),
47 m_select(iSelect) {}

Member Function Documentation

◆ operator*()

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

Definition at line 48 of file SelectiveInserter.h.

48 {
49 return *this; }

◆ operator+()

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

Definition at line 55 of file SelectiveInserter.h.

55 {
56 return *this;
57 }

◆ operator++()

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

Definition at line 51 of file SelectiveInserter.h.

51 {
52 return *this;
53 }

◆ operator=()

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.

61 {
62 return m_list->attempt_insert(iHolder, m_select);
63 }

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