mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-12 08:25:03 -05:00
#3958 Refactoring: Replaced result info based lookups with result address.
Replaced access of resultInfo as vector with single access based on address. Moved RigEclipseResultAddress to a separate new file.
This commit is contained in:
1 parent
accc0768a1
commit
5a01fdb88e
9 files changed
+173
-89
No files matched your search
@@ -56,23 +56,26 @@ public:
|
||||
size_t gridScalarResultIndex = 0u);
|
||||
|
||||
RiaDefines::ResultCatType resultType() const;
|
||||
void setResultType(RiaDefines::ResultCatType newType);
|
||||
const QString& resultName() const;
|
||||
void setResultName(const QString& name);
|
||||
bool needsToBeStored() const;
|
||||
bool mustBeCalculated() const;
|
||||
void setMustBeCalculated(bool mustCalculate);
|
||||
size_t gridScalarResultIndex() const;
|
||||
|
||||
const std::vector<RigEclipseTimeStepInfo>& timeStepInfos() const;
|
||||
void setTimeStepInfos(const std::vector<RigEclipseTimeStepInfo>& timeSteps);
|
||||
|
||||
std::vector<QDateTime> dates() const;
|
||||
std::vector<double> daysSinceSimulationStarts() const;
|
||||
std::vector<int> reportNumbers() const;
|
||||
|
||||
bool operator<(const RigEclipseResultInfo& rhs) const;
|
||||
|
||||
private:
|
||||
friend class RigCaseCellResultsData;
|
||||
void setResultType(RiaDefines::ResultCatType newType);
|
||||
void setResultName(const QString& name);
|
||||
bool mustBeCalculated() const;
|
||||
void setMustBeCalculated(bool mustCalculate);
|
||||
size_t gridScalarResultIndex() const;
|
||||
|
||||
const std::vector<RigEclipseTimeStepInfo>& timeStepInfos() const;
|
||||
void setTimeStepInfos(const std::vector<RigEclipseTimeStepInfo>& timeSteps);
|
||||
|
||||
RiaDefines::ResultCatType m_resultType;
|
||||
bool m_needsToBeStored;
|
||||
bool m_mustBeCalculated;
|
||||
|
||||
Reference in new issue
Block a user