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

Public Member Functions

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

◆ arg_type [2/2]

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

Constructor & Destructor Documentation

◆ MethodAnd() [1/4]

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

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

◆ MethodAnd() [2/4]

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

◆ MethodAnd() [3/4]

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

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

◆ MethodAnd() [4/4]

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

Member Function Documentation

◆ clone() [1/2]

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

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

◆ clone() [2/2]

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

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

◆ select() [1/2]

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

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

◆ select() [2/2]

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

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

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