CGEM BOSS 6.6.5.i
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
 
- Public Member Functions inherited from DChain::MethodBase< Arg >

Additional Inherited Members

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

Detailed Description

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

Definition at line 287 of file DCSimpleSelector.h.

Constructor & Destructor Documentation

◆ MethodAdapter()

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

Definition at line 289 of file DCSimpleSelector.h.

289 :
290 m_method(iMethod) {}

Referenced by DChain::MethodAdapter< MethodT, Arg >::clone().

Member Function Documentation

◆ clone()

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

Implements DChain::MethodBase< Arg >.

Definition at line 295 of file DCSimpleSelector.h.

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

◆ select()

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

Implements DChain::MethodBase< Arg >.

Definition at line 291 of file DCSimpleSelector.h.

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

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