diff --git a/Param/Base/Unit.h b/Param/Base/Unit.h deleted file mode 100644 index 49f7712f747f6352b78700225ef620395eada08f..0000000000000000000000000000000000000000 --- a/Param/Base/Unit.h +++ /dev/null @@ -1,38 +0,0 @@ -// ************************************************************************************************ -// -// BornAgain: simulate and fit reflection and scattering -// -//! @file Param/Base/Unit.h -//! @brief Defines class Unit. -//! -//! @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) -// -// ************************************************************************************************ - -#ifdef SWIG -#error no need to expose this header to Swig -#endif - -#ifndef USER_API -#ifndef BORNAGAIN_PARAM_BASE_UNIT_H -#define BORNAGAIN_PARAM_BASE_UNIT_H - -#include <string> - -//! A physical unit. - -class Unit { -public: - explicit Unit(const std::string& name = "") : m_name(name) {} - void setUnit(const std::string& name) { m_name = name; } - const std::string& getName() const { return m_name; } - -private: - std::string m_name; -}; - -#endif // BORNAGAIN_PARAM_BASE_UNIT_H -#endif // USER_API