#include "pin.h" namespace domain { Pin::Pin(std::string name, PinType type, std::string tooltip, std::optional connection, domain::ui::Pin pin, std::optional> wires) : name(name), type(type), tooltip(tooltip), connection(connection), displayPin(pin), wires(wires) {} std::string &Pin::getName() { return name; } Pin::PinType Pin::getType() { return type; } std::string Pin::getTooltip() { return tooltip; } ui::Pin &Pin::getDisplayPin() { return displayPin; } std::optional Pin::getConnection() { return connection; } std::optional> &Pin::getWires() { return wires; } } // namespace domain