# ImportMentor `class ImportMentor` โ€” inherits [ImportBase](../classes/ImportBase.md) Defined in [import_mentor.hpp:8](../../../../src/imports/import_mentor.hpp#L8) ## Public Functions ### `ImportMentor(std::string filename)` ๐Ÿ“ [import_mentor.hpp:11](../../../../src/imports/import_mentor.hpp#L11) Constructor for [ImportMentor](../classes/ImportMentor.md).. Initializes the base class with the provided filename. **Parameters** - `filename` โ€” Name of the file to be imported. ### `void parse(Signals *signals) override` ๐Ÿ“ [import_mentor.hpp:12](../../../../src/imports/import_mentor.hpp#L12) Parses the file to extract parts, pins, and signals. This method reads the file line by line, identifies parts and pins using regular expressions, and associates them with signals. **Parameters** - `signals` โ€” Pointer to the [Signals](../classes/Signals.md) object used for managing signal connections. ### `~ImportMentor()` ๐Ÿ“ [import_mentor.hpp:13](../../../../src/imports/import_mentor.hpp#L13) Destructor for [ImportMentor](../classes/ImportMentor.md).. Ensures proper cleanup by calling the base class destructor. --- โ† [Back to classes](index.md) ยท [Top](../index.md)