2019-10-29 02:53:14 -05:00
|
|
|
/////////////////////////////////////////////////////////////////////////////////
|
|
|
|
//
|
|
|
|
// Copyright (C) 2019- Equinor 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 <http://www.gnu.org/licenses/gpl.html>
|
|
|
|
// for more details.
|
|
|
|
//
|
|
|
|
/////////////////////////////////////////////////////////////////////////////////
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "cafPdmChildArrayField.h"
|
|
|
|
#include "cafPdmObject.h"
|
|
|
|
|
2020-01-16 05:32:40 -06:00
|
|
|
class RimMultiPlot;
|
2019-10-29 02:53:14 -05:00
|
|
|
|
|
|
|
//==================================================================================================
|
|
|
|
///
|
|
|
|
///
|
|
|
|
//==================================================================================================
|
2019-11-13 05:22:50 -06:00
|
|
|
class RimMultiPlotCollection : public caf::PdmObject
|
2019-10-29 02:53:14 -05:00
|
|
|
{
|
|
|
|
CAF_PDM_HEADER_INIT;
|
|
|
|
|
|
|
|
public:
|
2019-11-13 05:22:50 -06:00
|
|
|
RimMultiPlotCollection();
|
|
|
|
~RimMultiPlotCollection() override;
|
2019-10-29 02:53:14 -05:00
|
|
|
|
|
|
|
void deleteAllChildObjects();
|
|
|
|
|
2020-01-16 05:32:40 -06:00
|
|
|
std::vector<RimMultiPlot*> multiPlots() const;
|
|
|
|
RimMultiPlot* createMultiPlot();
|
|
|
|
void addMultiPlot( RimMultiPlot* plot );
|
2019-10-29 02:53:14 -05:00
|
|
|
|
|
|
|
private:
|
2020-01-16 05:32:40 -06:00
|
|
|
caf::PdmChildArrayField<RimMultiPlot*> m_multiPlots;
|
2019-10-29 02:53:14 -05:00
|
|
|
};
|