10#ifndef ERS_ANY_ISSUE_H
11#define ERS_ANY_ISSUE_H
29 const std::string & message =
"" )
38 const system_clock::time_point & time,
39 const std::string & message,
41 const std::map<std::string, std::string> &
parameters,
virtual inheritance_type get_class_inheritance() const final
Get inheritance chain.
inheritance_type m_inheritance
AnyIssue(const std::string &type, const inheritance_type &chain, Severity severity, const ers::Context &context, const system_clock::time_point &time, const std::string &message, const std::vector< std::string > &qualifiers, const std::map< std::string, std::string > ¶meters, const ers::Issue *cause=0)
virtual void raise() const
throws a copy of this issue preserving the real issue type
virtual ers::Issue * clone() const
AnyIssue(const std::string &type, const ers::Context &context, const std::string &message="")
virtual const char * get_class_name() const
Get key for class (used for serialisation)
An abstract interface to access an Issue context.
Implements factory pattern for user defined Issues.
Base class for any user define issue.
const Context & context() const
Context of the issue.
const std::vector< std::string > & qualifiers() const
return array of qualifiers
const string_map & parameters() const
return array of parameters
const Issue * cause() const
return the cause Issue of this Issue
std::list< std::string > inheritance_type