#include "itemType.hpp" ItemType::ItemType(const std::string &name, int id, const std::string &comment, int size) : name(name), id(id), comment(comment), size(size) {} ItemType::ItemType(const ItemType &other) : name(other.getName()), id(other.getId()), comment(other.getComment()), size(other.getSize()) {} ItemType::~ItemType() { // Destructor does not need to do anything special for std::string // as it will automatically clean up the resources. }