#3339 Make order of summary curves in plot predictable.

* The issue is sorting on pointer address for ensembles and summary cases. Instead sort by name.
* The crucial changes are in RiaSummaryCurveDefinition.cpp, RimSummaryCase and RimSummaryCaseCollection.
* The rest of the changes are just fallout from changing the pure virtual method RimSummaryCase::caseName to be const. The rest just follows.
* RimGridSummaryCase::caseName does alter something, but this variable was already declared mutable.
This commit is contained in:
Gaute Lindkvist
2018-09-18 10:58:54 +02:00
parent 592645ed42
commit 38c2c9c237
17 changed files with 43 additions and 14 deletions

View File

@@ -37,7 +37,7 @@ public:
virtual ~RimFileSummaryCase();
virtual QString summaryHeaderFilename() const override;
virtual QString caseName() override;
virtual QString caseName() const override;
virtual void updateFilePathsFromProjectPath(const QString& newProjectPath, const QString& oldProjectPath) override;
virtual void createSummaryReaderInterface() override;