LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
art::SelectorBase Class Referenceabstract

#include "SelectorBase.h"

Inheritance diagram for art::SelectorBase:
art::AndHelper< A, B > art::ComposedSelectorWrapper< T > art::InputTagListSelector art::MatchAllSelector art::ModuleLabelSelector art::NotHelper< A > art::OrHelper< A, B > art::ProcessNameSelector art::ProductInstanceNameSelector art::Selector art::SelectorByFunction

Public Member Functions

virtual ~SelectorBase ()=default
 
bool match (BranchDescription const &p) const
 
std::string print (std::string const &indent) const
 

Private Member Functions

virtual bool doMatch (BranchDescription const &p) const =0
 
virtual std::string doPrint (std::string const &indent) const =0
 

Detailed Description

Definition at line 37 of file SelectorBase.h.

Constructor & Destructor Documentation

virtual art::SelectorBase::~SelectorBase ( )
virtualdefault

Member Function Documentation

bool art::SelectorBase::match ( BranchDescription const &  p) const
inline

Definition at line 41 of file SelectorBase.h.

References 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
inline

Definition at line 47 of file SelectorBase.h.

References doMatch(), 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

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