LArSoft  v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
art::AndHelper< A, B > Class Template Reference

#include "fwd.h"

Inheritance diagram for art::AndHelper< A, B >:
art::SelectorBase

Public Member Functions

 AndHelper (A const &a, B const &b)
 
virtual AndHelperclone () const override
 
bool match (BranchDescription const &p) const
 

Private Member Functions

virtual bool doMatch (BranchDescription const &p) const override
 

Private Attributes

a_
 
B b_
 

Detailed Description

template<class A, class B>
class art::AndHelper< A, B >

Definition at line 35 of file fwd.h.

Constructor & Destructor Documentation

template<class A, class B>
art::AndHelper< A, B >::AndHelper ( A const &  a,
B const &  b 
)
inline

Definition at line 190 of file Selector.h.

190 : a_(a), b_(b) {}

Member Function Documentation

template<class A, class B>
virtual AndHelper* art::AndHelper< A, B >::clone ( ) const
inlineoverridevirtual

Implements art::SelectorBase.

Definition at line 192 of file Selector.h.

193  {
194  return new AndHelper(*this);
195  }
AndHelper(A const &a, B const &b)
Definition: Selector.h:190
template<class A, class B>
virtual bool art::AndHelper< A, B >::doMatch ( BranchDescription const &  p) const
inlineoverrideprivatevirtual

Implements art::SelectorBase.

Definition at line 199 of file Selector.h.

200  {
201  return a_.match(p) && b_.match(p);
202  }
bool art::SelectorBase::match ( BranchDescription const &  p) const
inlineinherited

Definition at line 23 of file SelectorBase.h.

References art::SelectorBase::clone(), and art::SelectorBase::doMatch().

Referenced by art::Principal::findGroupsForProcess().

24  {
25  return doMatch(p);
26  }
virtual bool doMatch(BranchDescription const &p) const =0

Member Data Documentation

template<class A, class B>
A art::AndHelper< A, B >::a_
private

Definition at line 204 of file Selector.h.

template<class A, class B>
B art::AndHelper< A, B >::b_
private

Definition at line 205 of file Selector.h.


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