\hypertarget{class_c_i_f_1_1_circuit}{}\section{Circuit Class Reference}
\label{class_c_i_f_1_1_circuit}\index{Circuit@{Circuit}}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
bool \mbox{\hyperlink{class_c_i_f_1_1_circuit_a5b37e86206e2a128ba6db4987dc09a39}{add\+Polygon}} (\mbox{\hyperlink{class_c_i_f_1_1_polygon}{Polygon}} $\ast$)
\begin{DoxyCompactList}\small\item\em adds a \mbox{\hyperlink{class_c_i_f_1_1_polygon}{Polygon}} to the \mbox{\hyperlink{class_c_i_f_1_1_circuit}{Circuit}}. \end{DoxyCompactList}\item 
\mbox{\hyperlink{class_c_i_f_1_1_circuit_ad434e573e0ce37a59f39fa74fe9bfb79}{Circuit}} (std\+::string name, std\+::string unit, double scale)
\begin{DoxyCompactList}\small\item\em creates a new \mbox{\hyperlink{class_c_i_f_1_1_circuit}{Circuit}} \end{DoxyCompactList}\item 
bool \mbox{\hyperlink{class_c_i_f_1_1_circuit_a90c823b70c4984f302c19ceca604d101}{write\+To\+File}} (std\+::string)
\begin{DoxyCompactList}\small\item\em writes the database to file. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
This class contains all C\+IF circuit informations such as the name, the unit used, the scale and the list of all Polygons. 

\subsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{class_c_i_f_1_1_circuit_ad434e573e0ce37a59f39fa74fe9bfb79}\label{class_c_i_f_1_1_circuit_ad434e573e0ce37a59f39fa74fe9bfb79}} 
\index{C\+I\+F\+::\+Circuit@{C\+I\+F\+::\+Circuit}!Circuit@{Circuit}}
\index{Circuit@{Circuit}!C\+I\+F\+::\+Circuit@{C\+I\+F\+::\+Circuit}}
\subsubsection{\texorpdfstring{Circuit()}{Circuit()}}
{\footnotesize\ttfamily \mbox{\hyperlink{class_c_i_f_1_1_circuit}{Circuit}} (\begin{DoxyParamCaption}\item[{std\+::string}]{name,  }\item[{std\+::string}]{unit,  }\item[{double}]{scale }\end{DoxyParamCaption})}



creates a new \mbox{\hyperlink{class_c_i_f_1_1_circuit}{Circuit}} 


\begin{DoxyParams}{Parameters}
{\em name} & the name of the circuit. \\
\hline
{\em unit} & the unit used for all distances \& coordinates. \\
\hline
{\em scale} & the scale used to convert DB unit to real unit (specified by the unit). \\
\hline
\end{DoxyParams}


\subsection{Member Function Documentation}
\mbox{\Hypertarget{class_c_i_f_1_1_circuit_a5b37e86206e2a128ba6db4987dc09a39}\label{class_c_i_f_1_1_circuit_a5b37e86206e2a128ba6db4987dc09a39}} 
\index{C\+I\+F\+::\+Circuit@{C\+I\+F\+::\+Circuit}!add\+Polygon@{add\+Polygon}}
\index{add\+Polygon@{add\+Polygon}!C\+I\+F\+::\+Circuit@{C\+I\+F\+::\+Circuit}}
\subsubsection{\texorpdfstring{add\+Polygon()}{addPolygon()}}
{\footnotesize\ttfamily bool add\+Polygon (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_c_i_f_1_1_polygon}{Polygon}} $\ast$}]{polygon }\end{DoxyParamCaption})}



adds a \mbox{\hyperlink{class_c_i_f_1_1_polygon}{Polygon}} to the \mbox{\hyperlink{class_c_i_f_1_1_circuit}{Circuit}}. 


\begin{DoxyParams}{Parameters}
{\em polygon} & the \mbox{\hyperlink{class_c_i_f_1_1_polygon}{Polygon}} object to add. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_c_i_f_1_1_circuit_a90c823b70c4984f302c19ceca604d101}\label{class_c_i_f_1_1_circuit_a90c823b70c4984f302c19ceca604d101}} 
\index{C\+I\+F\+::\+Circuit@{C\+I\+F\+::\+Circuit}!write\+To\+File@{write\+To\+File}}
\index{write\+To\+File@{write\+To\+File}!C\+I\+F\+::\+Circuit@{C\+I\+F\+::\+Circuit}}
\subsubsection{\texorpdfstring{write\+To\+File()}{writeToFile()}}
{\footnotesize\ttfamily bool write\+To\+File (\begin{DoxyParamCaption}\item[{std\+::string}]{filename }\end{DoxyParamCaption})}



writes the database to file. 


\begin{DoxyParams}{Parameters}
{\em filename} & the destination file name.\\
\hline
\end{DoxyParams}
\begin{DoxyNote}{Note}
When driving file, current date and time are used to define date in generated C\+IF file. 
\end{DoxyNote}
