#include "instance.h" namespace domain { BusInstance::BusInstance(std::string name, std::pair position, Bus bus, int size) : name(name), position(position), bus(bus), size(size) {} BusInstance::BusInstance(std::string name, Bus bus): name(name), bus(bus), position(0,0), size(0) {} ComponentInstance::ComponentInstance(std::string name, std::vector attributes, std::pair position, Component component) : name(name), attributes(std::move(attributes)), position(position), component(component) {} } // namespace domain