CGEM BOSS 6.6.5.h
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
 
- Public Types inherited from DChain::MethodBase< Arg >
typedef Arg arg_type
 

Public Member Functions

 MethodHolder (DCSelectionFunction< Arg > &iSelector)
 
MethodBase< Arg > * clone () const
 
bool select (Arg &iArg)
 
- Public Member Functions inherited from DChain::MethodBase< Arg >

Detailed Description

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

Definition at line 123 of file DCSimpleSelector.h.

Member Typedef Documentation

◆ arg_type

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

Definition at line 125 of file DCSimpleSelector.h.

Constructor & Destructor Documentation

◆ MethodHolder()

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

Definition at line 127 of file DCSimpleSelector.h.

127 :
128 m_selector(iSelector) {}

Referenced by DChain::MethodHolder< Arg >::clone().

Member Function Documentation

◆ clone()

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

Implements DChain::MethodBase< Arg >.

Definition at line 129 of file DCSimpleSelector.h.

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

◆ select()

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

Implements DChain::MethodBase< Arg >.

Definition at line 132 of file DCSimpleSelector.h.

132 {
133 return m_selector( iArg);
134 }

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