\hypertarget{class_open_chams_1_1_instance}{}\section{Instance Class Reference}
\label{class_open_chams_1_1_instance}\index{Instance@{Instance}}
Inheritance diagram for Instance\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{class_open_chams_1_1_instance}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
void \mbox{\hyperlink{class_open_chams_1_1_instance_a96b4f4ce732290340f727169d2e43ee8}{connect}} (const std\+::string \&connector\+Name, const std\+::string \&net\+Name)
\begin{DoxyCompactList}\small\item\em connects a net to one of the instance\textquotesingle{}s connectors. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{class_open_chams_1_1_instance_a745fe0a50eb770ce3bea36ef0e62c8ca}\label{class_open_chams_1_1_instance_a745fe0a50eb770ce3bea36ef0e62c8ca}} 
const std\+::map$<$ std\+::string, \mbox{\hyperlink{class_open_chams_1_1_net}{Net}} $\ast$ $>$ \& \mbox{\hyperlink{class_open_chams_1_1_instance_a745fe0a50eb770ce3bea36ef0e62c8ca}{get\+Connectors}} ()
\begin{DoxyCompactList}\small\item\em returns the map of instance\textquotesingle{}s connectors. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{class_open_chams_1_1_instance_a4085d6a7b6958ffdd7ab5df7e6d6e53f}\label{class_open_chams_1_1_instance_a4085d6a7b6958ffdd7ab5df7e6d6e53f}} 
\mbox{\hyperlink{class_open_chams_1_1_netlist}{Netlist}} $\ast$ \mbox{\hyperlink{class_open_chams_1_1_instance_a4085d6a7b6958ffdd7ab5df7e6d6e53f}{get\+Netlist}} ()
\begin{DoxyCompactList}\small\item\em returns the netlist to which the instance belongs. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{class_open_chams_1_1_instance_a2e51ad4344607fc279c5c8cda4edae02}\label{class_open_chams_1_1_instance_a2e51ad4344607fc279c5c8cda4edae02}} 
\mbox{\hyperlink{class_open_chams_1_1_parameters}{Parameters}} \mbox{\hyperlink{class_open_chams_1_1_instance_a2e51ad4344607fc279c5c8cda4edae02}{get\+Parameters}} ()
\begin{DoxyCompactList}\small\item\em returns the parameters of the instance. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{class_open_chams_1_1_instance_a44b9dfed39a5ff0c70ec99eea6ecec1a}\label{class_open_chams_1_1_instance_a44b9dfed39a5ff0c70ec99eea6ecec1a}} 
bool \mbox{\hyperlink{class_open_chams_1_1_instance_a44b9dfed39a5ff0c70ec99eea6ecec1a}{has\+No\+Connectors}} ()
\begin{DoxyCompactList}\small\item\em returns true if the instance has no connectors. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
This class describes an instance.

Basicaly an instance is a subcircuit of the current (top) circuit. 

\subsection{Member Function Documentation}
\mbox{\Hypertarget{class_open_chams_1_1_instance_a96b4f4ce732290340f727169d2e43ee8}\label{class_open_chams_1_1_instance_a96b4f4ce732290340f727169d2e43ee8}} 
\index{Open\+Chams\+::\+Instance@{Open\+Chams\+::\+Instance}!connect@{connect}}
\index{connect@{connect}!Open\+Chams\+::\+Instance@{Open\+Chams\+::\+Instance}}
\subsubsection{\texorpdfstring{connect()}{connect()}}
{\footnotesize\ttfamily void connect (\begin{DoxyParamCaption}\item[{const std\+::string \&}]{connector\+Name,  }\item[{const std\+::string \&}]{net\+Name }\end{DoxyParamCaption})}



connects a net to one of the instance\textquotesingle{}s connectors. 


\begin{DoxyParams}{Parameters}
{\em connector\+Name} & the name of the connector. \\
\hline
{\em net\+Name} & the name of the net. \\
\hline
\end{DoxyParams}
