The Gaudi Framework  v33r1 (b1225454)
AlgorithmManager::AlgorithmItem Struct Referencefinal

#include <src/ApplicationMgr/AlgorithmManager.h>

Collaboration diagram for AlgorithmManager::AlgorithmItem:

Public Member Functions

 AlgorithmItem (IAlgorithm *s, bool managed=false)
 
bool operator== (std::string_view name) const
 
bool operator== (const IAlgorithm *ptr) const
 

Public Attributes

SmartIF< IAlgorithmalgorithm
 
bool managed
 

Detailed Description

Definition at line 43 of file AlgorithmManager.h.

Constructor & Destructor Documentation

◆ AlgorithmItem()

AlgorithmManager::AlgorithmItem::AlgorithmItem ( IAlgorithm s,
bool  managed = false 
)
inline

Definition at line 44 of file AlgorithmManager.h.

Member Function Documentation

◆ operator==() [1/2]

bool AlgorithmManager::AlgorithmItem::operator== ( std::string_view  name) const
inline

Definition at line 47 of file AlgorithmManager.h.

47 { return algorithm->name() == name; }
const std::string & name() const override
Return the name of the manager (implementation of INamedInterface)
SmartIF< IAlgorithm > algorithm

◆ operator==() [2/2]

bool AlgorithmManager::AlgorithmItem::operator== ( const IAlgorithm ptr) const
inline

Definition at line 48 of file AlgorithmManager.h.

48 { return algorithm.get() == ptr; }
TYPE * get() const
Get interface pointer.
Definition: SmartIF.h:86
SmartIF< IAlgorithm > algorithm

Member Data Documentation

◆ algorithm

SmartIF<IAlgorithm> AlgorithmManager::AlgorithmItem::algorithm

Definition at line 45 of file AlgorithmManager.h.

◆ managed

bool AlgorithmManager::AlgorithmItem::managed

Definition at line 46 of file AlgorithmManager.h.


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