| # Gaudi Framework, version v20r2
Generated: 18 Jul 2008

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

- Search for |

- Alphabetical List
- Class List
- Class Hierarchy
- Class Members

# Gaudi::Utils::AlgNameSelector Class Reference

`#include <GetAlg.h>`

Inheritance diagram for Gaudi::Utils::AlgNameSelector:

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

[legend]
List of all members.

## Detailed Description

The trivial selector of algorithm by type.

See also:
  Gaudi::Utils::AlgSelector

Author:
  Vanya BELYAEV ibelyaev@physics.syr.edu

Date:
  2007-09-07

Definition at line 71 of file GetAlg.h.

## Public Member Functions
| AlgNameSelector (const std::string &name)
| constructor form the name
virtual bool | operator() (const IAlgorithm *a) const
| the only one essential method:
## Private Member Functions
| AlgNameSelector ()
## Private Attributes
std::string | m_name
| algorithm name

## Constructor & Destructor Documentation

Gaudi::Utils::AlgNameSelector::AlgNameSelector | ( | const std::string & | name | ) | `[inline]`

constructor form the name

Definition at line 75 of file GetAlg.h.

    00075 : 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.

References m_name, and INamedInterface::name().

    00078       { 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.

Referenced by operator()().

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

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