From 6d3d89bfe03c83645a1ae093c5c85e794d431601 Mon Sep 17 00:00:00 2001 From: Rebecca Cox Date: Thu, 14 Sep 2017 17:59:53 +0200 Subject: [PATCH] #1813 Observed data: Geometry data model object --- .../ReservoirDataModel/CMakeLists_files.cmake | 2 + .../ReservoirDataModel/RigObservedData.cpp | 46 +++++++++++++++++++ .../ReservoirDataModel/RigObservedData.h | 35 ++++++++++++++ 3 files changed, 83 insertions(+) create mode 100644 ApplicationCode/ReservoirDataModel/RigObservedData.cpp create mode 100644 ApplicationCode/ReservoirDataModel/RigObservedData.h diff --git a/ApplicationCode/ReservoirDataModel/CMakeLists_files.cmake b/ApplicationCode/ReservoirDataModel/CMakeLists_files.cmake index 91ba5e8701..41de0ede60 100644 --- a/ApplicationCode/ReservoirDataModel/CMakeLists_files.cmake +++ b/ApplicationCode/ReservoirDataModel/CMakeLists_files.cmake @@ -53,6 +53,7 @@ ${CEE_CURRENT_LIST_DIR}RigHexIntersectionTools.h ${CEE_CURRENT_LIST_DIR}RigTimeHistoryResultAccessor.h ${CEE_CURRENT_LIST_DIR}RigCurveDataTools.h ${CEE_CURRENT_LIST_DIR}RigSummaryCaseData.h +${CEE_CURRENT_LIST_DIR}RigObservedData.h ${CEE_CURRENT_LIST_DIR}RigLasFileExporter.h ${CEE_CURRENT_LIST_DIR}RigSimulationWellCoordsAndMD.h ${CEE_CURRENT_LIST_DIR}RigFishbonesGeometry.h @@ -123,6 +124,7 @@ ${CEE_CURRENT_LIST_DIR}RigHexIntersectionTools.cpp ${CEE_CURRENT_LIST_DIR}RigTimeHistoryResultAccessor.cpp ${CEE_CURRENT_LIST_DIR}RigCurveDataTools.cpp ${CEE_CURRENT_LIST_DIR}RigSummaryCaseData.cpp +${CEE_CURRENT_LIST_DIR}RigObservedData.cpp ${CEE_CURRENT_LIST_DIR}RigLasFileExporter.cpp ${CEE_CURRENT_LIST_DIR}RigSimulationWellCoordsAndMD.cpp ${CEE_CURRENT_LIST_DIR}RigFishbonesGeometry.cpp diff --git a/ApplicationCode/ReservoirDataModel/RigObservedData.cpp b/ApplicationCode/ReservoirDataModel/RigObservedData.cpp new file mode 100644 index 0000000000..5c4176d4f4 --- /dev/null +++ b/ApplicationCode/ReservoirDataModel/RigObservedData.cpp @@ -0,0 +1,46 @@ +///////////////////////////////////////////////////////////////////////////////// +// +// 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. +// +///////////////////////////////////////////////////////////////////////////////// + +#include "RigObservedData.h" + +#include +#include + +//-------------------------------------------------------------------------------------------------- +/// +//-------------------------------------------------------------------------------------------------- +RigObservedData::RigObservedData(const QString& observedDataFileName) +{ + openOrReloadCase(observedDataFileName); +} + +//-------------------------------------------------------------------------------------------------- +/// +//-------------------------------------------------------------------------------------------------- +RigObservedData::~RigObservedData() +{ + +} + +//-------------------------------------------------------------------------------------------------- +/// +//-------------------------------------------------------------------------------------------------- +void RigObservedData::openOrReloadCase(const QString& observedDataFileName) +{ + +} diff --git a/ApplicationCode/ReservoirDataModel/RigObservedData.h b/ApplicationCode/ReservoirDataModel/RigObservedData.h new file mode 100644 index 0000000000..e3081fcb0a --- /dev/null +++ b/ApplicationCode/ReservoirDataModel/RigObservedData.h @@ -0,0 +1,35 @@ +///////////////////////////////////////////////////////////////////////////////// +// +// 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 "cvfBase.h" +#include "cvfObject.h" + +class QString; + +class RigObservedData: public cvf::Object +{ +public: + explicit RigObservedData(const QString& observedDataFileName ); + ~RigObservedData(); + + void openOrReloadCase(const QString& observedDataFileName); + +private: +};