LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
art::NotHelper< A > Class Template Reference

#include "fwd.h"

Inheritance diagram for art::NotHelper< A >:
art::SelectorBase

Public Member Functions

 NotHelper (A const &a)
 
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_
 

Detailed Description

template<typename A>
class art::NotHelper< A >

Definition at line 38 of file fwd.h.

Constructor & Destructor Documentation

template<typename A >
art::NotHelper< A >::NotHelper ( A const &  a)
inlineexplicit

Definition at line 316 of file Selector.h.

316 : a_{a} {}

Member Function Documentation

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

Implements art::SelectorBase.

Definition at line 320 of file Selector.h.

321  {
322  return !a_.match(p);
323  }
template<typename A >
std::string art::NotHelper< A >::doPrint ( std::string const &  indent) const
inlineoverrideprivatevirtual

Implements art::SelectorBase.

Definition at line 326 of file Selector.h.

327  {
328  std::string result{indent + "Not [\n"};
329  result += indent + a_.print(indent) + '\n';
330  result += indent + ']';
331  return result;
332  }
std::string indent(std::size_t const i)
bool art::SelectorBase::match ( BranchDescription const &  p) const
inlineinherited

Definition at line 41 of file SelectorBase.h.

References art::SelectorBase::doMatch().

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

42  {
43  return doMatch(p);
44  }
virtual bool doMatch(BranchDescription const &p) const =0
std::string art::SelectorBase::print ( std::string const &  indent) const
inlineinherited

Definition at line 47 of file SelectorBase.h.

References art::SelectorBase::doMatch(), art::SelectorBase::doPrint(), and art::detail::indent().

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

48  {
49  return doPrint(indent);
50  }
std::string indent(std::size_t const i)
virtual std::string doPrint(std::string const &indent) const =0

Member Data Documentation

template<typename A >
A art::NotHelper< A >::a_
private

Definition at line 333 of file Selector.h.


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