|
| AnyIssue (const std::string &type, const ers::Context &context, const std::string &message="") |
|
| 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) |
|
| ~AnyIssue () noexcept |
|
virtual ers::Issue * | clone () const |
|
virtual const char * | get_class_name () const |
| Get key for class (used for serialisation)
|
|
virtual inheritance_type | get_class_inheritance () const final |
| Get inheritance chain.
|
|
virtual void | raise () const |
| throws a copy of this issue preserving the real issue type
|
|
| Issue (const Context &context, const std::string &message=std::string()) |
|
| Issue (const Context &context, const std::exception &cause) |
|
| Issue (const Context &context, const std::string &message, const std::exception &cause) |
|
| Issue (const Issue &other) |
|
virtual | ~Issue () noexcept |
|
void | add_qualifier (const std::string &qualif) |
| adds a qualifier to the issue
|
|
const Issue * | cause () const |
| return the cause Issue of this Issue
|
|
const Context & | context () const |
| Context of the issue.
|
|
const std::string & | message () const |
| General cause of the issue.
|
|
const std::vector< std::string > & | qualifiers () const |
| return array of qualifiers
|
|
const string_map & | parameters () const |
| return array of parameters
|
|
ers::Severity | severity () const |
| severity of the issue
|
|
template<class Precision = std::chrono::seconds> |
std::string | time (const std::string &format="%Y-%b-%d %H:%M:%S", bool isUTC=false) const |
| string representation of local time of the issue
|
|
template<class Precision > |
std::string | localtime (const std::string &format="%Y-%b-%d %H:%M:%S") const |
| string representation of UTC time of the issue
|
|
template<class Precision > |
std::string | gmtime (const std::string &format="%Y-%b-%d %H:%M:%S") const |
|
std::time_t | time_t () const |
| seconds since 1 Jan 1970
|
|
const system_clock::time_point & | ptime () const |
| original time point of the issue
|
|
const char * | what () const noexcept |
| General cause of the issue.
|
|
ers::Severity | set_severity (ers::Severity severity) const |
|
void | wrap_message (const std::string &begin, const std::string &end) |
|
|
| Issue (Severity severity, const system_clock::time_point &time, const ers::Context &context, const std::string &message, const std::vector< std::string > &qualifiers, const std::map< std::string, std::string > ¶meters, const ers::Issue *cause=0) |
| Gets a value of any type that has an input operator for the standard stream defined.
|
|
template<typename T > |
void | get_value (const std::string &key, T &value) const |
|
void | get_value (const std::string &key, const char *&value) const |
|
void | get_value (const std::string &key, std::string &value) const |
| Sets a value of any type that has an output operator for the standard stream defined.
|
|
template<typename T > |
void | set_value (const std::string &key, T value) |
|
void | set_message (const std::string &message) |
|
void | prepend_message (const std::string &message) |
|
static auto | _get_inheritance () |
|
Definition at line 21 of file AnyIssue.hpp.