mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#3106 Ensemble calculations. Hash only ensemble parameters common to all cases. Move cases validation
This commit is contained in:
@@ -24,6 +24,7 @@
|
||||
#include <QString>
|
||||
|
||||
#include <map>
|
||||
#include <set>
|
||||
#include <memory>
|
||||
|
||||
//==================================================================================================
|
||||
@@ -66,10 +67,14 @@ public:
|
||||
Value parameterValue(const QString& name);
|
||||
|
||||
std::map<QString, Value> parameters() const;
|
||||
std::set<QString> parameterNames() const;
|
||||
|
||||
size_t parameterHash(const QString& name) const;
|
||||
size_t parametersHash();
|
||||
|
||||
void clearParametersHash();
|
||||
void calculateParametersHash(const std::set<QString>& paramNames = std::set<QString>());
|
||||
|
||||
private:
|
||||
std::map<QString, Value> m_parameters;
|
||||
size_t m_parametersHash;
|
||||
|
||||
Reference in New Issue
Block a user