BOSS 7.0.4
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
 
typedef Arg arg_type
 
- Public Types inherited from DChain::MethodBase< Arg >
typedef Arg arg_type
 
typedef Arg arg_type
 

Public Member Functions

 MethodOr (const LHS &iLHS, const RHS &iRHS)
 
 MethodOr ()
 
bool select (Arg &iArg)
 
MethodBase< Arg > * clone () const
 
 MethodOr (const LHS &iLHS, const RHS &iRHS)
 
 MethodOr ()
 
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
 

Detailed Description

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

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

Member Typedef Documentation

◆ arg_type [1/2]

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

◆ arg_type [2/2]

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

Constructor & Destructor Documentation

◆ MethodOr() [1/4]

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 Event/DecayChain/DecayChain-00-00-03-slc6tag/DecayChain/Function/DCSimpleSelector.h.

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

◆ MethodOr() [2/4]

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

◆ MethodOr() [3/4]

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 InstallArea/include/DecayChain/DecayChain/Function/DCSimpleSelector.h.

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

◆ MethodOr() [4/4]

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

Member Function Documentation

◆ clone() [1/2]

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 Event/DecayChain/DecayChain-00-00-03-slc6tag/DecayChain/Function/DCSimpleSelector.h.

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

◆ clone() [2/2]

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 InstallArea/include/DecayChain/DecayChain/Function/DCSimpleSelector.h.

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

◆ select() [1/2]

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 Event/DecayChain/DecayChain-00-00-03-slc6tag/DecayChain/Function/DCSimpleSelector.h.

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

◆ select() [2/2]

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 InstallArea/include/DecayChain/DecayChain/Function/DCSimpleSelector.h.

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

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