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

#include "fwd.h"

Inheritance diagram for art::ComposedSelectorWrapper< T >:
art::SelectorBase

Public Types

using wrapped_type = T
 

Public Member Functions

 ComposedSelectorWrapper (T const &t)
 
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

wrapped_type expression_
 

Detailed Description

template<typename T>
class art::ComposedSelectorWrapper< T >

Definition at line 40 of file fwd.h.

Member Typedef Documentation

template<typename T >
using art::ComposedSelectorWrapper< T >::wrapped_type = T

Definition at line 351 of file Selector.h.

Constructor & Destructor Documentation

template<typename T >
art::ComposedSelectorWrapper< T >::ComposedSelectorWrapper ( T const &  t)
inlineexplicit

Definition at line 352 of file Selector.h.

352 : expression_{t} {}

Member Function Documentation

template<typename T >
bool art::ComposedSelectorWrapper< T >::doMatch ( BranchDescription const &  p) const
inlineoverrideprivatevirtual

Implements art::SelectorBase.

Definition at line 356 of file Selector.h.

357  {
358  return expression_.match(p);
359  }
template<typename T >
std::string art::ComposedSelectorWrapper< T >::doPrint ( std::string const &  indent) const
inlineoverrideprivatevirtual

Implements art::SelectorBase.

Definition at line 362 of file Selector.h.

363  {
364  return expression_.print(indent);
365  }
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 T >
wrapped_type art::ComposedSelectorWrapper< T >::expression_
private

Definition at line 367 of file Selector.h.


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