BOSS 7.0.1
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
 
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
 
 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 Event/DecayChain/DecayChain-00-00-03-slc6tag/DecayChain/Iterator/SelectiveInserter.h.

Member Typedef Documentation

◆ difference_type [1/2]

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

◆ difference_type [2/2]

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

◆ iterator_category [1/2]

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

◆ iterator_category [2/2]

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

◆ value_type [1/2]

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

◆ value_type [2/2]

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

Constructor & Destructor Documentation

◆ SelectiveInserter() [1/2]

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

Definition at line 44 of file Event/DecayChain/DecayChain-00-00-03-slc6tag/DecayChain/Iterator/SelectiveInserter.h.

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

◆ SelectiveInserter() [2/2]

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

Definition at line 44 of file InstallArea/include/DecayChain/DecayChain/Iterator/SelectiveInserter.h.

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

Member Function Documentation

◆ operator*() [1/2]

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

◆ operator*() [2/2]

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

Definition at line 48 of file InstallArea/include/DecayChain/DecayChain/Iterator/SelectiveInserter.h.

48 {
49 return *this; }

◆ operator+() [1/2]

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

Definition at line 55 of file Event/DecayChain/DecayChain-00-00-03-slc6tag/DecayChain/Iterator/SelectiveInserter.h.

55 {
56 return *this;
57 }

◆ operator+() [2/2]

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

Definition at line 55 of file InstallArea/include/DecayChain/DecayChain/Iterator/SelectiveInserter.h.

55 {
56 return *this;
57 }

◆ operator++() [1/2]

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

Definition at line 51 of file Event/DecayChain/DecayChain-00-00-03-slc6tag/DecayChain/Iterator/SelectiveInserter.h.

51 {
52 return *this;
53 }

◆ operator++() [2/2]

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

Definition at line 51 of file InstallArea/include/DecayChain/DecayChain/Iterator/SelectiveInserter.h.

51 {
52 return *this;
53 }

◆ operator=() [1/2]

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 Event/DecayChain/DecayChain-00-00-03-slc6tag/DecayChain/Iterator/SelectiveInserter.h.

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

◆ operator=() [2/2]

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 InstallArea/include/DecayChain/DecayChain/Iterator/SelectiveInserter.h.

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

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