Public Member Functions | Private Member Functions | Private Attributes | List of all members
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)
 
- Public Member Functions inherited from art::SelectorBase
virtual ~SelectorBase ()=default
 
bool match (BranchDescription const &p) const
 
std::string print (std::string const &indent) const
 

Private Member Functions

bool doMatch (BranchDescription const &p) const override
 
std::string doPrint (std::string const &indent) const override
 

Private Attributes

A a_
 
B b_
 

Detailed Description

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

Definition at line 34 of file fwd.h.

Constructor & Destructor Documentation

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

Definition at line 165 of file Selector.h.

165 : a_{a}, b_{b} {}
const double a
static bool * b
Definition: config.cpp:1043

Member Function Documentation

template<typename A , typename B >
bool art::AndHelper< A, B >::doMatch ( BranchDescription const &  p) const
inlineoverrideprivatevirtual

Implements art::SelectorBase.

Definition at line 169 of file Selector.h.

170  {
171  return a_.match(p) && b_.match(p);
172  }
p
Definition: test.py:223
template<typename A , typename B >
std::string art::AndHelper< A, B >::doPrint ( std::string const &  indent) const
inlineoverrideprivatevirtual

Implements art::SelectorBase.

Definition at line 175 of file Selector.h.

176  {
177  return a_.print(indent) + '\n' + b_.print(indent);
178  }

Member Data Documentation

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

Definition at line 180 of file Selector.h.

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

Definition at line 181 of file Selector.h.


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