| # Gaudi Framework, version v21r9 |

Home |  | Generated: 3 May 2010

# AlgorithmManager::AlgorithmItem Struct Reference

`#include <AlgorithmManager.h>`

Collaboration diagram for AlgorithmManager::AlgorithmItem:

[legend]

List of all members.

## Public Member Functions
| AlgorithmItem (IAlgorithm *s, bool managed=false)
bool | operator== (const std::string &name) const
bool | operator== (const IAlgorithm *ptr) const
## Public Attributes
SmartIF< IAlgorithm > | algorithm
bool | managed

## Detailed Description

Definition at line 35 of file AlgorithmManager.h.

## Constructor & Destructor Documentation

AlgorithmManager::AlgorithmItem::AlgorithmItem | ( | IAlgorithm * | s,
|  | bool | managed = `false` |
| ) |  |  | `[inline]`

Definition at line 36 of file AlgorithmManager.h.

    00036                                                       :
    00037       algorithm(s), managed(managed) {}
        SmartIF<IAlgorithm> algorithm;

## Member Function Documentation

bool AlgorithmManager::AlgorithmItem::operator== | ( | const std::string & | name | ) | const`[inline]`

Definition at line 40 of file AlgorithmManager.h.

    00040                                                         {
    00041       return algorithm->name() == name;
    00042     }

bool AlgorithmManager::AlgorithmItem::operator== | ( | const IAlgorithm * | ptr | ) | const`[inline]`

Definition at line 43 of file AlgorithmManager.h.

    00043                                                         {
    00044       return algorithm.get() == ptr;
    00045     }

## Member Data Documentation

SmartIF<IAlgorithm> AlgorithmManager::AlgorithmItem::algorithm

Definition at line 38 of file AlgorithmManager.h.

bool AlgorithmManager::AlgorithmItem::managed

Definition at line 39 of file AlgorithmManager.h.

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

- /afs/cern.ch/sw/Gaudi/releases/GAUDI/GAUDI_v21r9/GaudiSvc/src/ApplicationMgr/AlgorithmManager.h