27 <<
" #properties = " << properties.size() <<
endmsg;
28 std::sort( begin( properties ), end( properties ),
29 [](
const auto& a,
const auto& b ) {
return a->name() < b->name(); } );
30 for (
const auto&
property : properties ) { log <<
"Property ['Name': Value] = " << *
property <<
endmsg; }
35 "print the properties of the component at initialize" };
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream.
MsgStream & debug() const
shortcut for the method msgStream(MSG::DEBUG)
MSG::Level msgLevel() const
Algorithm(std::string name, ISvcLocator *svcloc, std::string version=PACKAGE_VERSION)
Constructor.
StatusCode initialize() override
the default (empty) implementation of IStateful::initialize() method
const std::string & name() const override
The identifying name of the algorithm object.
Implementation of property with value of concrete type.
Gaudi::Details::PropertyBase * property(std::string_view name) const
const std::vector< Gaudi::Details::PropertyBase * > & getProperties() const override
This class is used for returning status codes from appropriate routines.
StatusCode andThen(F &&f, ARGS &&... args) const
Chain code blocks making the execution conditional a success result.
GAUDI_API const std::string typeinfoName(const std::type_info &)
Get platform independent information about the class type.
Simple algorithm useful as base class for tests.
Algorithm(std::string name, ISvcLocator *svcloc, std::string version=PACKAGE_VERSION)
Constructor.
Gaudi::Property< bool > m_propsPrint
StatusCode initialize() override