mirror of
https://github.com/OPM/ResInsight.git
synced 2024-12-29 10:21:54 -06:00
Move explicit instansiations to separate file
This commit is contained in:
parent
a522a496f8
commit
84006bc02a
@ -50,6 +50,7 @@
|
||||
|
||||
#include "RicWellLogTools.h"
|
||||
|
||||
#include "cafPdmObjectGroup.h"
|
||||
#include "cafPdmUiItem.h"
|
||||
#include "cafPdmUiTreeView.h"
|
||||
#include "cafSelectionManager.h"
|
||||
|
@ -18,7 +18,6 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "cafPdmObjectGroup.h"
|
||||
#include "cafPdmPointer.h"
|
||||
#include "cafPdmUiDragDropInterface.h"
|
||||
|
||||
@ -28,6 +27,7 @@ namespace caf
|
||||
{
|
||||
class PdmObjectHandle;
|
||||
class PdmUiTreeView;
|
||||
class PdmObjectGroup;
|
||||
} // namespace caf
|
||||
|
||||
class RimMultiPlot;
|
||||
|
@ -69,6 +69,8 @@ set(PROJECT_FILES
|
||||
cafAsyncObjectDeleter.inl
|
||||
cafAsyncWorkerManager.h
|
||||
cafAsyncWorkerManager.cpp
|
||||
cafPdmFieldInstanciations.h
|
||||
cafPdmFieldInstanciations.cpp
|
||||
)
|
||||
|
||||
add_library(${PROJECT_NAME} ${PROJECT_FILES})
|
||||
|
@ -0,0 +1,24 @@
|
||||
/////////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// Copyright (C) 2014 Ceetron Solutions AS
|
||||
//
|
||||
// <APPLICATION_NAME> 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.
|
||||
//
|
||||
// <APPLICATION_NAME> 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 "cafPdmFieldInstanciations.h"
|
||||
|
||||
template class caf::PdmDataValueField<int>;
|
||||
template class caf::PdmDataValueField<bool>;
|
||||
template class caf::PdmDataValueField<QString>;
|
||||
template class caf::PdmDataValueField<double>;
|
@ -0,0 +1,26 @@
|
||||
/////////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// Copyright (C) 2014 Ceetron Solutions AS
|
||||
//
|
||||
// <APPLICATION_NAME> 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.
|
||||
//
|
||||
// <APPLICATION_NAME> 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 "cafPdmDataValueField.h"
|
||||
|
||||
extern template class caf::PdmDataValueField<int>;
|
||||
extern template class caf::PdmDataValueField<bool>;
|
||||
extern template class caf::PdmDataValueField<QString>;
|
||||
extern template class caf::PdmDataValueField<double>;
|
@ -64,8 +64,3 @@ PdmObjectCollection::~PdmObjectCollection()
|
||||
}
|
||||
|
||||
} // End of namespace caf
|
||||
|
||||
template class caf::PdmDataValueField<int>;
|
||||
template class caf::PdmDataValueField<bool>;
|
||||
template class caf::PdmDataValueField<QString>;
|
||||
template class caf::PdmDataValueField<double>;
|
||||
|
@ -80,8 +80,3 @@ public:
|
||||
};
|
||||
|
||||
} // End of namespace caf
|
||||
|
||||
extern template class caf::PdmDataValueField<int>;
|
||||
extern template class caf::PdmDataValueField<bool>;
|
||||
extern template class caf::PdmDataValueField<QString>;
|
||||
extern template class caf::PdmDataValueField<double>;
|
||||
|
Loading…
Reference in New Issue
Block a user