\hypertarget{class_a_g_d_s_1_1_library}{}\section{Library Class Reference}
\label{class_a_g_d_s_1_1_library}\index{Library@{Library}}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
bool \mbox{\hyperlink{class_a_g_d_s_1_1_library_a93d333a20154e0b688ff3ff213039171}{add\+Structure}} (\mbox{\hyperlink{class_a_g_d_s_1_1_structure}{Structure}} $\ast$)
\begin{DoxyCompactList}\small\item\em adds a \mbox{\hyperlink{class_a_g_d_s_1_1_structure}{Structure}} to the \mbox{\hyperlink{class_a_g_d_s_1_1_library}{Library}}. \end{DoxyCompactList}\item 
\mbox{\hyperlink{class_a_g_d_s_1_1_library_a9244ebe2cc60781aaf25cf559ea2473a}{Library}} (std\+::string lib\+Name)
\begin{DoxyCompactList}\small\item\em creates a new \mbox{\hyperlink{class_a_g_d_s_1_1_library}{Library}} \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_a_g_d_s_1_1_library_a938acb6eb8d14aade9dba7331c75ff0a}{set\+Phys\+Units}} (double phys\+Units)
\begin{DoxyCompactList}\small\item\em sets the physical units. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_a_g_d_s_1_1_library_a0d0e972bb142f892c462bb8d7f04a50b}{set\+User\+Units}} (double user\+Units)
\begin{DoxyCompactList}\small\item\em sets the user units. \end{DoxyCompactList}\item 
bool \mbox{\hyperlink{class_a_g_d_s_1_1_library_a33b9d989b84857f46034085664ff3fa2}{write\+To\+File}} (std\+::string file\+Name)
\begin{DoxyCompactList}\small\item\em writes the database to file. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
This class contains all A\+G\+DS library informations such as the name, the unit used (user and physical) and the list of all Structures. 

\subsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{class_a_g_d_s_1_1_library_a9244ebe2cc60781aaf25cf559ea2473a}\label{class_a_g_d_s_1_1_library_a9244ebe2cc60781aaf25cf559ea2473a}} 
\index{A\+G\+D\+S\+::\+Library@{A\+G\+D\+S\+::\+Library}!Library@{Library}}
\index{Library@{Library}!A\+G\+D\+S\+::\+Library@{A\+G\+D\+S\+::\+Library}}
\subsubsection{\texorpdfstring{Library()}{Library()}}
{\footnotesize\ttfamily \mbox{\hyperlink{class_a_g_d_s_1_1_library}{Library}} (\begin{DoxyParamCaption}\item[{std\+::string}]{name }\end{DoxyParamCaption})}



creates a new \mbox{\hyperlink{class_a_g_d_s_1_1_library}{Library}} 


\begin{DoxyParams}{Parameters}
{\em name} & the name of the library. \\
\hline
\end{DoxyParams}


\subsection{Member Function Documentation}
\mbox{\Hypertarget{class_a_g_d_s_1_1_library_a93d333a20154e0b688ff3ff213039171}\label{class_a_g_d_s_1_1_library_a93d333a20154e0b688ff3ff213039171}} 
\index{A\+G\+D\+S\+::\+Library@{A\+G\+D\+S\+::\+Library}!add\+Structure@{add\+Structure}}
\index{add\+Structure@{add\+Structure}!A\+G\+D\+S\+::\+Library@{A\+G\+D\+S\+::\+Library}}
\subsubsection{\texorpdfstring{add\+Structure()}{addStructure()}}
{\footnotesize\ttfamily bool add\+Structure (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_a_g_d_s_1_1_structure}{Structure}} $\ast$}]{str }\end{DoxyParamCaption})}



adds a \mbox{\hyperlink{class_a_g_d_s_1_1_structure}{Structure}} to the \mbox{\hyperlink{class_a_g_d_s_1_1_library}{Library}}. 


\begin{DoxyParams}{Parameters}
{\em str} & the \mbox{\hyperlink{class_a_g_d_s_1_1_structure}{Structure}} object to add. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_a_g_d_s_1_1_library_a938acb6eb8d14aade9dba7331c75ff0a}\label{class_a_g_d_s_1_1_library_a938acb6eb8d14aade9dba7331c75ff0a}} 
\index{A\+G\+D\+S\+::\+Library@{A\+G\+D\+S\+::\+Library}!set\+Phys\+Units@{set\+Phys\+Units}}
\index{set\+Phys\+Units@{set\+Phys\+Units}!A\+G\+D\+S\+::\+Library@{A\+G\+D\+S\+::\+Library}}
\subsubsection{\texorpdfstring{set\+Phys\+Units()}{setPhysUnits()}}
{\footnotesize\ttfamily void set\+Phys\+Units (\begin{DoxyParamCaption}\item[{double}]{phys\+Units }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



sets the physical units. 


\begin{DoxyParams}{Parameters}
{\em phys\+Units} & the value of the physical units. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_a_g_d_s_1_1_library_a0d0e972bb142f892c462bb8d7f04a50b}\label{class_a_g_d_s_1_1_library_a0d0e972bb142f892c462bb8d7f04a50b}} 
\index{A\+G\+D\+S\+::\+Library@{A\+G\+D\+S\+::\+Library}!set\+User\+Units@{set\+User\+Units}}
\index{set\+User\+Units@{set\+User\+Units}!A\+G\+D\+S\+::\+Library@{A\+G\+D\+S\+::\+Library}}
\subsubsection{\texorpdfstring{set\+User\+Units()}{setUserUnits()}}
{\footnotesize\ttfamily void set\+User\+Units (\begin{DoxyParamCaption}\item[{double}]{user\+Units }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



sets the user units. 


\begin{DoxyParams}{Parameters}
{\em user\+Units} & the value of the user units. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_a_g_d_s_1_1_library_a33b9d989b84857f46034085664ff3fa2}\label{class_a_g_d_s_1_1_library_a33b9d989b84857f46034085664ff3fa2}} 
\index{A\+G\+D\+S\+::\+Library@{A\+G\+D\+S\+::\+Library}!write\+To\+File@{write\+To\+File}}
\index{write\+To\+File@{write\+To\+File}!A\+G\+D\+S\+::\+Library@{A\+G\+D\+S\+::\+Library}}
\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}
