Describes how action IDs evolved between consequtive versions of action ID sets. PS. Once upon a time I also wanted to cure AIDS. But instead I spawned new ones. With mutations. More...
Public Member Functions | |
| AIDSMutation (const QString &theSectionPrefixNew, const QString &theSectionPrefixOld) | |
| AIDSMutation (const QJsonObject &theJsonObject, const bool theParseMap=true) | |
| const QString & | getSectionPrefixOld () const |
| const QString & | getSectionPrefixNew () const |
| const std::map< QString, QString > & | getNewToOldActionIDMap () const |
| const std::map< QString, QString > & | getOldToNewActionIDMap () const |
| bool | isConcurrent (const AIDSMutation &theOther) const |
| bool | merge (const AIDSMutation &theOther) |
Static Public Member Functions | |
| static bool | isPairOfNewAndOldActionIDsValid (const QString &theSectionPrefixNew, const QString &theSectionPrefixOld) |
Static Public Attributes | |
| static const QString | PROP_ID_MUTATIONS = "mutations" |
| static const QString | PROP_ID_PREFIX_OLD = "sectionPrefixOld" |
| static const QString | PROP_ID_PREFIX_NEW = "sectionPrefixNew" |
| static const QString | PROP_ID_OLD_TO_NEW_ACTION_ID_MAP = "oldToNewActionIDMap" |
Private Attributes | |
| QString | mySectionPrefixOld |
| Old name prefix of a section in user preference files. More... | |
| QString | mySectionPrefixNew |
| New name prefix of a section in user preference files. More... | |
| std::map< QString, QString > | myNewToOldActionIDMap |
| The map only keeps changes between AIDS versions. More... | |
| std::map< QString, QString > | myOldToNewActionIDMap |
| The map only keeps changes between AIDS versions. More... | |
Describes how action IDs evolved between consequtive versions of action ID sets. PS. Once upon a time I also wanted to cure AIDS. But instead I spawned new ones. With mutations.
| SUIT_ShortcutHistorian::AIDSMutation::AIDSMutation | ( | const QString & | theSectionPrefixNew, |
| const QString & | theSectionPrefixOld | ||
| ) |
References isPairOfNewAndOldActionIDsValid().
| SUIT_ShortcutHistorian::AIDSMutation::AIDSMutation | ( | const QJsonObject & | theJsonObject, |
| const bool | theParseMap = true |
||
| ) |
|
inline |
|
inline |
|
inline |
|
inline |
| bool SUIT_ShortcutHistorian::AIDSMutation::isConcurrent | ( | const AIDSMutation & | theOther | ) | const |
References mySectionPrefixNew, and mySectionPrefixOld.
|
static |
References Warning().
| bool SUIT_ShortcutHistorian::AIDSMutation::merge | ( | const AIDSMutation & | theOther | ) |
References myOldToNewActionIDMap, and Warning().
|
private |
The map only keeps changes between AIDS versions.
It means, there is no need to add entries like {theSameActionID, theSameActionID}. New action ID can't be empty.
|
private |
The map only keeps changes between AIDS versions.
It means, there is no need to add entries like {theSameActionID, theSameActionID}. New action ID may be empty.
|
private |
New name prefix of a section in user preference files.
|
private |
Old name prefix of a section in user preference files.
|
static |
|
static |
|
static |
|
static |