1 #ifndef GAUDIKERNEL_ISSUESEVERITY_H 2 #define GAUDIKERNEL_ISSUESEVERITY_H 1 12 #define ISSUE( x, y ) IssueSeverity( x, __LINE__, __FILE__, y ) 13 #define STATUSCODE( z, x, y ) StatusCode( z, ISSUE( x, y ) ) 71 bool m_reported =
true;
78 : m_file(
std::move( file ) ), m_msg(
std::move( msg ) ), m_line( line ), m_level( level ), m_reported( false )
94 m_reported = std::exchange( rhs.m_reported,
true );
103 m_reported = std::exchange( rhs.m_reported,
true );
friend std::ostream & operator<<(std::ostream &, const IssueSeverity &)
static IIssueLogger * m_ers
std::string getOrigin() const
void setLevel(const IssueSeverity::Level &l)
PropertyMgr & operator=(const PropertyMgr &)=delete
std::ostream & operator<<(std::ostream &os, const IssueSeverity &rhs)
This class is used for returning status codes from appropriate routines.
IssueSeverity::Level m_level
IssueSeverity & operator=(const IssueSeverity &)=delete
void setMsg(std::string m)
IssueSeverity::Level getLevel() const
std::string getMsg() const