///////////////////////////////////////////////////////////////////////////////// // // Copyright (C) 2017 Statoil ASA // // ResInsight is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // // ResInsight is distributed in the hope that it will be useful, but WITHOUT ANY // WARRANTY; without even the implied warranty of MERCHANTABILITY or // FITNESS FOR A PARTICULAR PURPOSE. // // See the GNU General Public License at // for more details. // ///////////////////////////////////////////////////////////////////////////////// #pragma once #include "cafPdmChildField.h" #include "cafPdmField.h" #include "cafPdmObject.h" #include "cafPdmPointer.h" #include "cafPdmPtrField.h" #include "RiaDefines.h" #include "RifEclipseSummaryAddressQMetaType.h" #include "RimPlotCurve.h" #include "cafAppEnum.h" class RifSummaryReaderInterface; class RimSummaryCase; class RimSummaryFilter_OBSOLETE; class RiuQwtPlotCurve; class RimSummaryCurveAutoName; class RimSummaryAddress : public caf::PdmObject { CAF_PDM_HEADER_INIT; public: RimSummaryAddress(); ~RimSummaryAddress() override; void setAddress( const RifEclipseSummaryAddress& addr ); RifEclipseSummaryAddress address(); void ensureIdIsAssigned(); RiaDefines::PhaseType addressPhaseType() const; private: caf::PdmField> m_category; caf::PdmField m_quantityName; caf::PdmField m_regionNumber; caf::PdmField m_regionNumber2; caf::PdmField m_wellGroupName; caf::PdmField m_wellName; caf::PdmField m_wellSegmentNumber; caf::PdmField m_lgrName; caf::PdmField m_cellI; caf::PdmField m_cellJ; caf::PdmField m_cellK; caf::PdmField m_aquiferNumber; caf::PdmField m_isErrorResult; caf::PdmField m_calculationId; };