\hypertarget{class_s_p_i_c_e_1_1_source}{}\section{Source Class Reference}
\label{class_s_p_i_c_e_1_1_source}\index{Source@{Source}}
Inheritance diagram for Source\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{class_s_p_i_c_e_1_1_source}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{class_s_p_i_c_e_1_1_source_ac0fc966d4386ddb71d99361e3fccb311}\label{class_s_p_i_c_e_1_1_source_ac0fc966d4386ddb71d99361e3fccb311}} 
std\+::string \mbox{\hyperlink{class_s_p_i_c_e_1_1_source_ac0fc966d4386ddb71d99361e3fccb311}{get\+Name}} ()
\begin{DoxyCompactList}\small\item\em returns the name of the source. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{class_s_p_i_c_e_1_1_source_a8b4ab73ed1d99c533aa22af0a37ebb0d}\label{class_s_p_i_c_e_1_1_source_a8b4ab73ed1d99c533aa22af0a37ebb0d}} 
std\+::string \mbox{\hyperlink{class_s_p_i_c_e_1_1_source_a8b4ab73ed1d99c533aa22af0a37ebb0d}{get\+Negative}} ()
\begin{DoxyCompactList}\small\item\em returns the negative connector of the source. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{class_s_p_i_c_e_1_1_source_a1adb347b9a2c2da556e4417ab0eec0e1}\label{class_s_p_i_c_e_1_1_source_a1adb347b9a2c2da556e4417ab0eec0e1}} 
std\+::string \mbox{\hyperlink{class_s_p_i_c_e_1_1_source_a1adb347b9a2c2da556e4417ab0eec0e1}{get\+Positive}} ()
\begin{DoxyCompactList}\small\item\em returns the positive connector of the source. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{class_s_p_i_c_e_1_1_source_a4c052cb2622c580a250b2c783a436882}\label{class_s_p_i_c_e_1_1_source_a4c052cb2622c580a250b2c783a436882}} 
std\+::string \mbox{\hyperlink{class_s_p_i_c_e_1_1_source_a4c052cb2622c580a250b2c783a436882}{get\+Value}} ()
\begin{DoxyCompactList}\small\item\em returns the value of the source. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Protected Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{class_s_p_i_c_e_1_1_source_a35145400f091a09eed7baa19128a3bc8}{Source}} (std\+::string name, std\+::string pos, std\+::string neg, std\+::string value)
\begin{DoxyCompactList}\small\item\em creates a new source. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
This abstract class is a base class for \mbox{\hyperlink{class_s_p_i_c_e_1_1_current}{S\+P\+I\+C\+E\+::\+Current}} and \mbox{\hyperlink{class_s_p_i_c_e_1_1_voltage}{S\+P\+I\+C\+E\+::\+Voltage}} sources. 

\subsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{class_s_p_i_c_e_1_1_source_a35145400f091a09eed7baa19128a3bc8}\label{class_s_p_i_c_e_1_1_source_a35145400f091a09eed7baa19128a3bc8}} 
\index{S\+P\+I\+C\+E\+::\+Source@{S\+P\+I\+C\+E\+::\+Source}!Source@{Source}}
\index{Source@{Source}!S\+P\+I\+C\+E\+::\+Source@{S\+P\+I\+C\+E\+::\+Source}}
\subsubsection{\texorpdfstring{Source()}{Source()}}
{\footnotesize\ttfamily \mbox{\hyperlink{class_s_p_i_c_e_1_1_source}{Source}} (\begin{DoxyParamCaption}\item[{std\+::string}]{name,  }\item[{std\+::string}]{pos,  }\item[{std\+::string}]{neg,  }\item[{std\+::string}]{value }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [protected]}}



creates a new source. 


\begin{DoxyParams}{Parameters}
{\em name} & the name of the source. \\
\hline
{\em pos} & the positive connector of the source. \\
\hline
{\em neg} & the negative connector of the source. \\
\hline
{\em value} & the value of the source. \\
\hline
\end{DoxyParams}
