2022-04-05 21:48:07 +00:00
|
|
|
#include "instance.h"
|
|
|
|
|
|
|
|
namespace domain {
|
|
|
|
|
|
|
|
BusInstance::BusInstance(std::string name, std::pair<int, int> position, Bus bus, int size)
|
2022-05-08 13:47:47 +00:00
|
|
|
: name(name), position(position), bus(bus), size(size)
|
2022-04-05 21:48:07 +00:00
|
|
|
{}
|
2022-05-07 12:19:43 +00:00
|
|
|
ComponentInstance::ComponentInstance(std::string name, std::vector<InstanceAttribute> attributes, std::pair<int, int> position, Component component)
|
2022-05-08 13:47:47 +00:00
|
|
|
: name(name), attributes(std::move(attributes)), position(position), component(component)
|
2022-04-05 21:48:07 +00:00
|
|
|
{}
|
|
|
|
|
|
|
|
|
|
|
|
} // namespace domain
|