\doxysubsection{SVM library values}
\hypertarget{group__libraryvalues}{}\label{group__libraryvalues}\index{SVM library values@{SVM library values}}


This module contains API functions to handle SVM library values.  


\doxysubsubsubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{group__apimacros_ga0d0dae93534c2ba22499a92705a4e391}{SVM\+\_\+\+FUNCTION}} \mbox{\hyperlink{group__api__types_ga765b850c130fadedd1e7c334e79a93a3}{SVM\+\_\+\+Value\+\_\+\+Library}} \mbox{\hyperlink{group__libraryvalues_ga1b128f51472095d6e1fb5cc519bd66ca}{svm\+\_\+value\+\_\+library\+\_\+new}} (const void \texorpdfstring{$\ast$}{*}svm, const \mbox{\hyperlink{group__api__types_ga2bac50ec69e3f4b0b660eeb39a183927}{SVM\+\_\+\+Code}} code)
\begin{DoxyCompactList}\small\item\em This function creates a library value the SVM can store in its memories from a SVM\+\_\+\+Code. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__apimacros_ga0d0dae93534c2ba22499a92705a4e391}{SVM\+\_\+\+FUNCTION}} \mbox{\hyperlink{group__api__types_ga765b850c130fadedd1e7c334e79a93a3}{SVM\+\_\+\+Value\+\_\+\+Library}} \mbox{\hyperlink{group__libraryvalues_ga682730552672342343b2a86004d64401}{svm\+\_\+value\+\_\+library\+\_\+new\+\_\+null}} (const void \texorpdfstring{$\ast$}{*}svm)
\begin{DoxyCompactList}\small\item\em This function creates a library value the SVM can store in its memories without a value. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__apimacros_ga0d0dae93534c2ba22499a92705a4e391}{SVM\+\_\+\+FUNCTION}} \mbox{\hyperlink{group__api__types_ga872facc2eea0e7296e689134f568b804}{SVM\+\_\+\+Boolean}} \mbox{\hyperlink{group__libraryvalues_gabd617dd33c6b1a595b919a925a5b003a}{svm\+\_\+value\+\_\+type\+\_\+is\+\_\+library}} (const void \texorpdfstring{$\ast$}{*}svm, const \mbox{\hyperlink{group__api__types_gaf37a7c40972a9dabfa18b14127c34fb1}{SVM\+\_\+\+Value}} value)
\begin{DoxyCompactList}\small\item\em This function checks whether a value contains a library. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__apimacros_ga0d0dae93534c2ba22499a92705a4e391}{SVM\+\_\+\+FUNCTION}} \mbox{\hyperlink{group__api__types_ga2bac50ec69e3f4b0b660eeb39a183927}{SVM\+\_\+\+Code}} \mbox{\hyperlink{group__libraryvalues_ga247ceef3fc412d4040c49f433f57f7d1}{svm\+\_\+value\+\_\+library\+\_\+get\+\_\+code}} (const void \texorpdfstring{$\ast$}{*}svm, const \mbox{\hyperlink{group__api__types_ga765b850c130fadedd1e7c334e79a93a3}{SVM\+\_\+\+Value\+\_\+\+Library}} library)
\begin{DoxyCompactList}\small\item\em This function extracts the code contained in a library value. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__apimacros_ga0d0dae93534c2ba22499a92705a4e391}{SVM\+\_\+\+FUNCTION}} void \mbox{\hyperlink{group__libraryvalues_ga13848787b38a7de65fc1404d963a1c84}{svm\+\_\+value\+\_\+library\+\_\+set}} (const void \texorpdfstring{$\ast$}{*}svm, \mbox{\hyperlink{group__api__types_ga765b850c130fadedd1e7c334e79a93a3}{SVM\+\_\+\+Value\+\_\+\+Library}} value, const \mbox{\hyperlink{group__api__types_ga765b850c130fadedd1e7c334e79a93a3}{SVM\+\_\+\+Value\+\_\+\+Library}} library)
\begin{DoxyCompactList}\small\item\em This function replaces the library value by another library value. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__apimacros_ga0d0dae93534c2ba22499a92705a4e391}{SVM\+\_\+\+FUNCTION}} void \mbox{\hyperlink{group__libraryvalues_ga51b07d88b5f47d596c97e26891badfe9}{svm\+\_\+value\+\_\+library\+\_\+set\+\_\+code}} (const void \texorpdfstring{$\ast$}{*}svm, \mbox{\hyperlink{group__api__types_ga765b850c130fadedd1e7c334e79a93a3}{SVM\+\_\+\+Value\+\_\+\+Library}} value, const \mbox{\hyperlink{group__api__types_ga2bac50ec69e3f4b0b660eeb39a183927}{SVM\+\_\+\+Code}} code)
\begin{DoxyCompactList}\small\item\em This function replaces the code contained in a library value from a SVM\+\_\+\+Code. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsubsection{Detailed Description}
This module contains API functions to handle SVM library values. 



