Reduce memory use for summary address object

* Use one common variable for object name, use three ints
* Move enums to separate file
* Refactor use of enums
* Move implementation to cpp
* Refactor includes
This commit is contained in:
Magne Sjaastad authored and GitHub committed 2023-08-21 07:12:08 +02:00
1 parent 1b886c1a1e
commit 96b3bef878
70 files changed
+1252 -1038

No files matched your search

@@ -18,6 +18,8 @@
#pragma once
#include "RifEclipseSummaryAddressDefines.h"
#include "RimAbstractPlotCollection.h"
#include "RimSummaryTable.h"
@@ -49,9 +51,9 @@ public:
void removeTable( RimSummaryTable* table );
RimSummaryTable* createDefaultSummaryTable();
RimSummaryTable* createSummaryTableFromCategoryAndVectorName( RimSummaryCase* summaryCase,
RifEclipseSummaryAddress::SummaryVarCategory category,
const QString& vectorName );
RimSummaryTable* createSummaryTableFromCategoryAndVectorName( RimSummaryCase* summaryCase,
RifEclipseSummaryAddressDefines::SummaryVarCategory category,
const QString& vectorName );
private:
caf::PdmChildArrayField<RimSummaryTable*> m_summaryTables;