NanoTekSpice
DigitalElectronics
Setting.hpp
1 /*
2 ** EPITECH PROJECT, 2019
3 ** OOP_NanoTekSpice
4 ** File description:
5 ** Declaration of the Component class and its functions
6 */
7 
8 #if !defined(_SETTING_HPP)
9 #define _SETTING_HPP
10 
11 #include <vector>
12 #include <memory>
13 #include <string>
14 #include "Type.hpp"
15 
16 namespace Component
17 {
18  struct Link
19  {
20  std::string originName;
21  int originPin;
22  std::string destinationName;
23  int destinationPin;
24  };
25 
27  {
28  std::string name;
29  std::string value;
30  nts::Type type;
31  std::vector<Link> links;
32  };
33 } // Component
34 
35 
36 #endif // _SETTING_HPP
Definition: Setting.hpp:26
Definition: Component.hpp:17