Gaudi::Utils::AlgNameSelector Class Reference

The trivial selector of algorithm by type. More...

#include </scratch/z5/marcocle/GaudiDocs/lhcb-release/825/GAUDI/GAUDI_v26r3/InstallArea/x86_64-slc6-gcc48-opt/include/GaudiAlg/GetAlg.h>

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

Public Member Functions

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

Private Member Functions

 AlgNameSelector ()
 
 AlgNameSelector ()
 

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 71 of file GetAlg.h.

Constructor & Destructor Documentation

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

constructor form the name

Definition at line 75 of file GetAlg.h.

75 : m_name ( name ) {}
std::string m_name
algorithm name
Definition: GetAlg.h:84
Gaudi::Utils::AlgNameSelector::AlgNameSelector ( )
private
Gaudi::Utils::AlgNameSelector::AlgNameSelector ( const std::string &  name)
inline

constructor form the name

Definition at line 75 of file GetAlg.h.

75 : m_name ( name ) {}
std::string m_name
algorithm name
Definition: GetAlg.h:84
Gaudi::Utils::AlgNameSelector::AlgNameSelector ( )
private

Member Function Documentation

virtual bool Gaudi::Utils::AlgNameSelector::operator() ( const IAlgorithm a) const
inlinevirtual

the only one essential method:

Implements Gaudi::Utils::AlgSelector.

Definition at line 77 of file GetAlg.h.

78  { return 0 != a ? a->name() == m_name : false ; }
return false
Definition: Bootstrap.cpp:338
virtual const std::string & name() const =0
Retrieve the name of the instance.
std::string m_name
algorithm name
Definition: GetAlg.h:84
virtual bool Gaudi::Utils::AlgNameSelector::operator() ( const IAlgorithm a) const
inlinevirtual

the only one essential method:

Implements Gaudi::Utils::AlgSelector.

Definition at line 77 of file GetAlg.h.

78  { return 0 != a ? a->name() == m_name : false ; }
return false
Definition: Bootstrap.cpp:338
virtual const std::string & name() const =0
Retrieve the name of the instance.
std::string m_name
algorithm name
Definition: GetAlg.h:84

Member Data Documentation

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

algorithm name

Definition at line 84 of file GetAlg.h.


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