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

#include <DCSimpleSelector.h>

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

Public Types

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

Public Member Functions

 MethodOr (const LHS &iLHS, const RHS &iRHS)
 
 MethodOr ()
 
bool select (Arg &iArg)
 
MethodBase< Arg > * clone () const
 
- Public Member Functions inherited from DChain::MethodBase< Arg >

Detailed Description

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

Definition at line 99 of file DCSimpleSelector.h.

Member Typedef Documentation

◆ arg_type

template<class LHS , class RHS , class Arg >
Arg DChain::MethodOr< LHS, RHS, Arg >::arg_type

Definition at line 101 of file DCSimpleSelector.h.

Constructor & Destructor Documentation

◆ MethodOr() [1/2]

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

Definition at line 103 of file DCSimpleSelector.h.

103 :
104 m_lhs(iLHS),
105 m_rhs(iRHS) {
106 }

◆ MethodOr() [2/2]

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

Member Function Documentation

◆ clone()

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

Implements DChain::MethodBase< Arg >.

Definition at line 113 of file DCSimpleSelector.h.

113 {
114 return new MethodOr<LHS,RHS,Arg>( *this );
115 }

◆ select()

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

Implements DChain::MethodBase< Arg >.

Definition at line 109 of file DCSimpleSelector.h.

109 {
110 return m_lhs.select(iArg) || m_rhs.select(iArg);
111 }

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