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