The Gaudi Framework  master (594c33fa)
Gaudi::Utils::AlgNameSelector Class Reference

#include </builds/gaudi/Gaudi/GaudiAlg/include/GaudiAlg/GetAlg.h>

Inheritance diagram for Gaudi::Utils::AlgNameSelector:
Collaboration diagram for Gaudi::Utils::AlgNameSelector:

Public Member Functions

 AlgNameSelector ()=delete
 
 AlgNameSelector (std::string name)
 constructor form the name More...
 
bool operator() (const IAlgorithm *a) const override
 the only one essential method: More...
 
- Public Member Functions inherited from Gaudi::Utils::AlgSelector
virtual ~AlgSelector ()=default
 

Private Attributes

std::string m_name
 algorithm name More...
 

Detailed Description

The trivial selector of algorithm by type

See also
Gaudi::Utils::AlgSelector
Author
Vanya BELYAEV ibely.nosp@m.aev@.nosp@m.physi.nosp@m.cs.s.nosp@m.yr.ed.nosp@m.u
Date
2007-09-07

Definition at line 66 of file GetAlg.h.

Constructor & Destructor Documentation

◆ AlgNameSelector() [1/2]

Gaudi::Utils::AlgNameSelector::AlgNameSelector ( )
delete

◆ AlgNameSelector() [2/2]

Gaudi::Utils::AlgNameSelector::AlgNameSelector ( std::string  name)
inline

constructor form the name

Definition at line 70 of file GetAlg.h.

70 : m_name( std::move( name ) ) {}

Member Function Documentation

◆ operator()()

bool Gaudi::Utils::AlgNameSelector::operator() ( const IAlgorithm a) const
inlineoverridevirtual

the only one essential method:

Implements Gaudi::Utils::AlgSelector.

Definition at line 72 of file GetAlg.h.

72 { return a && a->name() == m_name; }

Member Data Documentation

◆ m_name

std::string Gaudi::Utils::AlgNameSelector::m_name
private

algorithm name

Definition at line 76 of file GetAlg.h.


The documentation for this class was generated from the following file:
std::move
T move(T... args)
ConditionsStallTest.name
name
Definition: ConditionsStallTest.py:77
Gaudi::Utils::AlgNameSelector::m_name
std::string m_name
algorithm name
Definition: GetAlg.h:76