\doxysection{DSN.\+hpp}
\hypertarget{DSN_8hpp_source}{}\label{DSN_8hpp_source}\index{/home/chr/devel/PhD/Environment/pub/PCBEnv/pcbenv/cxx/Loaders/DSN.hpp@{/home/chr/devel/PhD/Environment/pub/PCBEnv/pcbenv/cxx/Loaders/DSN.hpp}}

\begin{DoxyCode}{0}
\DoxyCodeLine{00001\ \textcolor{preprocessor}{\#ifndef\ GYM\_PCB\_LOADERS\_DSN\_H}}
\DoxyCodeLine{00002\ \textcolor{preprocessor}{\#define\ GYM\_PCB\_LOADERS\_DSN\_H}}
\DoxyCodeLine{00003\ }
\DoxyCodeLine{00004\ \textcolor{preprocessor}{\#include\ <map>}}
\DoxyCodeLine{00005\ \textcolor{preprocessor}{\#include\ <set>}}
\DoxyCodeLine{00006\ \textcolor{preprocessor}{\#include\ <string>}}
\DoxyCodeLine{00007\ \textcolor{preprocessor}{\#include\ <vector>}}
\DoxyCodeLine{00008\ }
\DoxyCodeLine{00009\ \textcolor{keyword}{namespace\ }dsn\ \{}
\DoxyCodeLine{00010\ }
\DoxyCodeLine{00011\ \textcolor{keyword}{struct\ }\mbox{\hyperlink{structdsn_1_1Placement}{Placement}};}
\DoxyCodeLine{00012\ }
\DoxyCodeLine{00013\ \textcolor{keyword}{struct\ }\mbox{\hyperlink{structdsn_1_1BBox}{BBox}}}
\DoxyCodeLine{00014\ \{}
\DoxyCodeLine{00015\ \ \ \ \ \textcolor{keywordtype}{double}\ xmin;}
\DoxyCodeLine{00016\ \ \ \ \ \textcolor{keywordtype}{double}\ ymin;}
\DoxyCodeLine{00017\ \ \ \ \ \textcolor{keywordtype}{double}\ xmax;}
\DoxyCodeLine{00018\ \ \ \ \ \textcolor{keywordtype}{double}\ ymax;}
\DoxyCodeLine{00019\ \ \ \ \ \textcolor{keywordtype}{double}\ minExtent()\textcolor{keyword}{\ const\ }\{\ \textcolor{keywordflow}{return}\ std::min(xmax\ -\/\ xmin,\ ymax\ -\/\ ymin);\ \}}
\DoxyCodeLine{00020\ \ \ \ \ \textcolor{keywordtype}{double}\ maxExtent()\textcolor{keyword}{\ const\ }\{\ \textcolor{keywordflow}{return}\ std::max(xmax\ -\/\ xmin,\ ymax\ -\/\ ymin);\ \}}
\DoxyCodeLine{00021\ \};}
\DoxyCodeLine{00022\ }
\DoxyCodeLine{00023\ \mbox{\hyperlink{structdsn_1_1BBox}{BBox}}\ get\_bounding\_box(\textcolor{keyword}{const}\ std::vector<double>\ \&xy,\ \textcolor{keywordtype}{double}\ expansion);}
\DoxyCodeLine{00024\ }
\DoxyCodeLine{00025\ \textcolor{keyword}{struct\ }\mbox{\hyperlink{structdsn_1_1PCB}{PCB}}}
\DoxyCodeLine{00026\ \{}
\DoxyCodeLine{00027\ \ \ \ \ std::string\ str()\ \textcolor{keyword}{const};}
\DoxyCodeLine{00028\ }
\DoxyCodeLine{00029\ \ \ \ \ std::string\ name;}
\DoxyCodeLine{00030\ \ \ \ \ \textcolor{keywordtype}{int}\ unit\_ex;}
\DoxyCodeLine{00031\ \ \ \ \ \textcolor{keywordtype}{int}\ resolution\_ex;}
\DoxyCodeLine{00032\ \ \ \ \ \textcolor{keywordtype}{double}\ unit\{1.0\};}
\DoxyCodeLine{00033\ \ \ \ \ \textcolor{keywordtype}{double}\ resolution;}
\DoxyCodeLine{00034\ \};}
\DoxyCodeLine{00035\ }
\DoxyCodeLine{00036\ \textcolor{keyword}{struct\ }\mbox{\hyperlink{structdsn_1_1Layer}{Layer}}}
\DoxyCodeLine{00037\ \{}
\DoxyCodeLine{00038\ \ \ \ \ std::string\ str()\ \textcolor{keyword}{const};}
\DoxyCodeLine{00039\ }
\DoxyCodeLine{00040\ \ \ \ \ std::string\ name;}
\DoxyCodeLine{00041\ \ \ \ \ std::string\ type;}
\DoxyCodeLine{00042\ \ \ \ \ \textcolor{keywordtype}{int}\ copper\_index\{-\/1\};}
\DoxyCodeLine{00043\ \ \ \ \ \textcolor{keywordtype}{int}\ kicad\_index\{-\/1\};}
\DoxyCodeLine{00044\ \ \ \ \ \textcolor{keywordtype}{char}\ side\{\textcolor{charliteral}{'m'}\};}
\DoxyCodeLine{00045\ }
\DoxyCodeLine{00046\ \ \ \ \ \textcolor{keywordtype}{bool}\ operator<(\textcolor{keyword}{const}\ \mbox{\hyperlink{structdsn_1_1Layer}{Layer}}\ \&L)\textcolor{keyword}{\ const}}
\DoxyCodeLine{00047\ \textcolor{keyword}{\ \ \ \ }\{}
\DoxyCodeLine{00048\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{if}\ (side\ ==\ \textcolor{charliteral}{'t'}\ \&\&\ L.side\ !=\ \textcolor{charliteral}{'t'})}
\DoxyCodeLine{00049\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ \textcolor{keyword}{true};}
\DoxyCodeLine{00050\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{if}\ (side\ ==\ \textcolor{charliteral}{'b'}\ \&\&\ L.side\ !=\ \textcolor{charliteral}{'b'})}
\DoxyCodeLine{00051\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ \textcolor{keyword}{false};}
\DoxyCodeLine{00052\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{if}\ (side\ ==\ \textcolor{charliteral}{'i'}\ \&\&\ L.side\ !=\ \textcolor{charliteral}{'i'})}
\DoxyCodeLine{00053\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ L.side\ ==\ \textcolor{charliteral}{'b'};}
\DoxyCodeLine{00054\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{if}\ (kicad\_index\ !=\ L.kicad\_index)}
\DoxyCodeLine{00055\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ kicad\_index\ <\ L.kicad\_index;}
\DoxyCodeLine{00056\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ name\ <\ L.name;}
\DoxyCodeLine{00057\ \ \ \ \ \}}
\DoxyCodeLine{00058\ \};}
\DoxyCodeLine{00059\ }
\DoxyCodeLine{00060\ \textcolor{keyword}{struct\ }\mbox{\hyperlink{structdsn_1_1Segment}{Segment}}}
\DoxyCodeLine{00061\ \{}
\DoxyCodeLine{00062\ \ \ \ \ \textcolor{keywordtype}{double}\ x0,\ y0,\ x1,\ y1;}
\DoxyCodeLine{00063\ \ \ \ \ \textcolor{keywordtype}{double}\ w;}
\DoxyCodeLine{00064\ \ \ \ \ \textcolor{keywordtype}{int}\ z;}
\DoxyCodeLine{00065\ \};}
\DoxyCodeLine{00066\ }
\DoxyCodeLine{00067\ \textcolor{keyword}{struct\ }\mbox{\hyperlink{structdsn_1_1Via}{Via}}}
\DoxyCodeLine{00068\ \{}
\DoxyCodeLine{00069\ \ \ \ \ \textcolor{keywordtype}{double}\ dia;}
\DoxyCodeLine{00070\ \ \ \ \ \textcolor{keywordtype}{double}\ drill;}
\DoxyCodeLine{00071\ \ \ \ \ \textcolor{keywordtype}{double}\ x,\ y;}
\DoxyCodeLine{00072\ \ \ \ \ \textcolor{keywordtype}{int}\ z0,\ z1;}
\DoxyCodeLine{00073\ \};}
\DoxyCodeLine{00074\ }
\DoxyCodeLine{00075\ \textcolor{keyword}{struct\ }\mbox{\hyperlink{structdsn_1_1Track}{Track}}}
\DoxyCodeLine{00076\ \{}
\DoxyCodeLine{00077\ \ \ \ \ \textcolor{keywordtype}{double}\ start\_x,\ start\_y;}
\DoxyCodeLine{00078\ \ \ \ \ \textcolor{keywordtype}{double}\ end\_x,\ end\_y;}
\DoxyCodeLine{00079\ \ \ \ \ \textcolor{keywordtype}{int}\ start\_z;}
\DoxyCodeLine{00080\ \ \ \ \ \textcolor{keywordtype}{int}\ end\_z;}
\DoxyCodeLine{00081\ \ \ \ \ \textcolor{keywordtype}{double}\ default\_width;}
\DoxyCodeLine{00082\ \ \ \ \ \textcolor{keywordtype}{double}\ default\_via\_diameter;}
\DoxyCodeLine{00083\ \ \ \ \ std::vector<Segment>\ segments;}
\DoxyCodeLine{00084\ \ \ \ \ std::vector<Via>\ vias;}
\DoxyCodeLine{00085\ \};}
\DoxyCodeLine{00086\ }
\DoxyCodeLine{00087\ \textcolor{keyword}{struct\ }\mbox{\hyperlink{structdsn_1_1Connection}{Connection}}}
\DoxyCodeLine{00088\ \{}
\DoxyCodeLine{00089\ \ \ \ \ std::string\ src\_pin;}
\DoxyCodeLine{00090\ \ \ \ \ std::string\ dst\_pin;}
\DoxyCodeLine{00091\ \ \ \ \ \textcolor{keywordtype}{bool}\ has\_src\_pin\{\textcolor{keyword}{false}\};}
\DoxyCodeLine{00092\ \ \ \ \ \textcolor{keywordtype}{bool}\ has\_dst\_pin\{\textcolor{keyword}{false}\};}
\DoxyCodeLine{00093\ \ \ \ \ \textcolor{keywordtype}{bool}\ has\_src\{\textcolor{keyword}{false}\};}
\DoxyCodeLine{00094\ \ \ \ \ \textcolor{keywordtype}{bool}\ has\_dst\{\textcolor{keyword}{false}\};}
\DoxyCodeLine{00095\ \ \ \ \ \textcolor{keywordtype}{double}\ x0,\ y0;}
\DoxyCodeLine{00096\ \ \ \ \ \textcolor{keywordtype}{double}\ x1,\ y1;}
\DoxyCodeLine{00097\ \ \ \ \ \textcolor{keywordtype}{int}\ z0,\ z1;}
\DoxyCodeLine{00098\ \ \ \ \ \textcolor{keywordtype}{double}\ clearance;}
\DoxyCodeLine{00099\ \ \ \ \ \textcolor{keywordtype}{double}\ ref\_len\{0.0\};}
\DoxyCodeLine{00100\ \ \ \ \ std::vector<Track>\ tracks;}
\DoxyCodeLine{00101\ \};}
\DoxyCodeLine{00102\ }
\DoxyCodeLine{00103\ \textcolor{keyword}{struct\ }\mbox{\hyperlink{structdsn_1_1Net}{Net}}}
\DoxyCodeLine{00104\ \{}
\DoxyCodeLine{00105\ \ \ \ \ std::string\ str()\ \textcolor{keyword}{const};}
\DoxyCodeLine{00106\ }
\DoxyCodeLine{00107\ \ \ \ \ std::string\ name;}
\DoxyCodeLine{00108\ \ \ \ \ std::string\ klass;}
\DoxyCodeLine{00109\ \ \ \ \ \textcolor{keywordtype}{int}\ index\{-\/1\};}
\DoxyCodeLine{00110\ \ \ \ \ std::set<std::string>\ pins;}
\DoxyCodeLine{00111\ \ \ \ \ \textcolor{keywordtype}{double}\ clearance\{0.0\};}
\DoxyCodeLine{00112\ \ \ \ \ \textcolor{keywordtype}{double}\ via\_diameter\{0.0\};}
\DoxyCodeLine{00113\ \ \ \ \ \textcolor{keywordtype}{double}\ width\{0.0\};}
\DoxyCodeLine{00114\ \ \ \ \ std::vector<Segment>\ segments;}
\DoxyCodeLine{00115\ \ \ \ \ std::vector<Via>\ vias;}
\DoxyCodeLine{00116\ \ \ \ \ std::vector<Connection>\ connections;}
\DoxyCodeLine{00117\ \};}
\DoxyCodeLine{00118\ }
\DoxyCodeLine{00119\ \textcolor{keyword}{struct\ }\mbox{\hyperlink{structdsn_1_1Path}{Path}}}
\DoxyCodeLine{00120\ \{}
\DoxyCodeLine{00121\ \ \ \ \ \mbox{\hyperlink{structdsn_1_1BBox}{BBox}}\ bbox()\ \textcolor{keyword}{const};}
\DoxyCodeLine{00122\ \ \ \ \ \textcolor{keywordtype}{bool}\ operator==(\textcolor{keyword}{const}\ \mbox{\hyperlink{structdsn_1_1Path}{Path}}\&)\ \textcolor{keyword}{const};}
\DoxyCodeLine{00123\ \ \ \ \ std::string\ str(\textcolor{keywordtype}{bool}\ verbose\ =\ \textcolor{keyword}{false})\ \textcolor{keyword}{const};}
\DoxyCodeLine{00124\ }
\DoxyCodeLine{00125\ \ \ \ \ \textcolor{keywordtype}{double}\ aperture\_width\{0.0\};}
\DoxyCodeLine{00126\ \ \ \ \ std::vector<double>\ xy;}
\DoxyCodeLine{00127\ \ \ \ \ \textcolor{keywordtype}{int}\ z\{-\/1\};}
\DoxyCodeLine{00128\ \};}
\DoxyCodeLine{00129\ }
\DoxyCodeLine{00130\ \textcolor{keyword}{struct\ }\mbox{\hyperlink{structdsn_1_1Shape}{Shape}}}
\DoxyCodeLine{00131\ \{}
\DoxyCodeLine{00132\ \ \ \ \ \textcolor{keywordtype}{double}\ minExtent()\ \textcolor{keyword}{const};}
\DoxyCodeLine{00133\ \ \ \ \ \textcolor{keywordtype}{double}\ maxExtent()\ \textcolor{keyword}{const};}
\DoxyCodeLine{00134\ \ \ \ \ \textcolor{keywordtype}{bool}\ operator==(\textcolor{keyword}{const}\ \mbox{\hyperlink{structdsn_1_1Shape}{Shape}}\&)\ \textcolor{keyword}{const};}
\DoxyCodeLine{00135\ \ \ \ \ std::string\ str(\textcolor{keywordtype}{bool}\ verbose\ =\ \textcolor{keyword}{false})\ \textcolor{keyword}{const};}
\DoxyCodeLine{00136\ }
\DoxyCodeLine{00137\ \ \ \ \ std::string\ geometry;}
\DoxyCodeLine{00138\ \ \ \ \ std::vector<double>\ values;\ \textcolor{comment}{//\ circle\ stores\ diameter\ not\ radius}}
\DoxyCodeLine{00139\ \ \ \ \ \textcolor{keywordtype}{int}\ z;}
\DoxyCodeLine{00140\ \ \ \ \ \mbox{\hyperlink{structdsn_1_1Path}{Path}}\ path;}
\DoxyCodeLine{00141\ }
\DoxyCodeLine{00142\ \ \ \ \ \textcolor{keywordtype}{void}\ recenter();}
\DoxyCodeLine{00143\ \};}
\DoxyCodeLine{00144\ }
\DoxyCodeLine{00145\ \textcolor{keyword}{struct\ }\mbox{\hyperlink{structdsn_1_1Padstack}{Padstack}}}
\DoxyCodeLine{00146\ \{}
\DoxyCodeLine{00147\ \ \ \ \ std::string\ str(\textcolor{keywordtype}{bool}\ verbose\ =\ \textcolor{keyword}{false})\ \textcolor{keyword}{const};}
\DoxyCodeLine{00148\ }
\DoxyCodeLine{00149\ \ \ \ \ std::string\ name;}
\DoxyCodeLine{00150\ \ \ \ \ std::string\ type;}
\DoxyCodeLine{00151\ \ \ \ \ std::vector<Shape>\ shapes;}
\DoxyCodeLine{00152\ \ \ \ \ \textcolor{keywordtype}{bool}\ attach;}
\DoxyCodeLine{00153\ \};}
\DoxyCodeLine{00154\ }
\DoxyCodeLine{00155\ \textcolor{keyword}{struct\ }\mbox{\hyperlink{structdsn_1_1Pin}{Pin}}}
\DoxyCodeLine{00156\ \{}
\DoxyCodeLine{00157\ \ \ \ \ std::string\ str()\ \textcolor{keyword}{const};}
\DoxyCodeLine{00158\ }
\DoxyCodeLine{00159\ \ \ \ \ \mbox{\hyperlink{structdsn_1_1Padstack}{Padstack}}\ *padstack\{0\};}
\DoxyCodeLine{00160\ \ \ \ \ std::string\ name;}
\DoxyCodeLine{00161\ \ \ \ \ std::string\ net;}
\DoxyCodeLine{00162\ \ \ \ \ \textcolor{keywordtype}{int}\ index;}
\DoxyCodeLine{00163\ \ \ \ \ \textcolor{keywordtype}{int}\ angle\{0\};}
\DoxyCodeLine{00164\ \ \ \ \ \textcolor{keywordtype}{double}\ x,\ y;}
\DoxyCodeLine{00165\ \ \ \ \ \textcolor{keywordtype}{int}\ z0\ =\ std::numeric\_limits<int>::max();}
\DoxyCodeLine{00166\ \ \ \ \ \textcolor{keywordtype}{int}\ z1\ =\ -\/1;}
\DoxyCodeLine{00167\ \ \ \ \ \textcolor{keywordtype}{double}\ clearance\{0.0\};}
\DoxyCodeLine{00168\ \ \ \ \ \textcolor{keywordtype}{bool}\ has\_net\{\textcolor{keyword}{false}\};}
\DoxyCodeLine{00169\ \ \ \ \ std::optional<std::string>\ compound;}
\DoxyCodeLine{00170\ \};}
\DoxyCodeLine{00171\ }
\DoxyCodeLine{00172\ \textcolor{keyword}{struct\ }\mbox{\hyperlink{structdsn_1_1Image}{Image}}}
\DoxyCodeLine{00173\ \{}
\DoxyCodeLine{00174\ \ \ \ \ std::string\ str()\ \textcolor{keyword}{const};}
\DoxyCodeLine{00175\ }
\DoxyCodeLine{00176\ \ \ \ \ std::string\ name;}
\DoxyCodeLine{00177\ \ \ \ \ std::vector<Pin>\ pins;}
\DoxyCodeLine{00178\ \ \ \ \ \mbox{\hyperlink{structdsn_1_1Shape}{dsn::Shape}}\ footprint;}
\DoxyCodeLine{00179\ }
\DoxyCodeLine{00180\ \ \ \ \ std::vector<Placement\ *>\ placements;}
\DoxyCodeLine{00181\ \};}
\DoxyCodeLine{00182\ }
\DoxyCodeLine{00183\ \textcolor{keyword}{struct\ }\mbox{\hyperlink{structdsn_1_1Structure}{Structure}}}
\DoxyCodeLine{00184\ \{}
\DoxyCodeLine{00185\ \ \ \ \ std::string\ str()\ \textcolor{keyword}{const};}
\DoxyCodeLine{00186\ }
\DoxyCodeLine{00187\ \ \ \ \ std::vector<Layer\ *>\ copper\_layers;}
\DoxyCodeLine{00188\ \ \ \ \ std::vector<Layer>\ layers;}
\DoxyCodeLine{00189\ \ \ \ \ \mbox{\hyperlink{structdsn_1_1Path}{Path}}\ boundary;}
\DoxyCodeLine{00190\ \ \ \ \ std::map<std::string,\ std::string>\ via;}
\DoxyCodeLine{00191\ \ \ \ \ std::map<std::string,\ double>\ width;}
\DoxyCodeLine{00192\ \ \ \ \ std::map<std::string,\ double>\ clearance;}
\DoxyCodeLine{00193\ \};}
\DoxyCodeLine{00194\ }
\DoxyCodeLine{00195\ \textcolor{keyword}{struct\ }\mbox{\hyperlink{structdsn_1_1Placement}{Placement}}}
\DoxyCodeLine{00196\ \{}
\DoxyCodeLine{00197\ \ \ \ \ std::string\ str()\ \textcolor{keyword}{const};}
\DoxyCodeLine{00198\ }
\DoxyCodeLine{00199\ \ \ \ \ std::string\ name;}
\DoxyCodeLine{00200\ \ \ \ \ \mbox{\hyperlink{structdsn_1_1Image}{dsn::Image}}\ *image\{0\};}
\DoxyCodeLine{00201\ \ \ \ \ \textcolor{keywordtype}{double}\ x,\ pinref\_x;}
\DoxyCodeLine{00202\ \ \ \ \ \textcolor{keywordtype}{double}\ y,\ pinref\_y;}
\DoxyCodeLine{00203\ \ \ \ \ \textcolor{keywordtype}{int}\ z;}
\DoxyCodeLine{00204\ \ \ \ \ \textcolor{keywordtype}{int}\ angle\{0\};}
\DoxyCodeLine{00205\ \ \ \ \ \textcolor{keywordtype}{double}\ clearance\{0\};}
\DoxyCodeLine{00206\ \ \ \ \ \textcolor{keywordtype}{bool}\ via\_ok\{\textcolor{keyword}{true}\};}
\DoxyCodeLine{00207\ \ \ \ \ \textcolor{keywordtype}{bool}\ can\_route\{\textcolor{keyword}{false}\};}
\DoxyCodeLine{00208\ \};}
\DoxyCodeLine{00209\ }
\DoxyCodeLine{00210\ \textcolor{keyword}{struct\ }\mbox{\hyperlink{structdsn_1_1Data}{Data}}}
\DoxyCodeLine{00211\ \{}
\DoxyCodeLine{00212\ \ \ \ \ \textcolor{keyword}{static}\ \textcolor{keywordtype}{bool}\ parseDSN(\mbox{\hyperlink{structdsn_1_1Data}{dsn::Data}}\&,\ \textcolor{keyword}{const}\ std::string\&);}
\DoxyCodeLine{00213\ \ \ \ \ \textcolor{keyword}{static}\ \textcolor{keywordtype}{bool}\ parseJSON(\mbox{\hyperlink{structdsn_1_1Data}{dsn::Data}}\&,\ \textcolor{keyword}{const}\ std::string\&);}
\DoxyCodeLine{00214\ \ \ \ \ \textcolor{keyword}{static}\ \textcolor{keywordtype}{bool}\ parseKiCAD(\mbox{\hyperlink{structdsn_1_1Data}{dsn::Data}}\&,\ \textcolor{keyword}{const}\ std::string\&);}
\DoxyCodeLine{00215\ \ \ \ \ std::string\ str()\ \textcolor{keyword}{const};}
\DoxyCodeLine{00216\ }
\DoxyCodeLine{00217\ \ \ \ \ \mbox{\hyperlink{structdsn_1_1PCB}{dsn::PCB}}\ pcb;}
\DoxyCodeLine{00218\ \ \ \ \ \mbox{\hyperlink{structdsn_1_1Structure}{dsn::Structure}}\ structure;}
\DoxyCodeLine{00219\ \ \ \ \ std::map<std::string,\ dsn::Image>\ images;}
\DoxyCodeLine{00220\ \ \ \ \ std::map<std::string,\ dsn::Padstack>\ padstacks;}
\DoxyCodeLine{00221\ \ \ \ \ std::map<std::string,\ dsn::Net>\ nets;}
\DoxyCodeLine{00222\ \ \ \ \ std::vector<dsn::Placement>\ placements;}
\DoxyCodeLine{00223\ }
\DoxyCodeLine{00224\ \ \ \ \ \textcolor{keywordtype}{void}\ renamePinsWithSharedNames();}
\DoxyCodeLine{00225\ \ \ \ \ \textcolor{keywordtype}{void}\ inferMissingNetWidths();}
\DoxyCodeLine{00226\ \ \ \ \ \textcolor{keywordtype}{void}\ printNetWidths()\ \textcolor{keyword}{const};}
\DoxyCodeLine{00227\ \};}
\DoxyCodeLine{00228\ }
\DoxyCodeLine{00229\ \}\ \textcolor{comment}{//\ namespace\ dsn}}
\DoxyCodeLine{00230\ }
\DoxyCodeLine{00231\ \textcolor{preprocessor}{\#endif\ }\textcolor{comment}{//\ GYM\_PCB\_LOADERS\_DSN\_H}}

\end{DoxyCode}
