\hypertarget{class_open_chams_1_1_transistor}{}\section{Transistor Class Reference}
\label{class_open_chams_1_1_transistor}\index{Transistor@{Transistor}}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{class_open_chams_1_1_transistor_a27ba43f825f9243556ec65d306a2b1a7}\label{class_open_chams_1_1_transistor_a27ba43f825f9243556ec65d306a2b1a7}} 
const std\+::string \& \mbox{\hyperlink{class_open_chams_1_1_transistor_a27ba43f825f9243556ec65d306a2b1a7}{get\+Bulk}} ()
\begin{DoxyCompactList}\small\item\em returns the name of the net connected to the transistor\textquotesingle{}s bulk. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{class_open_chams_1_1_transistor_a62ea0998b3a61310a8331873f5bcce58}\label{class_open_chams_1_1_transistor_a62ea0998b3a61310a8331873f5bcce58}} 
const std\+::string \& \mbox{\hyperlink{class_open_chams_1_1_transistor_a62ea0998b3a61310a8331873f5bcce58}{get\+Drain}} ()
\begin{DoxyCompactList}\small\item\em returns the name of the net connected to the transistor\textquotesingle{}s drain. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{class_open_chams_1_1_transistor_a99f1449aa735ff6cb4927b4f6aa34d9d}\label{class_open_chams_1_1_transistor_a99f1449aa735ff6cb4927b4f6aa34d9d}} 
const std\+::string \& \mbox{\hyperlink{class_open_chams_1_1_transistor_a99f1449aa735ff6cb4927b4f6aa34d9d}{get\+Gate}} ()
\begin{DoxyCompactList}\small\item\em returns the name of the net connected to the transistor\textquotesingle{}s gate. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{class_open_chams_1_1_transistor_a2858c0c4e8b5108f041237cf5a802029}\label{class_open_chams_1_1_transistor_a2858c0c4e8b5108f041237cf5a802029}} 
const std\+::string \& \mbox{\hyperlink{class_open_chams_1_1_transistor_a2858c0c4e8b5108f041237cf5a802029}{get\+Name}} ()
\begin{DoxyCompactList}\small\item\em returns the name of the transistor. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{class_open_chams_1_1_transistor_a2e51ad4344607fc279c5c8cda4edae02}\label{class_open_chams_1_1_transistor_a2e51ad4344607fc279c5c8cda4edae02}} 
\mbox{\hyperlink{class_open_chams_1_1_parameters}{Parameters}} \mbox{\hyperlink{class_open_chams_1_1_transistor_a2e51ad4344607fc279c5c8cda4edae02}{get\+Parameters}} ()
\begin{DoxyCompactList}\small\item\em returns the parameters of the instance. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{class_open_chams_1_1_transistor_aee4d52a0b13e6db247c1a6c051aede25}\label{class_open_chams_1_1_transistor_aee4d52a0b13e6db247c1a6c051aede25}} 
const std\+::string \& \mbox{\hyperlink{class_open_chams_1_1_transistor_aee4d52a0b13e6db247c1a6c051aede25}{get\+Source}} ()
\begin{DoxyCompactList}\small\item\em returns the name of the net connected to the transistor\textquotesingle{}s source. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_open_chams_1_1_transistor_a1484abe63e3f8ffbc2911c5230fa7091}{set\+Bulk}} (const std\+::string \&)
\begin{DoxyCompactList}\small\item\em sets the net of the transistor\textquotesingle{}s bulk. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_open_chams_1_1_transistor_a72ff8491040e3fdc1c8bd62b2392ab82}{set\+Drain}} (const std\+::string \&)
\begin{DoxyCompactList}\small\item\em sets the net of the transistor\textquotesingle{}s drain. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_open_chams_1_1_transistor_a705b53a51f0e265533b228f6e8beaf50}{set\+Gate}} (const std\+::string \&)
\begin{DoxyCompactList}\small\item\em sets the net of the transistor\textquotesingle{}s gate. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_open_chams_1_1_transistor_a36c59a26f0317be12cea01f8dea24ec7}{set\+Name}} (const std\+::string \&)
\begin{DoxyCompactList}\small\item\em sets the transistor\textquotesingle{}s name. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_open_chams_1_1_transistor_abc4a5d86e639ea13e27551722e2f9c17}{set\+Source}} (const std\+::string \&)
\begin{DoxyCompactList}\small\item\em sets the net of the transistor\textquotesingle{}s source. \end{DoxyCompactList}\item 
\mbox{\hyperlink{class_open_chams_1_1_transistor_a5052d5c281f8798a0b10ebfe4c0296a5}{Transistor}} (const std\+::string \&, \mbox{\hyperlink{class_open_chams_1_1_instance}{Instance}} $\ast$)
\begin{DoxyCompactList}\small\item\em creates a new transistor. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
This class describes a \mbox{\hyperlink{class_open_chams_1_1_transistor}{Transistor}}.

The transistor object is used to describe the inside of a \mbox{\hyperlink{class_open_chams_1_1_device}{Device}}. The goal is to explicit the connection between the transistor and the device\textquotesingle{}s nets. 

\subsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{class_open_chams_1_1_transistor_a5052d5c281f8798a0b10ebfe4c0296a5}\label{class_open_chams_1_1_transistor_a5052d5c281f8798a0b10ebfe4c0296a5}} 
\index{Open\+Chams\+::\+Transistor@{Open\+Chams\+::\+Transistor}!Transistor@{Transistor}}
\index{Transistor@{Transistor}!Open\+Chams\+::\+Transistor@{Open\+Chams\+::\+Transistor}}
\subsubsection{\texorpdfstring{Transistor()}{Transistor()}}
{\footnotesize\ttfamily \mbox{\hyperlink{class_open_chams_1_1_transistor}{Transistor}} (\begin{DoxyParamCaption}\item[{const std\+::string \&}]{name,  }\item[{\mbox{\hyperlink{class_open_chams_1_1_instance}{Instance}} $\ast$}]{instance }\end{DoxyParamCaption})}



creates a new transistor. 


\begin{DoxyParams}{Parameters}
{\em name} & the name of the transistor. \\
\hline
{\em instance} & the instance (device) to which the transistor belongs. \\
\hline
\end{DoxyParams}


\subsection{Member Function Documentation}
\mbox{\Hypertarget{class_open_chams_1_1_transistor_a1484abe63e3f8ffbc2911c5230fa7091}\label{class_open_chams_1_1_transistor_a1484abe63e3f8ffbc2911c5230fa7091}} 
\index{Open\+Chams\+::\+Transistor@{Open\+Chams\+::\+Transistor}!set\+Bulk@{set\+Bulk}}
\index{set\+Bulk@{set\+Bulk}!Open\+Chams\+::\+Transistor@{Open\+Chams\+::\+Transistor}}
\subsubsection{\texorpdfstring{set\+Bulk()}{setBulk()}}
{\footnotesize\ttfamily void set\+Bulk (\begin{DoxyParamCaption}\item[{const std\+::string \&}]{bulk }\end{DoxyParamCaption})}



sets the net of the transistor\textquotesingle{}s bulk. 


\begin{DoxyParams}{Parameters}
{\em name} & the name of the net to connect to the bulk. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_open_chams_1_1_transistor_a72ff8491040e3fdc1c8bd62b2392ab82}\label{class_open_chams_1_1_transistor_a72ff8491040e3fdc1c8bd62b2392ab82}} 
\index{Open\+Chams\+::\+Transistor@{Open\+Chams\+::\+Transistor}!set\+Drain@{set\+Drain}}
\index{set\+Drain@{set\+Drain}!Open\+Chams\+::\+Transistor@{Open\+Chams\+::\+Transistor}}
\subsubsection{\texorpdfstring{set\+Drain()}{setDrain()}}
{\footnotesize\ttfamily void set\+Drain (\begin{DoxyParamCaption}\item[{const std\+::string \&}]{drain }\end{DoxyParamCaption})}



sets the net of the transistor\textquotesingle{}s drain. 


\begin{DoxyParams}{Parameters}
{\em name} & the name of the net to connect to the drain. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_open_chams_1_1_transistor_a705b53a51f0e265533b228f6e8beaf50}\label{class_open_chams_1_1_transistor_a705b53a51f0e265533b228f6e8beaf50}} 
\index{Open\+Chams\+::\+Transistor@{Open\+Chams\+::\+Transistor}!set\+Gate@{set\+Gate}}
\index{set\+Gate@{set\+Gate}!Open\+Chams\+::\+Transistor@{Open\+Chams\+::\+Transistor}}
\subsubsection{\texorpdfstring{set\+Gate()}{setGate()}}
{\footnotesize\ttfamily void set\+Gate (\begin{DoxyParamCaption}\item[{const std\+::string \&}]{gate }\end{DoxyParamCaption})}



sets the net of the transistor\textquotesingle{}s gate. 


\begin{DoxyParams}{Parameters}
{\em name} & the name of the net to connect to the gate. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_open_chams_1_1_transistor_a36c59a26f0317be12cea01f8dea24ec7}\label{class_open_chams_1_1_transistor_a36c59a26f0317be12cea01f8dea24ec7}} 
\index{Open\+Chams\+::\+Transistor@{Open\+Chams\+::\+Transistor}!set\+Name@{set\+Name}}
\index{set\+Name@{set\+Name}!Open\+Chams\+::\+Transistor@{Open\+Chams\+::\+Transistor}}
\subsubsection{\texorpdfstring{set\+Name()}{setName()}}
{\footnotesize\ttfamily void set\+Name (\begin{DoxyParamCaption}\item[{const std\+::string \&}]{name }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



sets the transistor\textquotesingle{}s name. 


\begin{DoxyParams}{Parameters}
{\em name} & the name of the transistor. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_open_chams_1_1_transistor_abc4a5d86e639ea13e27551722e2f9c17}\label{class_open_chams_1_1_transistor_abc4a5d86e639ea13e27551722e2f9c17}} 
\index{Open\+Chams\+::\+Transistor@{Open\+Chams\+::\+Transistor}!set\+Source@{set\+Source}}
\index{set\+Source@{set\+Source}!Open\+Chams\+::\+Transistor@{Open\+Chams\+::\+Transistor}}
\subsubsection{\texorpdfstring{set\+Source()}{setSource()}}
{\footnotesize\ttfamily void set\+Source (\begin{DoxyParamCaption}\item[{const std\+::string \&}]{source }\end{DoxyParamCaption})}



sets the net of the transistor\textquotesingle{}s source. 


\begin{DoxyParams}{Parameters}
{\em name} & the name of the net to connect to the source. \\
\hline
\end{DoxyParams}
