#12330 Improve summary stepping

Improves the handling of summary vector names by splitting the name and suffix (e.g., difference or history identifier) into separate components.

Make sure the stepping works the same way both for "Step Next" and "Step Next and Add Plot"
This commit is contained in:
Magne Sjaastad
2025-04-01 14:06:50 +02:00
parent 8739def775
commit 3e0b2e600d
6 changed files with 58 additions and 32 deletions
@@ -41,5 +41,6 @@ public:
RifEclipseSummaryAddressDefines::SummaryCategory category,
RifEclipseSummaryAddress& adr );
static bool updateQuantityIfMatching( const QVariant& oldValue, const QVariant& newValue, RifEclipseSummaryAddress& adr );
static bool updateQuantityIfMatching( const QVariant& previousName, const QVariant& newName, RifEclipseSummaryAddress& adr );
static bool updateQuantityIfMatching( const std::string& previousName, const std::string& newName, RifEclipseSummaryAddress& adr );
};