24 if ( !quiet ) {
log() <<
MSG::ERROR <<
"ServiceLocatorHelper::service: can not locate service " << name <<
endmsg; }
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream.
virtual SmartIF< IService > & service(const Gaudi::Utils::TypeNameString &typeName, const bool createIf=true)=0
Returns a smart pointer to a service.
SmartIF< IService > service(std::string_view name, const bool quiet=false, const bool createIf=true) const
ISvcLocator * serviceLocator() const
Small smart pointer class with automatic reference counting for IInterface.