#include #include namespace hex::dp { Attribute::Attribute(IOType ioType, Type type, std::string unlocalizedName) : m_id(SharedData::dataProcessorAttrIdCounter++), m_ioType(ioType), m_type(type), m_unlocalizedName(std::move(unlocalizedName)) { } Attribute::~Attribute() { for (auto &[linkId, attr] : this->getConnectedAttributes()) attr->removeConnectedAttribute(linkId); } }