The Gaudi Framework  master (594c33fa)
GaudiCommon_details::svc_eq_t Struct Reference

#include </builds/gaudi/Gaudi/GaudiAlg/include/GaudiAlg/GaudiCommon.h>

Public Member Functions

bool operator() (std::string_view n, const SmartIF< IService > &s) const
 
bool operator() (const SmartIF< IService > &s, std::string_view n) const
 
bool operator() (const SmartIF< IService > &s, const SmartIF< IService > &n) const
 

Detailed Description

Definition at line 62 of file GaudiCommon.h.

Member Function Documentation

◆ operator()() [1/3]

bool GaudiCommon_details::svc_eq_t::operator() ( const SmartIF< IService > &  s,
const SmartIF< IService > &  n 
) const
inline

Definition at line 65 of file GaudiCommon.h.

65 { return s->name() == n->name(); };

◆ operator()() [2/3]

bool GaudiCommon_details::svc_eq_t::operator() ( const SmartIF< IService > &  s,
std::string_view  n 
) const
inline

Definition at line 64 of file GaudiCommon.h.

64 { return s->name() == n; };

◆ operator()() [3/3]

bool GaudiCommon_details::svc_eq_t::operator() ( std::string_view  n,
const SmartIF< IService > &  s 
) const
inline

Definition at line 63 of file GaudiCommon.h.

63 { return n == s->name(); };

The documentation for this struct was generated from the following file:
gaudirun.s
string s
Definition: gaudirun.py:346
GaudiPluginService.cpluginsvc.n
n
Definition: cpluginsvc.py:234