#1813 Observed data: Rename Observed data child array

This commit is contained in:
Rebecca Cox 2017-09-15 13:18:06 +02:00
parent 3a0b0db8d1
commit 1a6e3447a7
2 changed files with 6 additions and 4 deletions

View File

@ -16,6 +16,8 @@
//
/////////////////////////////////////////////////////////////////////////////////
#pragma once
#include "RimObservedDataCollection.h"
#include "RimObservedData.h"
@ -28,9 +30,9 @@ RimObservedDataCollection::RimObservedDataCollection()
{
CAF_PDM_InitObject("Observed Data", ":/Folder.png", "", "");
CAF_PDM_InitFieldNoDefault(&m_observedData, "ObservedData", "", "", "", "");
CAF_PDM_InitFieldNoDefault(&m_observedDataArray, "ObservedDataArray", "", "", "", "");
m_observedData.uiCapability()->setUiHidden(true);
m_observedDataArray.uiCapability()->setUiHidden(true);
}
//--------------------------------------------------------------------------------------------------
@ -38,5 +40,5 @@ RimObservedDataCollection::RimObservedDataCollection()
//--------------------------------------------------------------------------------------------------
RimObservedDataCollection::~RimObservedDataCollection()
{
m_observedData.deleteAllChildObjects();
m_observedDataArray.deleteAllChildObjects();
}

View File

@ -33,5 +33,5 @@ public:
virtual ~RimObservedDataCollection();
private:
caf::PdmChildArrayField<RimObservedData*> m_observedData;
caf::PdmChildArrayField<RimObservedData*> m_observedDataArray;
};