Ref T117, utility functions

* detect equal models (equal in sense of "equal for publishing", not ==)
* severity functions for message list
This commit is contained in:
Klaus Basan
2017-08-10 11:22:26 +02:00
committed by Mathew Sutcliffe
parent 202c37beca
commit 9903d518b0
4 changed files with 89 additions and 0 deletions

View File

@@ -88,12 +88,18 @@ namespace BlackMisc
//! And higher (more critical) severity will be clipped to given severity
void clampSeverity(CStatusMessage::StatusSeverity severity);
//! Turn warnings into errors
void warningToError();
//! Sort by severity, lowest first
void sortBySeverity();
//! Remove warnings and below
void removeWarningsAndBelow();
//! Remove given severity
void removeSeverity(CStatusMessage::StatusSeverity severity);
//! Remove info and below
void removeInfoAndBelow();