mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#1813 Ascii data model object
This commit is contained in:
parent
6d3d89bfe0
commit
3a0b0db8d1
@ -92,6 +92,7 @@ ${CEE_CURRENT_LIST_DIR}RimDialogData.h
|
|||||||
${CEE_CURRENT_LIST_DIR}RimTimeStepFilter.h
|
${CEE_CURRENT_LIST_DIR}RimTimeStepFilter.h
|
||||||
${CEE_CURRENT_LIST_DIR}RimObservedData.h
|
${CEE_CURRENT_LIST_DIR}RimObservedData.h
|
||||||
${CEE_CURRENT_LIST_DIR}RimObservedDataCollection.h
|
${CEE_CURRENT_LIST_DIR}RimObservedDataCollection.h
|
||||||
|
${CEE_CURRENT_LIST_DIR}RimAsciiObservedData.h
|
||||||
)
|
)
|
||||||
|
|
||||||
if (RESINSIGHT_ENABLE_PROTOTYPE_FEATURE_FRACTURES)
|
if (RESINSIGHT_ENABLE_PROTOTYPE_FEATURE_FRACTURES)
|
||||||
@ -189,6 +190,7 @@ ${CEE_CURRENT_LIST_DIR}RimDialogData.cpp
|
|||||||
${CEE_CURRENT_LIST_DIR}RimTimeStepFilter.cpp
|
${CEE_CURRENT_LIST_DIR}RimTimeStepFilter.cpp
|
||||||
${CEE_CURRENT_LIST_DIR}RimObservedData.cpp
|
${CEE_CURRENT_LIST_DIR}RimObservedData.cpp
|
||||||
${CEE_CURRENT_LIST_DIR}RimObservedDataCollection.cpp
|
${CEE_CURRENT_LIST_DIR}RimObservedDataCollection.cpp
|
||||||
|
${CEE_CURRENT_LIST_DIR}RimAsciiObservedData.cpp
|
||||||
)
|
)
|
||||||
|
|
||||||
if (RESINSIGHT_ENABLE_PROTOTYPE_FEATURE_FRACTURES)
|
if (RESINSIGHT_ENABLE_PROTOTYPE_FEATURE_FRACTURES)
|
||||||
|
36
ApplicationCode/ProjectDataModel/RimAsciiObservedData.cpp
Normal file
36
ApplicationCode/ProjectDataModel/RimAsciiObservedData.cpp
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
/////////////////////////////////////////////////////////////////////////////////
|
||||||
|
//
|
||||||
|
// 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 <http://www.gnu.org/licenses/gpl.html>
|
||||||
|
// for more details.
|
||||||
|
//
|
||||||
|
/////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
|
#include "RimAsciiObservedData.h"
|
||||||
|
|
||||||
|
CAF_PDM_SOURCE_INIT(RimAsciiObservedData, "AsciiObservedData");
|
||||||
|
|
||||||
|
//--------------------------------------------------------------------------------------------------
|
||||||
|
///
|
||||||
|
//--------------------------------------------------------------------------------------------------
|
||||||
|
RimAsciiObservedData::RimAsciiObservedData()
|
||||||
|
{
|
||||||
|
CAF_PDM_InitObject("Ascii file", ":/Default.png", "", "");
|
||||||
|
}
|
||||||
|
|
||||||
|
//--------------------------------------------------------------------------------------------------
|
||||||
|
///
|
||||||
|
//--------------------------------------------------------------------------------------------------
|
||||||
|
RimAsciiObservedData::~RimAsciiObservedData()
|
||||||
|
{
|
||||||
|
}
|
40
ApplicationCode/ProjectDataModel/RimAsciiObservedData.h
Normal file
40
ApplicationCode/ProjectDataModel/RimAsciiObservedData.h
Normal file
@ -0,0 +1,40 @@
|
|||||||
|
/////////////////////////////////////////////////////////////////////////////////
|
||||||
|
//
|
||||||
|
// 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 <http://www.gnu.org/licenses/gpl.html>
|
||||||
|
// for more details.
|
||||||
|
//
|
||||||
|
/////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
|
#pragma once
|
||||||
|
|
||||||
|
#include "RimObservedData.h"
|
||||||
|
|
||||||
|
#include "cafPdmObject.h"
|
||||||
|
#include "cafPdmField.h"
|
||||||
|
|
||||||
|
//==================================================================================================
|
||||||
|
//
|
||||||
|
//==================================================================================================
|
||||||
|
class RimAsciiObservedData : public RimObservedData
|
||||||
|
{
|
||||||
|
CAF_PDM_HEADER_INIT;
|
||||||
|
public:
|
||||||
|
RimAsciiObservedData();
|
||||||
|
~RimAsciiObservedData();
|
||||||
|
|
||||||
|
protected:
|
||||||
|
|
||||||
|
private:
|
||||||
|
|
||||||
|
};
|
Loading…
Reference in New Issue
Block a user