14 lines
467 B
C++
14 lines
467 B
C++
#include "instance.h"
|
|
|
|
namespace domain {
|
|
|
|
BusInstance::BusInstance(std::string name, std::pair<int, int> position, Bus bus, int size)
|
|
: name(name), position(position), bus(bus), size(size)
|
|
{}
|
|
ComponentInstance::ComponentInstance(std::string name, std::vector<InstanceAttribute> attributes, std::pair<int, int> position, Component component)
|
|
: name(name), attributes(std::move(attributes)), position(position), component(component)
|
|
{}
|
|
|
|
|
|
} // namespace domain
|