Skip to content
Snippets Groups Projects
Commit b75e516c authored by Wuttke, Joachim's avatar Wuttke, Joachim
Browse files

rm -f IParametric.cpp

parent 37f4e1e0
No related branches found
No related tags found
1 merge request!294renamed IParametric -> INamed, and simplify
// ************************************************************************************************
//
// BornAgain: simulate and fit reflection and scattering
//
//! @file Param/Base/IParametric.cpp
//! @brief Implements interface IParametric.
//!
//! @homepage http://www.bornagainproject.org
//! @license GNU General Public License v3 or higher (see COPYING)
//! @copyright Forschungszentrum Jülich GmbH 2018
//! @authors Scientific Computing Group at MLZ (see CITATION, AUTHORS)
//
// ************************************************************************************************
#include "Param/Base/IParametric.h"
IParametric::IParametric(const std::string& name) : m_name{name} {}
IParametric::~IParametric() = default;
...@@ -25,8 +25,8 @@ class RealLimits; ...@@ -25,8 +25,8 @@ class RealLimits;
class IParametric { class IParametric {
public: public:
IParametric(const std::string& name = ""); IParametric(const std::string& name = "") : m_name{name} {}
virtual ~IParametric(); virtual ~IParametric() = default;
IParametric& operator=(const IParametric& other) = delete; IParametric& operator=(const IParametric& other) = delete;
......
...@@ -883,7 +883,7 @@ C++ includes: IParametric.h ...@@ -883,7 +883,7 @@ C++ includes: IParametric.h
%feature("docstring") IParametric::IParametric "IParametric::IParametric(const std::string &name=\"\") %feature("docstring") IParametric::IParametric "IParametric::IParametric(const std::string &name=\"\")
"; ";
%feature("docstring") IParametric::~IParametric "IParametric::~IParametric() %feature("docstring") IParametric::~IParametric "virtual IParametric::~IParametric()=default
"; ";
%feature("docstring") IParametric::getName "const std::string& IParametric::getName() const %feature("docstring") IParametric::getName "const std::string& IParametric::getName() const
...@@ -1199,10 +1199,10 @@ Returns distribution name for python-formatted text. ...@@ -1199,10 +1199,10 @@ Returns distribution name for python-formatted text.
"; ";
// File: namespace_0d4.xml // File: namespace_0d3.xml
// File: namespace_0d9.xml // File: namespace_0d8.xml
// File: namespaceNodeUtils.xml // File: namespaceNodeUtils.xml
...@@ -1212,9 +1212,6 @@ Returns a vector of triples (descendant, depth, parent) ...@@ -1212,9 +1212,6 @@ Returns a vector of triples (descendant, depth, parent)
"; ";
// File: IParametric_8cpp.xml
// File: IParametric_8h.xml // File: IParametric_8h.xml
......
...@@ -42675,7 +42675,7 @@ static PyMethodDef SwigMethods[] = { ...@@ -42675,7 +42675,7 @@ static PyMethodDef SwigMethods[] = {
""}, ""},
{ "delete_IParametric", _wrap_delete_IParametric, METH_O, "\n" { "delete_IParametric", _wrap_delete_IParametric, METH_O, "\n"
"delete_IParametric(IParametric self)\n" "delete_IParametric(IParametric self)\n"
"IParametric::~IParametric()\n" "virtual IParametric::~IParametric()=default\n"
"\n" "\n"
""}, ""},
{ "IParametric_getName", _wrap_IParametric_getName, METH_O, "\n" { "IParametric_getName", _wrap_IParametric_getName, METH_O, "\n"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment