#ifndef DOMAIN_INSTANCE_H #define DOMAIN_INSTANCE_H #include "bus.h" #include "component.h" #include "instanceattribute.h" #include #include namespace domain { class BusInstance { public: std::string name; std::pair position; Bus bus; int size; BusInstance(std::string name, Bus bus); BusInstance(std::string name, std::pair position, Bus bus, int size = -1); virtual ~BusInstance() = default; }; class ComponentInstance { public: std::string name; std::vector attributes; std::pair position; Component component; ComponentInstance(std::string name, std::vector attributes, std::pair position, Component component); virtual ~ComponentInstance() = default; }; } // namespace domain #endif // DOMAIN_INSTANCE_H