\doxysubsubsection{Function Documentation}
\Hypertarget{group__libraryvalues_ga247ceef3fc412d4040c49f433f57f7d1}\label{group__libraryvalues_ga247ceef3fc412d4040c49f433f57f7d1} 
\index{SVM library values@{SVM library values}!svm\_value\_library\_get\_code@{svm\_value\_library\_get\_code}}
\index{svm\_value\_library\_get\_code@{svm\_value\_library\_get\_code}!SVM library values@{SVM library values}}
\doxysubsubsubsection{\texorpdfstring{svm\_value\_library\_get\_code()}{svm\_value\_library\_get\_code()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__apimacros_ga0d0dae93534c2ba22499a92705a4e391}{SVM\+\_\+\+FUNCTION}} \mbox{\hyperlink{group__api__types_ga2bac50ec69e3f4b0b660eeb39a183927}{SVM\+\_\+\+Code}} svm\+\_\+value\+\_\+library\+\_\+get\+\_\+code (\begin{DoxyParamCaption}\item[{const void \texorpdfstring{$\ast$}{*}}]{svm,  }\item[{const \mbox{\hyperlink{group__api__types_ga765b850c130fadedd1e7c334e79a93a3}{SVM\+\_\+\+Value\+\_\+\+Library}}}]{library }\end{DoxyParamCaption})}



This function extracts the code contained in a library value. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em svm} & The SVM pointer passed as first argument of the callback function. \\
\hline
\mbox{\texttt{ in}}  & {\em library} & The library value to extract from.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The code contained in the value.
\end{DoxyReturn}

\begin{DoxyExceptions}{Exceptions}
{\em FAILURE} & interruption when a parameter is incorrect. (Please refer to the main description page of this API.) \\
\hline
{\em FAILURE} & interruption when the library parameter does not contain an library.\\
\hline
\end{DoxyExceptions}
\begin{DoxySeeAlso}{See also}
\doxylink{group__libraryvalues_gabd617dd33c6b1a595b919a925a5b003a}{svm\+\_\+value\+\_\+type\+\_\+is\+\_\+library} 

\doxylink{group__valuestypes_gac64c9dd002934821ebcf286a4f360741}{svm\+\_\+value\+\_\+type\+\_\+get} 
\end{DoxySeeAlso}
\Hypertarget{group__libraryvalues_ga1b128f51472095d6e1fb5cc519bd66ca}\label{group__libraryvalues_ga1b128f51472095d6e1fb5cc519bd66ca} 
\index{SVM library values@{SVM library values}!svm\_value\_library\_new@{svm\_value\_library\_new}}
\index{svm\_value\_library\_new@{svm\_value\_library\_new}!SVM library values@{SVM library values}}
\doxysubsubsubsection{\texorpdfstring{svm\_value\_library\_new()}{svm\_value\_library\_new()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__apimacros_ga0d0dae93534c2ba22499a92705a4e391}{SVM\+\_\+\+FUNCTION}} \mbox{\hyperlink{group__api__types_ga765b850c130fadedd1e7c334e79a93a3}{SVM\+\_\+\+Value\+\_\+\+Library}} svm\+\_\+value\+\_\+library\+\_\+new (\begin{DoxyParamCaption}\item[{const void \texorpdfstring{$\ast$}{*}}]{svm,  }\item[{const \mbox{\hyperlink{group__api__types_ga2bac50ec69e3f4b0b660eeb39a183927}{SVM\+\_\+\+Code}}}]{code }\end{DoxyParamCaption})}



