BOSS 7.0.5
BESIII Offline Software System
Loading...
Searching...
No Matches
DChain::MethodAdapter< MethodT, Arg > Class Template Reference

#include <DCSimpleSelector.h>

+ Inheritance diagram for DChain::MethodAdapter< MethodT, Arg >:

Public Member Functions

 MethodAdapter (const MethodT &iMethod)
 
bool select (Arg &iArg)
 
MethodBase< Arg > * clone () const
 
 MethodAdapter (const MethodT &iMethod)
 
bool select (Arg &iArg)
 
MethodBase< Arg > * clone () const
 
virtual bool select (Arg &)=0
 
virtual MethodBaseclone () const =0
 
virtual bool select (Arg &)=0
 
virtual MethodBaseclone () const =0
 

Additional Inherited Members

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

Detailed Description

template<class MethodT, class Arg>
class DChain::MethodAdapter< MethodT, Arg >

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

Constructor & Destructor Documentation

◆ MethodAdapter() [1/2]

template<class MethodT , class Arg >
DChain::MethodAdapter< MethodT, Arg >::MethodAdapter ( const MethodT &  iMethod)
inline

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

289 :
290 m_method(iMethod) {}

◆ MethodAdapter() [2/2]

template<class MethodT , class Arg >
DChain::MethodAdapter< MethodT, Arg >::MethodAdapter ( const MethodT &  iMethod)
inline

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

289 :
290 m_method(iMethod) {}

Member Function Documentation

◆ clone() [1/2]

template<class MethodT , class Arg >
MethodBase< Arg > * DChain::MethodAdapter< MethodT, Arg >::clone ( ) const
inlinevirtual

Implements DChain::MethodBase< Arg >.

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

295 {
296 return new MethodAdapter<MethodT,Arg>( *this );
297 }

◆ clone() [2/2]

template<class MethodT , class Arg >
MethodBase< Arg > * DChain::MethodAdapter< MethodT, Arg >::clone ( ) const
inlinevirtual

Implements DChain::MethodBase< Arg >.

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

295 {
296 return new MethodAdapter<MethodT,Arg>( *this );
297 }

◆ select() [1/2]

template<class MethodT , class Arg >
bool DChain::MethodAdapter< MethodT, Arg >::select ( Arg &  iArg)
inlinevirtual

Implements DChain::MethodBase< Arg >.

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

291 {
292 return m_method.select(iArg);
293 }

◆ select() [2/2]

template<class MethodT , class Arg >
bool DChain::MethodAdapter< MethodT, Arg >::select ( Arg &  iArg)
inlinevirtual

Implements DChain::MethodBase< Arg >.

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

291 {
292 return m_method.select(iArg);
293 }

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