mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06: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:
@@ -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