refactor: move solver skeleton implementations to cpp
This commit is contained in:
@@ -3,26 +3,15 @@
|
||||
#include <fesa/core/ids.hpp>
|
||||
|
||||
#include <string>
|
||||
#include <utility>
|
||||
|
||||
namespace fesa::model {
|
||||
|
||||
class Material {
|
||||
public:
|
||||
Material(core::MaterialId id, std::string name)
|
||||
: id_(id), name_(std::move(name))
|
||||
{
|
||||
}
|
||||
Material(core::MaterialId id, std::string name);
|
||||
|
||||
core::MaterialId id() const
|
||||
{
|
||||
return id_;
|
||||
}
|
||||
|
||||
const std::string& name() const
|
||||
{
|
||||
return name_;
|
||||
}
|
||||
core::MaterialId id() const;
|
||||
const std::string& name() const;
|
||||
|
||||
private:
|
||||
core::MaterialId id_;
|
||||
|
||||
Reference in New Issue
Block a user