DChain::MethodAnd< LHS, RHS, Arg > Class Template Reference

#include <DCSimpleSelector.h>

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

DChain::MethodBase< Arg > List of all members.

Public Types

typedef Arg arg_type

Public Member Functions

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

Private Attributes

LHS m_lhs
RHS m_rhs

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

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

Reimplemented from DChain::MethodBase< Arg >.

Definition at line 76 of file DCSimpleSelector.h.


Constructor & Destructor Documentation

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.

00078                                                       :
00079          m_lhs(iLHS),
00080          m_rhs(iRHS) {
00081          }

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


Member Function Documentation

template<class LHS, class RHS, class Arg>
MethodBase<Arg>* DChain::MethodAnd< LHS, RHS, Arg >::clone (  )  const [inline, virtual]

Implements DChain::MethodBase< Arg >.

Definition at line 89 of file DCSimpleSelector.h.

00089                                         {
00090             return new MethodAnd<LHS,RHS,Arg>( *this );
00091          }

template<class LHS, class RHS, class Arg>
bool DChain::MethodAnd< LHS, RHS, Arg >::select ( Arg &  iArg  )  [inline, virtual]

Implements DChain::MethodBase< Arg >.

Definition at line 85 of file DCSimpleSelector.h.

References DChain::MethodAnd< LHS, RHS, Arg >::m_lhs, and DChain::MethodAnd< LHS, RHS, Arg >::m_rhs.

00085                                 {
00086             return m_lhs.select(iArg) && m_rhs.select(iArg);
00087          }


Member Data Documentation

template<class LHS, class RHS, class Arg>
LHS DChain::MethodAnd< LHS, RHS, Arg >::m_lhs [private]

Definition at line 93 of file DCSimpleSelector.h.

Referenced by DChain::MethodAnd< LHS, RHS, Arg >::select().

template<class LHS, class RHS, class Arg>
RHS DChain::MethodAnd< LHS, RHS, Arg >::m_rhs [private]

Definition at line 94 of file DCSimpleSelector.h.

Referenced by DChain::MethodAnd< LHS, RHS, Arg >::select().


Generated on Tue Nov 29 23:36:25 2016 for BOSS_7.0.2 by  doxygen 1.4.7