This function creates a library value the SVM can store in its memories from a SVM\+\_\+\+Code. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em svm} & The SVM pointer passed as first argument of the callback function. \\
\hline
\mbox{\texttt{ in}}  & {\em code} & The code of the library.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The library value.
\end{DoxyReturn}

\begin{DoxyExceptions}{Exceptions}
{\em FAILURE} & interruption when a parameter is incorrect. (Please refer to the main description page of this API.) \\
\hline
\end{DoxyExceptions}
\Hypertarget{group__libraryvalues_ga682730552672342343b2a86004d64401}\label{group__libraryvalues_ga682730552672342343b2a86004d64401} 
\index{SVM library values@{SVM library values}!svm\_value\_library\_new\_null@{svm\_value\_library\_new\_null}}
\index{svm\_value\_library\_new\_null@{svm\_value\_library\_new\_null}!SVM library values@{SVM library values}}
\doxysubsubsubsection{\texorpdfstring{svm\_value\_library\_new\_null()}{svm\_value\_library\_new\_null()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__apimacros_ga0d0dae93534c2ba22499a92705a4e391}{SVM\+\_\+\+FUNCTION}} \mbox{\hyperlink{group__api__types_ga765b850c130fadedd1e7c334e79a93a3}{SVM\+\_\+\+Value\+\_\+\+Library}} svm\+\_\+value\+\_\+library\+\_\+new\+\_\+null (\begin{DoxyParamCaption}\item[{const void \texorpdfstring{$\ast$}{*}}]{svm }\end{DoxyParamCaption})}



This function creates a library value the SVM can store in its memories without a value. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em svm} & The SVM pointer passed as first argument of the callback function.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
A non initialised library value.
\end{DoxyReturn}

\begin{DoxyExceptions}{Exceptions}
{\em FAILURE} & interruption when a parameter is incorrect. (Please refer to the main description page of this API.) \\
\hline
\end{DoxyExceptions}
\Hypertarget{group__libraryvalues_ga13848787b38a7de65fc1404d963a1c84}\label{group__libraryvalues_ga13848787b38a7de65fc1404d963a1c84} 
\index{SVM library values@{SVM library values}!svm\_value\_library\_set@{svm\_value\_library\_set}}
\index{svm\_value\_library\_set@{svm\_value\_library\_set}!SVM library values@{SVM library values}}
\doxysubsubsubsection{\texorpdfstring{svm\_value\_library\_set()}{svm\_value\_library\_set()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__apimacros_ga0d0dae93534c2ba22499a92705a4e391}{SVM\+\_\+\+FUNCTION}} void svm\+\_\+value\+\_\+library\+\_\+set (\begin{DoxyParamCaption}\item[{const void \texorpdfstring{$\ast$}{*}}]{svm,  }\item[{\mbox{\hyperlink{group__api__types_ga765b850c130fadedd1e7c334e79a93a3}{SVM\+\_\+\+Value\+\_\+\+Library}}}]{value,  }\item[{const \mbox{\hyperlink{group__api__types_ga765b850c130fadedd1e7c334e79a93a3}{SVM\+\_\+\+Value\+\_\+\+Library}}}]{library }\end{DoxyParamCaption})}



This function replaces the library value by another library value. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em svm} & The SVM pointer passed as first argument of the callback function. \\
\hline
\mbox{\texttt{ in,out}}  & {\em value} & The library value to update. \\
\hline
\mbox{\texttt{ in}}  & {\em library} & The library to use for update.\\
\hline
\end{DoxyParams}

\begin{DoxyExceptions}{Exceptions}
{\em FAILURE} & interruption when a parameter is incorrect. (Please refer to the main description page of this API.) \\
\hline
{\em FAILURE} & interruption when the value parameter does not contain an library. \\
\hline
{\em FAILURE} & interruption when the library parameter does not contain an library. \\
\hline
{\em FAILURE} & interruption when the value is a constant.\\
\hline
\end{DoxyExceptions}
\begin{DoxySeeAlso}{See also}
\doxylink{group__libraryvalues_gabd617dd33c6b1a595b919a925a5b003a}{svm\+\_\+value\+\_\+type\+\_\+is\+\_\+library} 

