BOSS 7.1.0
BESIII Offline Software System
Loading...
Searching...
No Matches
DChain::MethodAnd< LHS, RHS, Arg > Class Template Reference

#include <DCSimpleSelector.h>

+ Inheritance diagram for DChain::MethodAnd< LHS, RHS, Arg >:

Public Types

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

Public Member Functions

 MethodAnd (const LHS &iLHS, const RHS &iRHS)
 
 MethodAnd ()
 
bool select (Arg &iArg)
 
MethodBase< Arg > * clone () const
 
virtual bool select (Arg &)=0
 
virtual MethodBaseclone () const =0
 

Detailed Description

template<class LHS, class RHS, class Arg>
class DChain::MethodAnd< LHS, RHS, Arg >

Definition at line 74 of file DCSimpleSelector.h.

Member Typedef Documentation

◆ arg_type

template<class LHS , class RHS , class Arg >
typedef Arg DChain::MethodAnd< LHS, RHS, Arg >::arg_type

Definition at line 76 of file DCSimpleSelector.h.

Constructor & Destructor Documentation

◆ MethodAnd() [1/2]

template<class LHS , class RHS , class Arg >
DChain::MethodAnd< LHS, RHS, Arg >::MethodAnd ( const LHS &  iLHS,
const RHS &  iRHS 
)
inline

Definition at line 78 of file DCSimpleSelector.h.

78 :
79 m_lhs(iLHS),
80 m_rhs(iRHS) {
81 }

◆ MethodAnd() [2/2]

template<class LHS , class RHS , class Arg >
DChain::MethodAnd< LHS, RHS, Arg >::MethodAnd ( )

Member Function Documentation

◆ clone()

template<class LHS , class RHS , class Arg >
MethodBase< Arg > * DChain::MethodAnd< LHS, RHS, Arg >::clone ( ) const
inlinevirtual

Implements DChain::MethodBase< Arg >.

Definition at line 89 of file DCSimpleSelector.h.

89 {
90 return new MethodAnd<LHS,RHS,Arg>( *this );
91 }

◆ select()

template<class LHS , class RHS , class Arg >
bool DChain::MethodAnd< LHS, RHS, Arg >::select ( Arg &  iArg)
inlinevirtual

Implements DChain::MethodBase< Arg >.

Definition at line 85 of file DCSimpleSelector.h.

85 {
86 return m_lhs.select(iArg) && m_rhs.select(iArg);
87 }

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