#ifndef DOMAIN_SCHEMA_H #define DOMAIN_SCHEMA_H #include "connection_instance.h" #include "instance.h" #include namespace domain { class Schema { public: Schema() = default; std::vector> busInstances; std::vector> componentInstances; std::vector> connections; BusInstance *getBusInstance(std::string &name); ComponentInstance *getComponentInstance(std::string &name); bool hasConnection(string &component, string &pin); ConnectionInstance *getConnection(string &component, string &pin); }; } // namespace domain #endif // DOMAIN_SCHEMA_H