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

@@ -368,6 +368,9 @@ namespace BlackMisc
//! Validate
BlackMisc::CStatusMessageList validate(bool withNestedObjects) const;
//! Considered equal for publishing, compares if livery etc. are the same DB values
bool isEqualForPublishing(const CAircraftModel &dbModel, BlackMisc::CStatusMessageList *details = nullptr) const;
//! Helper class used by implementation.
using MemoHelper = CMemoHelper<Aviation::CAircraftIcaoCode, Aviation::CLivery, CDistributor>;