Gaudi Framework, version v22r1

Home   Generated: Mon Feb 28 2011
Public Member Functions | Private Member Functions | Private Attributes

Gaudi::Utils::AlgNameSelector Class Reference

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

#include <GetAlg.h>

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

List of all members.

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

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.


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:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines

Generated at Mon Feb 28 2011 18:28:41 for Gaudi Framework, version v22r1 by Doxygen version 1.7.2 written by Dimitri van Heesch, © 1997-2004