BOSS 7.0.4
BESIII Offline Software System
Loading...
Searching...
No Matches
DChain::MethodHolder< Arg > Class Template Reference

#include <DCSimpleSelector.h>

+ Inheritance diagram for DChain::MethodHolder< Arg >:

Public Types

typedef Arg arg_type
 
typedef Arg arg_type
 
- Public Types inherited from DChain::MethodBase< Arg >
typedef Arg arg_type
 
typedef Arg arg_type
 

Public Member Functions

 MethodHolder (DCSelectionFunction< Arg > &iSelector)
 
MethodBase< Arg > * clone () const
 
bool select (Arg &iArg)
 
 MethodHolder (DCSelectionFunction< Arg > &iSelector)
 
MethodBase< Arg > * clone () const
 
bool select (Arg &iArg)
 
virtual bool select (Arg &)=0
 
virtual MethodBaseclone () const =0
 
virtual bool select (Arg &)=0
 
virtual MethodBaseclone () const =0
 

Detailed Description

template<class Arg>
class DChain::MethodHolder< Arg >

Definition at line 123 of file Event/DecayChain/DecayChain-00-00-03-slc6tag/DecayChain/Function/DCSimpleSelector.h.

Member Typedef Documentation

◆ arg_type [1/2]

template<class Arg >
typedef Arg DChain::MethodHolder< Arg >::arg_type

◆ arg_type [2/2]

template<class Arg >
typedef Arg DChain::MethodHolder< Arg >::arg_type

Constructor & Destructor Documentation

◆ MethodHolder() [1/2]

template<class Arg >
DChain::MethodHolder< Arg >::MethodHolder ( DCSelectionFunction< Arg > &  iSelector)
inline

Definition at line 127 of file Event/DecayChain/DecayChain-00-00-03-slc6tag/DecayChain/Function/DCSimpleSelector.h.

127 :
128 m_selector(iSelector) {}

◆ MethodHolder() [2/2]

template<class Arg >
DChain::MethodHolder< Arg >::MethodHolder ( DCSelectionFunction< Arg > &  iSelector)
inline

Definition at line 127 of file InstallArea/include/DecayChain/DecayChain/Function/DCSimpleSelector.h.

127 :
128 m_selector(iSelector) {}

Member Function Documentation

◆ clone() [1/2]

template<class Arg >
MethodBase< Arg > * DChain::MethodHolder< Arg >::clone ( ) const
inlinevirtual

Implements DChain::MethodBase< Arg >.

Definition at line 129 of file Event/DecayChain/DecayChain-00-00-03-slc6tag/DecayChain/Function/DCSimpleSelector.h.

129 {
130 return new MethodHolder<Arg>(*this);
131 }

◆ clone() [2/2]

template<class Arg >
MethodBase< Arg > * DChain::MethodHolder< Arg >::clone ( ) const
inlinevirtual

Implements DChain::MethodBase< Arg >.

Definition at line 129 of file InstallArea/include/DecayChain/DecayChain/Function/DCSimpleSelector.h.

129 {
130 return new MethodHolder<Arg>(*this);
131 }

◆ select() [1/2]

template<class Arg >
bool DChain::MethodHolder< Arg >::select ( Arg &  iArg)
inlinevirtual

Implements DChain::MethodBase< Arg >.

Definition at line 132 of file Event/DecayChain/DecayChain-00-00-03-slc6tag/DecayChain/Function/DCSimpleSelector.h.

132 {
133 return m_selector( iArg);
134 }

◆ select() [2/2]

template<class Arg >
bool DChain::MethodHolder< Arg >::select ( Arg &  iArg)
inlinevirtual

Implements DChain::MethodBase< Arg >.

Definition at line 132 of file InstallArea/include/DecayChain/DecayChain/Function/DCSimpleSelector.h.

132 {
133 return m_selector( iArg);
134 }

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