#ifndef _PARTS_HPP_ #define _PARTS_HPP_ #include "syselmts.hpp" #include "pins.hpp" #pragma once class Module; ///< Forward declaration of the Module class. class Part : public SystemElementContainer { public: Part(std::string name); ~Part(); Module *prnt; ///< Pointer to the parent module. std::string connector_type; ///< Tag used by the transform registry; empty = untyped. void add(Pin *pin) override; }; class Parts : public SystemElementContainer { public: Parts(void); Parts(std::vector parts); }; #endif // _PARTS_HPP_