Public Member Functions | Private Member Functions | Private Attributes | List of all members
art::AndHelper< A, B > Class Template Reference

#include "/cvmfs/nova.opensciencegrid.org/externals/art/v2_13_00/source/art/Framework/Principal/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_
 

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) {}
const double a
const hit & b
Definition: hits.cxx:21

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  }
const char * p
Definition: xmltok.h:285
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().

24  {
25  return doMatch(p);
26  }
const char * p
Definition: xmltok.h:285
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: