\doxysection{Net Class Reference}
\hypertarget{classNet}{}\label{classNet}\index{Net@{Net}}
\doxysubsubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\Hypertarget{classNet_a8ea2b4f9cdd94afbe39b4ecfe74eaa8c}\label{classNet_a8ea2b4f9cdd94afbe39b4ecfe74eaa8c} 
{\bfseries Net} (const std\+::string \&name)
\item 
\Hypertarget{classNet_a429ba556b58df2c0ba1e843a2ab7d6bf}\label{classNet_a429ba556b58df2c0ba1e843a2ab7d6bf} 
\mbox{\hyperlink{classNet}{Net}} \texorpdfstring{$\ast$}{*} {\bfseries clone} (\mbox{\hyperlink{classCloneEnv}{Clone\+Env}} \&) const
\item 
\Hypertarget{classNet_a0cb2a8347480cb56287157a707d8bf4f}\label{classNet_a0cb2a8347480cb56287157a707d8bf4f} 
\mbox{\hyperlink{classPCBoard}{PCBoard}} \texorpdfstring{$\ast$}{*} {\bfseries get\+Board} () const
\begin{DoxyCompactList}\small\item\em Board-\/wide unique name and ID. \end{DoxyCompactList}\item 
\Hypertarget{classNet_a40496315c5d77bd6df8f3fc8c1dd14ba}\label{classNet_a40496315c5d77bd6df8f3fc8c1dd14ba} 
std\+::string {\bfseries name} () const
\item 
\Hypertarget{classNet_a45101be20a2c86e73d81ba52afddfb74}\label{classNet_a45101be20a2c86e73d81ba52afddfb74} 
uint {\bfseries id} () const
\item 
\Hypertarget{classNet_a1a6f441adaec4b93cb5b821485cbf267}\label{classNet_a1a6f441adaec4b93cb5b821485cbf267} 
const \mbox{\hyperlink{classColor}{Color}} \& {\bfseries get\+Color} () const
\item 
\Hypertarget{classNet_a4ff2a80356dd056816d251b4816e91b9}\label{classNet_a4ff2a80356dd056816d251b4816e91b9} 
const std\+::set$<$ \mbox{\hyperlink{classPin}{Pin}} \texorpdfstring{$\ast$}{*} $>$ \& {\bfseries get\+Pins} () const
\item 
\Hypertarget{classNet_a2ef6ae1542431b828afda65f54d47a5f}\label{classNet_a2ef6ae1542431b828afda65f54d47a5f} 
uint {\bfseries num\+Pins} () const
\item 
\Hypertarget{classNet_a0a5a08107fea22037bc1281fc970f224}\label{classNet_a0a5a08107fea22037bc1281fc970f224} 
bool {\bfseries contains} (const \mbox{\hyperlink{classPin}{Pin}} \texorpdfstring{$\ast$}{*}T) const
\item 
\Hypertarget{classNet_abd4edbd1fd1cc51aac7581b0ed52c3df}\label{classNet_abd4edbd1fd1cc51aac7581b0ed52c3df} 
bool {\bfseries empty} () const
\item 
\Hypertarget{classNet_a1f67d06e04b4b051e925dea70c298c8d}\label{classNet_a1f67d06e04b4b051e925dea70c298c8d} 
uint {\bfseries num\+Connections} () const
\item 
\Hypertarget{classNet_a2ec62b0b53b25a1a09127a923dae5dcc}\label{classNet_a2ec62b0b53b25a1a09127a923dae5dcc} 
const std\+::vector$<$ \mbox{\hyperlink{classConnection}{Connection}} \texorpdfstring{$\ast$}{*} $>$ \& {\bfseries connections} () const
\item 
\Hypertarget{classNet_af921630c21bb2bac8e1e3c50d902255f}\label{classNet_af921630c21bb2bac8e1e3c50d902255f} 
\mbox{\hyperlink{classConnection}{Connection}} \texorpdfstring{$\ast$}{*} {\bfseries connection} (uint i) const
\item 
\Hypertarget{classNet_abd21a6d55205ef48590dcb281770e97b}\label{classNet_abd21a6d55205ef48590dcb281770e97b} 
\mbox{\hyperlink{classConnection}{Connection}} \texorpdfstring{$\ast$}{*} {\bfseries get\+Connection\+Between} (const \mbox{\hyperlink{classPin}{Pin}} \&, const \mbox{\hyperlink{classPin}{Pin}} \&) const
\item 
\Hypertarget{classNet_ab238f5e91eff5c8ad6a79a0bfec7dbde}\label{classNet_ab238f5e91eff5c8ad6a79a0bfec7dbde} 
uint {\bfseries validate\+Track} (const \mbox{\hyperlink{classTrack}{Track}} \&) const
\item 
\Hypertarget{classNet_a713f42dc15b24c7f6e0137970cef734d}\label{classNet_a713f42dc15b24c7f6e0137970cef734d} 
Real {\bfseries get\+Min\+Track\+Width} () const
\item 
\Hypertarget{classNet_aa7d3509df433ae2d360a3e7451724850}\label{classNet_aa7d3509df433ae2d360a3e7451724850} 
Real {\bfseries get\+Min\+Clearance} () const
\item 
\Hypertarget{classNet_ab182740b06ad9c7cd1fd0ae7fecfe3ec}\label{classNet_ab182740b06ad9c7cd1fd0ae7fecfe3ec} 
bool {\bfseries has\+Via\+Extent} () const
\begin{DoxyCompactList}\small\item\em FIXME\+: via extent is not handled in A\texorpdfstring{$\ast$}{*}. \end{DoxyCompactList}\item 
\Hypertarget{classNet_aa51e837567a43164283e6b462df3a106}\label{classNet_aa51e837567a43164283e6b462df3a106} 
uint {\bfseries get\+Via\+Start\+Layer} () const
\item 
\Hypertarget{classNet_a820a4c25a38329315434ed90a4678866}\label{classNet_a820a4c25a38329315434ed90a4678866} 
uint {\bfseries get\+Via\+Height} () const
\item 
\Hypertarget{classNet_af39689c24d50112cb8e4a65f225fabce}\label{classNet_af39689c24d50112cb8e4a65f225fabce} 
Real {\bfseries get\+Via\+Diameter} () const
\item 
\Hypertarget{classNet_aaf4e869403d46f1185fe5cc4830965de}\label{classNet_aaf4e869403d46f1185fe5cc4830965de} 
bool {\bfseries buried\+Vias\+OK} () const
\item 
\Hypertarget{classNet_a644001c3ef466de5e6d531d7ec06dfcb}\label{classNet_a644001c3ef466de5e6d531d7ec06dfcb} 
uint32\+\_\+t {\bfseries get\+Layer\+Mask} () const
\item 
\Hypertarget{classNet_ac37e64e0f5c7761a45a402b625710ac1}\label{classNet_ac37e64e0f5c7761a45a402b625710ac1} 
bool {\bfseries is\+Ground\+Or\+Power} () const
\item 
\Hypertarget{classNet_af4a67b5be75fd390284e2da696f08832}\label{classNet_af4a67b5be75fd390284e2da696f08832} 
bool {\bfseries is\+Ground} () const
\item 
\Hypertarget{classNet_ab05f77e5068240543057dc616ee0f2d9}\label{classNet_ab05f77e5068240543057dc616ee0f2d9} 
Signal\+Type {\bfseries signal\+Type} () const
\item 
\Hypertarget{classNet_a5b71b1c34bd6cbb5192db390d0cd0944}\label{classNet_a5b71b1c34bd6cbb5192db390d0cd0944} 
void {\bfseries insert} (\mbox{\hyperlink{classPin}{Pin}} \&)
\item 
\Hypertarget{classNet_a1b8fe88f6e587918d65ff7610a59b571}\label{classNet_a1b8fe88f6e587918d65ff7610a59b571} 
void {\bfseries remove} (\mbox{\hyperlink{classPin}{Pin}} \&)
\item 
\Hypertarget{classNet_af48c3fecb5ffc11042b8dd4d7cdeaa0e}\label{classNet_af48c3fecb5ffc11042b8dd4d7cdeaa0e} 
\mbox{\hyperlink{classConnection}{Connection}} \texorpdfstring{$\ast$}{*} {\bfseries add\+Connection} (\mbox{\hyperlink{classPin}{Pin}} \texorpdfstring{$\ast$}{*}source\+Pin, const \mbox{\hyperlink{classPoint__25}{Point\+\_\+25}} \&source, \mbox{\hyperlink{classPin}{Pin}} \texorpdfstring{$\ast$}{*}target\+Pin, const \mbox{\hyperlink{classPoint__25}{Point\+\_\+25}} \&target)
\item 
\Hypertarget{classNet_a7c37004c6f41af89c2d2ff7eaa514dda}\label{classNet_a7c37004c6f41af89c2d2ff7eaa514dda} 
void {\bfseries autocreate\+Connections} ()
\begin{DoxyCompactList}\small\item\em Create 2-\/pin connections from the set of pins. \end{DoxyCompactList}\item 
\Hypertarget{classNet_ae89e6877423e277048a718f60e4d98b0}\label{classNet_ae89e6877423e277048a718f60e4d98b0} 
void {\bfseries sort\+Connections} ()
\item 
\Hypertarget{classNet_ab20eb9449d55fa9b13c9c935a74c462c}\label{classNet_ab20eb9449d55fa9b13c9c935a74c462c} 
void {\bfseries set\+Min\+Track\+Width} (Real)
\item 
\Hypertarget{classNet_a0dd7cd7cc06c7b4231bae8b031de5a71}\label{classNet_a0dd7cd7cc06c7b4231bae8b031de5a71} 
void {\bfseries set\+Min\+Clearance} (Real c)
\item 
\Hypertarget{classNet_aa0477d12c9b94afb03ef522c4588b92b}\label{classNet_aa0477d12c9b94afb03ef522c4588b92b} 
void {\bfseries set\+Via\+Extent} (uint start, uint h)
\item 
\Hypertarget{classNet_aad03447ca03ba1fe146fba41df925820}\label{classNet_aad03447ca03ba1fe146fba41df925820} 
void {\bfseries set\+Via\+Diameter} (Real d)
\item 
\Hypertarget{classNet_a11fc4399db2aca01c4cffc79c18690db}\label{classNet_a11fc4399db2aca01c4cffc79c18690db} 
void {\bfseries set\+Layer\+Mask} (uint32\+\_\+t m)
\item 
\Hypertarget{classNet_ac679e98559284365712dd51b9eaef3e0}\label{classNet_ac679e98559284365712dd51b9eaef3e0} 
void {\bfseries set\+Layer\+Mask\+From\+Signal\+Type} ()
\item 
\Hypertarget{classNet_aeaffba3a067ec50c42f3fe477cc04203}\label{classNet_aeaffba3a067ec50c42f3fe477cc04203} 
void {\bfseries set\+Signal\+Type} (Signal\+Type t)
\item 
\Hypertarget{classNet_ad6e907b4167f89bb07863f1c893b2faf}\label{classNet_ad6e907b4167f89bb07863f1c893b2faf} 
void {\bfseries set\+Board} (\mbox{\hyperlink{classPCBoard}{PCBoard}} \texorpdfstring{$\ast$}{*}board)
\item 
\Hypertarget{classNet_a7b58c028ea883b362ba2a96d04e9808d}\label{classNet_a7b58c028ea883b362ba2a96d04e9808d} 
void {\bfseries set\+Id} (uint id)
\begin{DoxyCompactList}\small\item\em NOTE\+: connection ID = (net ID \texorpdfstring{$<$}{<}\texorpdfstring{$<$}{<} 16) \texorpdfstring{$\vert$}{|} connection index, so net ID must be \texorpdfstring{$<$}{<} 0x7fff. \end{DoxyCompactList}\item 
\Hypertarget{classNet_a05d626313c3afa5d1ce62274e240c025}\label{classNet_a05d626313c3afa5d1ce62274e240c025} 
void {\bfseries set\+Color} (const \mbox{\hyperlink{classColor}{Color}} \&c)
\item 
\Hypertarget{classNet_a36275be8b8dac4390ae741bcc9b9e024}\label{classNet_a36275be8b8dac4390ae741bcc9b9e024} 
void {\bfseries set\+Color\+Auto} (bool single\+Color\+Per\+Type=false)
\begin{DoxyCompactList}\small\item\em Colorize according to signal type and net number/id. \end{DoxyCompactList}\item 
\Hypertarget{classNet_afefbb35251b8f46a89bed64bfe994443}\label{classNet_afefbb35251b8f46a89bed64bfe994443} 
bool {\bfseries extract} (\mbox{\hyperlink{classComponent}{Component}} \&)
\begin{DoxyCompactList}\small\item\em Remove all connections connected to @\+Component and return whether the net is then empty. \end{DoxyCompactList}\item 
\Hypertarget{classNet_abf6eca1428d970834cab29633d5948c6}\label{classNet_abf6eca1428d970834cab29633d5948c6} 
bool {\bfseries prune\+Connections} (std\+::set$<$ \mbox{\hyperlink{classConnection}{Connection}} \texorpdfstring{$\ast$}{*} $>$ \&keep)
\begin{DoxyCompactList}\small\item\em Remove all connections not in @keep and return whether the net is then empty. \end{DoxyCompactList}\item 
\Hypertarget{classNet_a84f0ce6da7366b861a26c01c9b618b47}\label{classNet_a84f0ce6da7366b861a26c01c9b618b47} 
std\+::string {\bfseries str} () const
\item 
\Hypertarget{classNet_adc205aa8eee593e4ac293c267290769c}\label{classNet_adc205aa8eee593e4ac293c267290769c} 
Py\+Object \texorpdfstring{$\ast$}{*} {\bfseries get\+Connections\+Py} (uint depth, bool as\+Numpy) const
\item 
\Hypertarget{classNet_aa48efcd83477d37cea2727360a54f7ae}\label{classNet_aa48efcd83477d37cea2727360a54f7ae} 
Py\+Object \texorpdfstring{$\ast$}{*} {\bfseries get\+Pins\+Py} () const
\item 
\Hypertarget{classNet_ab262e16fbffd2bb57f8a4128d111a785}\label{classNet_ab262e16fbffd2bb57f8a4128d111a785} 
Py\+Object \texorpdfstring{$\ast$}{*} {\bfseries get\+Py} (uint depth, bool as\+Numpy) const
\end{DoxyCompactItemize}
\doxysubsubsection*{Static Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\Hypertarget{classNet_a98bbe5c5623e95f4c89a8e4e493eb4ed}\label{classNet_a98bbe5c5623e95f4c89a8e4e493eb4ed} 
static Signal\+Type {\bfseries get\+Likely\+Signal\+Type\+For\+Name} (const std\+::string \&)
\end{DoxyCompactItemize}


The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
/home/chr/devel/\+Ph\+D/\+Environment/pub/\+PCBEnv/pcbenv/cxx/Net.\+hpp\end{DoxyCompactItemize}
