Skip to content

Commit

Permalink
(#435) Renamed class
Browse files Browse the repository at this point in the history
  • Loading branch information
palhagen committed Sep 15, 2015
1 parent 01118fa commit 03e4b89
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 13 deletions.
4 changes: 2 additions & 2 deletions ApplicationCode/ProjectDataModel/CMakeLists_files.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ ${CEE_CURRENT_LIST_DIR}RimViewLinker.h
${CEE_CURRENT_LIST_DIR}RimViewLinkerCollection.h
${CEE_CURRENT_LIST_DIR}RimWellLogExtractionCurve.h
${CEE_CURRENT_LIST_DIR}RimWellLasFileInfo.h
${CEE_CURRENT_LIST_DIR}RimWellLasLog.h
${CEE_CURRENT_LIST_DIR}RimWellLog.h
)

set (SOURCE_GROUP_SOURCE_FILES
Expand Down Expand Up @@ -137,7 +137,7 @@ ${CEE_CURRENT_LIST_DIR}RimViewLinker.cpp
${CEE_CURRENT_LIST_DIR}RimViewLinkerCollection.cpp
${CEE_CURRENT_LIST_DIR}RimWellLogExtractionCurve.cpp
${CEE_CURRENT_LIST_DIR}RimWellLasFileInfo.cpp
${CEE_CURRENT_LIST_DIR}RimWellLasLog.cpp
${CEE_CURRENT_LIST_DIR}RimWellLog.cpp
)

list(APPEND CODE_HEADER_FILES
Expand Down
4 changes: 2 additions & 2 deletions ApplicationCode/ProjectDataModel/RimWellLasFileInfo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
/////////////////////////////////////////////////////////////////////////////////

#include "RimWellLasFileInfo.h"
#include "RimWellLasLog.h"
#include "RimWellLog.h"
#include "RimWellPath.h"
#include "RimWellPathCollection.h"

Expand Down Expand Up @@ -110,7 +110,7 @@ bool RimWellLasFileInfo::readFile()

for (size_t logIdx = 0; logIdx < wellLogNames.size(); logIdx++)
{
RimWellLasLog* wellLog = new RimWellLasLog();
RimWellLog* wellLog = new RimWellLog();
wellLog->setName(wellLogNames[logIdx]);
m_lasFileLogs.push_back(wellLog);
}
Expand Down
4 changes: 2 additions & 2 deletions ApplicationCode/ProjectDataModel/RimWellLasFileInfo.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
#include "cafPdmChildArrayField.h"


class RimWellLasLog;
class RimWellLog;
class QString;


Expand All @@ -49,7 +49,7 @@ class RimWellLasFileInfo : public caf::PdmObject
virtual caf::PdmFieldHandle* userDescriptionField() { return &m_name; }

private:
caf::PdmChildArrayField<RimWellLasLog*> m_lasFileLogs;
caf::PdmChildArrayField<RimWellLog*> m_lasFileLogs;

private:
caf::PdmField<QString> m_wellName;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,19 +17,19 @@
//
/////////////////////////////////////////////////////////////////////////////////

#include "RimWellLasLog.h"
#include "RimWellLog.h"

#include <QString>


CAF_PDM_SOURCE_INIT(RimWellLasLog, "WellLasLog");
CAF_PDM_SOURCE_INIT(RimWellLog, "WellLog");

//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
RimWellLasLog::RimWellLasLog()
RimWellLog::RimWellLog()
{
CAF_PDM_InitObject("Well LAS File Log", "", "", "");
CAF_PDM_InitObject("Well Log", "", "", "");

CAF_PDM_InitFieldNoDefault(&m_name, "Name", "", "", "", "");
m_name.uiCapability()->setUiHidden(true);
Expand All @@ -39,7 +39,7 @@ RimWellLasLog::RimWellLasLog()
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
void RimWellLasLog::setName(const QString& name)
void RimWellLog::setName(const QString& name)
{
m_name = name;
}
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@ class QString;
///
///
//==================================================================================================
class RimWellLasLog : public caf::PdmObject
class RimWellLog : public caf::PdmObject
{
CAF_PDM_HEADER_INIT;

public:
RimWellLasLog();
RimWellLog();

void setName(const QString& name);

Expand Down

0 comments on commit 03e4b89

Please sign in to comment.