mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
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:
@@ -60,7 +60,7 @@ public:
|
||||
|
||||
RiaDefines::PhaseType addressPhaseType() const;
|
||||
|
||||
QString keywordForCategory( RifEclipseSummaryAddress::SummaryVarCategory category ) const;
|
||||
QString keywordForCategory( RifEclipseSummaryAddressDefines::SummaryVarCategory category ) const;
|
||||
|
||||
protected:
|
||||
void defineUiOrdering( QString uiConfigName, caf::PdmUiOrdering& uiOrdering ) override;
|
||||
@@ -68,7 +68,7 @@ protected:
|
||||
QString iconResourceText() const;
|
||||
|
||||
private:
|
||||
caf::PdmField<caf::AppEnum<RifEclipseSummaryAddress::SummaryVarCategory>> m_category;
|
||||
caf::PdmField<caf::AppEnum<RifEclipseSummaryAddressDefines::SummaryVarCategory>> m_category;
|
||||
|
||||
caf::PdmField<QString> m_vectorName;
|
||||
caf::PdmField<int> m_regionNumber;
|
||||
|
Reference in New Issue
Block a user