1 #ifndef GAUDIAUD_COMMONAUDITOR_H 2 #define GAUDIAUD_COMMONAUDITOR_H 48 return v.
empty() || ( ( v[0] !=
"none" ) && ( find( v.
begin(), v.
end(),
evt ) != v.
end() ) );
57 throw GaudiException(
"Property CustomEventTypes is deprecated, but both CustomEventTypes and EventTypes used",
67 this,
"EventTypes", {},
"list of event types to audit ([]=all, ['none']=none)"};
72 #endif // GAUDIAUD_COMMONAUDITOR_H
Define general base for Gaudi exception.
Implementation of property with value of concrete type.
const std::string name() const
property name
Base class with common functionalities shared by few auditor implementations.
Gaudi::Property< std::vector< std::string > > m_types
void before(StandardEventType evt, const std::string &caller) override
bool i_auditEventType(const std::string &evt)
Check if we are requested to audit the passed event type.
MsgStream & error() const
shortcut for the method msgStream(MSG::ERROR)
Auditor(const std::string &name, ISvcLocator *svcloc)
Constructor.
MsgStream & warning() const
shortcut for the method msgStream(MSG::WARNING)
This class is used for returning status codes from appropriate routines.
PropertyBase base class allowing PropertyBase* collections to be "homogeneous".
void deprecated_property(Gaudi::Details::PropertyBase &p)
IInterface compliant class extending IInterface with the name() method.
std::string documentation() const
property documentation
Gaudi::Property< std::vector< std::string > > m_customTypes
constexpr static const auto FAILURE
virtual void i_before(CustomEventTypeRef evt, const std::string &caller)=0
catch all "before" method, implemented in the derived class
void after(StandardEventType evt, const std::string &caller, const StatusCode &sc) override
virtual void i_after(CustomEventTypeRef evt, const std::string &caller, const StatusCode &sc)=0
catch all "after" method, implemented in the derived class
const std::string & name() const override
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream.
Base class from which all concrete auditor classes should be derived.