\doxylink{group__valuestypes_gac64c9dd002934821ebcf286a4f360741}{svm\+\_\+value\+\_\+type\+\_\+get} 
\end{DoxySeeAlso}
\Hypertarget{group__libraryvalues_ga51b07d88b5f47d596c97e26891badfe9}\label{group__libraryvalues_ga51b07d88b5f47d596c97e26891badfe9} 
\index{SVM library values@{SVM library values}!svm\_value\_library\_set\_code@{svm\_value\_library\_set\_code}}
\index{svm\_value\_library\_set\_code@{svm\_value\_library\_set\_code}!SVM library values@{SVM library values}}
\doxysubsubsubsection{\texorpdfstring{svm\_value\_library\_set\_code()}{svm\_value\_library\_set\_code()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__apimacros_ga0d0dae93534c2ba22499a92705a4e391}{SVM\+\_\+\+FUNCTION}} void svm\+\_\+value\+\_\+library\+\_\+set\+\_\+code (\begin{DoxyParamCaption}\item[{const void \texorpdfstring{$\ast$}{*}}]{svm,  }\item[{\mbox{\hyperlink{group__api__types_ga765b850c130fadedd1e7c334e79a93a3}{SVM\+\_\+\+Value\+\_\+\+Library}}}]{value,  }\item[{const \mbox{\hyperlink{group__api__types_ga2bac50ec69e3f4b0b660eeb39a183927}{SVM\+\_\+\+Code}}}]{code }\end{DoxyParamCaption})}



This function replaces the code contained in a library value from a SVM\+\_\+\+Code. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em svm} & The SVM pointer passed as first argument of the callback function. \\
\hline
\mbox{\texttt{ in,out}}  & {\em value} & The library value to update. \\
\hline
\mbox{\texttt{ in}}  & {\em code} & The new code value.\\
\hline
\end{DoxyParams}

\begin{DoxyExceptions}{Exceptions}
{\em FAILURE} & interruption when a parameter is incorrect. (Please refer to the main description page of this API.) \\
\hline
{\em FAILURE} & interruption when the value parameter does not contain an library. \\
\hline
{\em FAILURE} & interruption when the value is a constant.\\
\hline
\end{DoxyExceptions}
\begin{DoxySeeAlso}{See also}
\doxylink{group__libraryvalues_gabd617dd33c6b1a595b919a925a5b003a}{svm\+\_\+value\+\_\+type\+\_\+is\+\_\+library} 

\doxylink{group__valuestypes_gac64c9dd002934821ebcf286a4f360741}{svm\+\_\+value\+\_\+type\+\_\+get} 
\end{DoxySeeAlso}
\Hypertarget{group__libraryvalues_gabd617dd33c6b1a595b919a925a5b003a}\label{group__libraryvalues_gabd617dd33c6b1a595b919a925a5b003a} 
\index{SVM library values@{SVM library values}!svm\_value\_type\_is\_library@{svm\_value\_type\_is\_library}}
\index{svm\_value\_type\_is\_library@{svm\_value\_type\_is\_library}!SVM library values@{SVM library values}}
\doxysubsubsubsection{\texorpdfstring{svm\_value\_type\_is\_library()}{svm\_value\_type\_is\_library()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__apimacros_ga0d0dae93534c2ba22499a92705a4e391}{SVM\+\_\+\+FUNCTION}} \mbox{\hyperlink{group__api__types_ga872facc2eea0e7296e689134f568b804}{SVM\+\_\+\+Boolean}} svm\+\_\+value\+\_\+type\+\_\+is\+\_\+library (\begin{DoxyParamCaption}\item[{const void \texorpdfstring{$\ast$}{*}}]{svm,  }\item[{const \mbox{\hyperlink{group__api__types_gaf37a7c40972a9dabfa18b14127c34fb1}{SVM\+\_\+\+Value}}}]{value }\end{DoxyParamCaption})}



This function checks whether a value contains a library. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em svm} & The SVM pointer passed as first argument of the callback function. \\
\hline
\mbox{\texttt{ in}}  & {\em value} & The value to be diagnosed.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
TRUE if the value contains a library, FALSE otherwise.
\end{DoxyReturn}

\begin{DoxyExceptions}{Exceptions}
{\em FAILURE} & interruption when a parameter is incorrect. (Please refer to the main description page of this API.) \\
\hline
\end{DoxyExceptions}
