| # Gaudi Framework, version v25r0 |

Home |  | Generated: Mon Feb 17 2014

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Private Member Functions | Private Attributes | List of all members
Gaudi::Utils::AlgNameSelector Class Reference

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

`#include <GetAlg.h>`

Inheritance diagram for Gaudi::Utils::AlgNameSelector:
[legend]
Collaboration diagram for Gaudi::Utils::AlgNameSelector:
[legend]

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

## Private Member Functions
| AlgNameSelector ()

## Private Attributes
std::string | m_name
| algorithm name

## 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.

: m_name ( name ) {}

Gaudi::Utils::AlgNameSelector::AlgNameSelector | ( |  | ) |
| private

## Member Function Documentation

virtual bool Gaudi::Utils::AlgNameSelector::operator() | ( | const IAlgorithm * | a | ) | const
| inline virtual

the only one essential method:

Implements Gaudi::Utils::AlgSelector.

Definition at line 77 of file GetAlg.h.

{ return 0 != a ? a->name() == m_name : false ; }

## 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:

- /afs/cern.ch/sw/Gaudi/releases/GAUDI/GAUDI_v25r0/GaudiAlg/GaudiAlg/GetAlg.h