\hypertarget{group__codeget}{}\doxysection{SVM codes getters}
\label{group__codeget}\index{SVM codes getters@{SVM codes getters}}


This module contains API functions to create SVM codes.  


\doxysubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{group__apimacros_ga0d0dae93534c2ba22499a92705a4e391}{SVM\+\_\+\+FUNCTION}} \mbox{\hyperlink{group__api__types_ga2bac50ec69e3f4b0b660eeb39a183927}{SVM\+\_\+\+Code}} \mbox{\hyperlink{group__codeget_ga572e810aadbfb72f2188f6b105b112db}{svm\+\_\+code\+\_\+new}} (const void $\ast$svm, const \mbox{\hyperlink{group__api__types_ga3dffb7b48e1c724c527353525675e41c}{SVM\+\_\+\+Value\+\_\+\+String}} name, const \mbox{\hyperlink{group__api__types_ga3dffb7b48e1c724c527353525675e41c}{SVM\+\_\+\+Value\+\_\+\+String}} source)
\begin{DoxyCompactList}\small\item\em This function creates a SVM code from two string values. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__apimacros_ga0d0dae93534c2ba22499a92705a4e391}{SVM\+\_\+\+FUNCTION}} \mbox{\hyperlink{group__api__types_ga2bac50ec69e3f4b0b660eeb39a183927}{SVM\+\_\+\+Code}} \mbox{\hyperlink{group__codeget_ga5d4484adc857479c462419e4d56fdfe6}{svm\+\_\+code\+\_\+new\+\_\+\+\_\+string}} (const void $\ast$svm, const \mbox{\hyperlink{struct_s_v_m___string}{SVM\+\_\+\+String}} name, const \mbox{\hyperlink{struct_s_v_m___string}{SVM\+\_\+\+String}} source)
\begin{DoxyCompactList}\small\item\em This function creates a SVM code from two \mbox{\hyperlink{struct_s_v_m___string}{SVM\+\_\+\+String}}. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__apimacros_ga0d0dae93534c2ba22499a92705a4e391}{SVM\+\_\+\+FUNCTION}} \mbox{\hyperlink{group__api__types_ga2bac50ec69e3f4b0b660eeb39a183927}{SVM\+\_\+\+Code}} \mbox{\hyperlink{group__codeget_gaa54160214ef88c2c103e9164d2bda4f1}{svm\+\_\+code\+\_\+new\+\_\+\+\_\+raw}} (const void $\ast$svm, const char $\ast$name, const char $\ast$source)
\begin{DoxyCompactList}\small\item\em This function creates a SVM code from two C nul-\/terminated strings. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__apimacros_ga0d0dae93534c2ba22499a92705a4e391}{SVM\+\_\+\+FUNCTION}} \mbox{\hyperlink{group__api__types_gad01adf1b14e8f8309ff0c059b2a51196}{SVM\+\_\+\+Variable}} \mbox{\hyperlink{group__codeget_gaaa162b7c92b6190e5095666d684b5ffb}{svm\+\_\+code\+\_\+compile}} (const void $\ast$svm, const \mbox{\hyperlink{group__api__types_ga3dffb7b48e1c724c527353525675e41c}{SVM\+\_\+\+Value\+\_\+\+String}} name, const \mbox{\hyperlink{group__api__types_ga3dffb7b48e1c724c527353525675e41c}{SVM\+\_\+\+Value\+\_\+\+String}} source)
\begin{DoxyCompactList}\small\item\em This function tries to create a SVM code from two string values. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__apimacros_ga0d0dae93534c2ba22499a92705a4e391}{SVM\+\_\+\+FUNCTION}} \mbox{\hyperlink{group__api__types_gad01adf1b14e8f8309ff0c059b2a51196}{SVM\+\_\+\+Variable}} \mbox{\hyperlink{group__codeget_gaed1f35c4d0cb0e8ef6fcf2ca27188527}{svm\+\_\+code\+\_\+compile\+\_\+\+\_\+string}} (const void $\ast$svm, const \mbox{\hyperlink{struct_s_v_m___string}{SVM\+\_\+\+String}} name, const \mbox{\hyperlink{struct_s_v_m___string}{SVM\+\_\+\+String}} source)
\begin{DoxyCompactList}\small\item\em This function creates a SVM code from two \mbox{\hyperlink{struct_s_v_m___string}{SVM\+\_\+\+String}}. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__apimacros_ga0d0dae93534c2ba22499a92705a4e391}{SVM\+\_\+\+FUNCTION}} \mbox{\hyperlink{group__api__types_gad01adf1b14e8f8309ff0c059b2a51196}{SVM\+\_\+\+Variable}} \mbox{\hyperlink{group__codeget_ga7a421a19367dc9b2481542c32c35b8b3}{svm\+\_\+code\+\_\+compile\+\_\+\+\_\+raw}} (const void $\ast$svm, const char $\ast$name, const char $\ast$source)
\begin{DoxyCompactList}\small\item\em This function creates a SVM code from two C nul-\/terminated strings. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
This module contains API functions to create SVM codes. 



\doxysubsection{Function Documentation}
\mbox{\Hypertarget{group__codeget_gaaa162b7c92b6190e5095666d684b5ffb}\label{group__codeget_gaaa162b7c92b6190e5095666d684b5ffb}} 
\index{SVM codes getters@{SVM codes getters}!svm\_code\_compile@{svm\_code\_compile}}
\index{svm\_code\_compile@{svm\_code\_compile}!SVM codes getters@{SVM codes getters}}
\doxysubsubsection{\texorpdfstring{svm\_code\_compile()}{svm\_code\_compile()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__apimacros_ga0d0dae93534c2ba22499a92705a4e391}{SVM\+\_\+\+FUNCTION}} \mbox{\hyperlink{group__api__types_gad01adf1b14e8f8309ff0c059b2a51196}{SVM\+\_\+\+Variable}} svm\+\_\+code\+\_\+compile (\begin{DoxyParamCaption}\item[{const void $\ast$}]{svm,  }\item[{const \mbox{\hyperlink{group__api__types_ga3dffb7b48e1c724c527353525675e41c}{SVM\+\_\+\+Value\+\_\+\+String}}}]{name,  }\item[{const \mbox{\hyperlink{group__api__types_ga3dffb7b48e1c724c527353525675e41c}{SVM\+\_\+\+Value\+\_\+\+String}}}]{source }\end{DoxyParamCaption})}



This function tries to create a SVM code from two string values. 


\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 name} & The code name. \\
\hline
\mbox{\texttt{ in}}  & {\em source} & The code source.\\
\hline
\end{DoxyParams}
The source code is compiled and linked by the SVM code parser.

\begin{DoxyReturn}{Returns}
The executable SVM code (a SVM\+\_\+\+Code) when the compilation succeed, or a string value (a SVM\+\_\+\+Value\+\_\+\+String) containing an error when it failed.
\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}
\mbox{\Hypertarget{group__codeget_ga7a421a19367dc9b2481542c32c35b8b3}\label{group__codeget_ga7a421a19367dc9b2481542c32c35b8b3}} 
\index{SVM codes getters@{SVM codes getters}!svm\_code\_compile\_\_raw@{svm\_code\_compile\_\_raw}}
\index{svm\_code\_compile\_\_raw@{svm\_code\_compile\_\_raw}!SVM codes getters@{SVM codes getters}}
\doxysubsubsection{\texorpdfstring{svm\_code\_compile\_\_raw()}{svm\_code\_compile\_\_raw()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__apimacros_ga0d0dae93534c2ba22499a92705a4e391}{SVM\+\_\+\+FUNCTION}} \mbox{\hyperlink{group__api__types_gad01adf1b14e8f8309ff0c059b2a51196}{SVM\+\_\+\+Variable}} svm\+\_\+code\+\_\+compile\+\_\+\+\_\+raw (\begin{DoxyParamCaption}\item[{const void $\ast$}]{svm,  }\item[{const char $\ast$}]{name,  }\item[{const char $\ast$}]{source }\end{DoxyParamCaption})}



This function creates a SVM code from two C nul-\/terminated strings. 


\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 name} & The code name. \\
\hline
\mbox{\texttt{ in}}  & {\em source} & The code source.\\
\hline
\end{DoxyParams}
The source code is compiled and linked by the SVM code parser.

\begin{DoxyReturn}{Returns}
The executable SVM code (a SVM\+\_\+\+Code) when the compilation succeed, or a string value (a SVM\+\_\+\+Value\+\_\+\+String) containing an error when it failed.
\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}
\mbox{\Hypertarget{group__codeget_gaed1f35c4d0cb0e8ef6fcf2ca27188527}\label{group__codeget_gaed1f35c4d0cb0e8ef6fcf2ca27188527}} 
\index{SVM codes getters@{SVM codes getters}!svm\_code\_compile\_\_string@{svm\_code\_compile\_\_string}}
\index{svm\_code\_compile\_\_string@{svm\_code\_compile\_\_string}!SVM codes getters@{SVM codes getters}}
\doxysubsubsection{\texorpdfstring{svm\_code\_compile\_\_string()}{svm\_code\_compile\_\_string()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__apimacros_ga0d0dae93534c2ba22499a92705a4e391}{SVM\+\_\+\+FUNCTION}} \mbox{\hyperlink{group__api__types_gad01adf1b14e8f8309ff0c059b2a51196}{SVM\+\_\+\+Variable}} svm\+\_\+code\+\_\+compile\+\_\+\+\_\+string (\begin{DoxyParamCaption}\item[{const void $\ast$}]{svm,  }\item[{const \mbox{\hyperlink{struct_s_v_m___string}{SVM\+\_\+\+String}}}]{name,  }\item[{const \mbox{\hyperlink{struct_s_v_m___string}{SVM\+\_\+\+String}}}]{source }\end{DoxyParamCaption})}



This function creates a SVM code from two \mbox{\hyperlink{struct_s_v_m___string}{SVM\+\_\+\+String}}. 


\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 name} & The code name. \\
\hline
\mbox{\texttt{ in}}  & {\em source} & The code source.\\
\hline
\end{DoxyParams}
The source code is compiled and linked by the SVM code parser.

\begin{DoxyReturn}{Returns}
The executable SVM code (a SVM\+\_\+\+Code) when the compilation succeed, or a string value (a SVM\+\_\+\+Value\+\_\+\+String) containing an error when it failed.
\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}
\mbox{\Hypertarget{group__codeget_ga572e810aadbfb72f2188f6b105b112db}\label{group__codeget_ga572e810aadbfb72f2188f6b105b112db}} 
\index{SVM codes getters@{SVM codes getters}!svm\_code\_new@{svm\_code\_new}}
\index{svm\_code\_new@{svm\_code\_new}!SVM codes getters@{SVM codes getters}}
\doxysubsubsection{\texorpdfstring{svm\_code\_new()}{svm\_code\_new()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__apimacros_ga0d0dae93534c2ba22499a92705a4e391}{SVM\+\_\+\+FUNCTION}} \mbox{\hyperlink{group__api__types_ga2bac50ec69e3f4b0b660eeb39a183927}{SVM\+\_\+\+Code}} svm\+\_\+code\+\_\+new (\begin{DoxyParamCaption}\item[{const void $\ast$}]{svm,  }\item[{const \mbox{\hyperlink{group__api__types_ga3dffb7b48e1c724c527353525675e41c}{SVM\+\_\+\+Value\+\_\+\+String}}}]{name,  }\item[{const \mbox{\hyperlink{group__api__types_ga3dffb7b48e1c724c527353525675e41c}{SVM\+\_\+\+Value\+\_\+\+String}}}]{source }\end{DoxyParamCaption})}



This function creates a SVM code from two string values. 


\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 name} & The code name. \\
\hline
\mbox{\texttt{ in}}  & {\em source} & The code source.\\
\hline
\end{DoxyParams}
The source code is compiled and linked by the SVM code parser.

\begin{DoxyReturn}{Returns}
The executable SVM code.
\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 a parse error is detected. \\
\hline
{\em FAILURE} & interruption when a label or a symbol is defined twice or not found. \\
\hline
{\em MEMORY} & interruption when a plugin type does not exists or has no constant callback defined. \\
\hline
{\em PROCESSOR} & interruption when a plugin instruction or interruption does not exists. \\
\hline
\end{DoxyExceptions}
\mbox{\Hypertarget{group__codeget_gaa54160214ef88c2c103e9164d2bda4f1}\label{group__codeget_gaa54160214ef88c2c103e9164d2bda4f1}} 
\index{SVM codes getters@{SVM codes getters}!svm\_code\_new\_\_raw@{svm\_code\_new\_\_raw}}
\index{svm\_code\_new\_\_raw@{svm\_code\_new\_\_raw}!SVM codes getters@{SVM codes getters}}
\doxysubsubsection{\texorpdfstring{svm\_code\_new\_\_raw()}{svm\_code\_new\_\_raw()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__apimacros_ga0d0dae93534c2ba22499a92705a4e391}{SVM\+\_\+\+FUNCTION}} \mbox{\hyperlink{group__api__types_ga2bac50ec69e3f4b0b660eeb39a183927}{SVM\+\_\+\+Code}} svm\+\_\+code\+\_\+new\+\_\+\+\_\+raw (\begin{DoxyParamCaption}\item[{const void $\ast$}]{svm,  }\item[{const char $\ast$}]{name,  }\item[{const char $\ast$}]{source }\end{DoxyParamCaption})}



This function creates a SVM code from two C nul-\/terminated strings. 


\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 name} & The code name. \\
\hline
\mbox{\texttt{ in}}  & {\em source} & The code source.\\
\hline
\end{DoxyParams}
The source code is compiled and linked by the SVM code parser.

\begin{DoxyReturn}{Returns}
The executable SVM code.
\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 a parse error is detected. \\
\hline
{\em FAILURE} & interruption when a label or a symbol is defined twice or not found. \\
\hline
{\em MEMORY} & interruption when a plugin type does not exists or has no constant callback defined. \\
\hline
{\em PROCESSOR} & interruption when a plugin instruction or interruption does not exists. \\
\hline
\end{DoxyExceptions}
\mbox{\Hypertarget{group__codeget_ga5d4484adc857479c462419e4d56fdfe6}\label{group__codeget_ga5d4484adc857479c462419e4d56fdfe6}} 
\index{SVM codes getters@{SVM codes getters}!svm\_code\_new\_\_string@{svm\_code\_new\_\_string}}
\index{svm\_code\_new\_\_string@{svm\_code\_new\_\_string}!SVM codes getters@{SVM codes getters}}
\doxysubsubsection{\texorpdfstring{svm\_code\_new\_\_string()}{svm\_code\_new\_\_string()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__apimacros_ga0d0dae93534c2ba22499a92705a4e391}{SVM\+\_\+\+FUNCTION}} \mbox{\hyperlink{group__api__types_ga2bac50ec69e3f4b0b660eeb39a183927}{SVM\+\_\+\+Code}} svm\+\_\+code\+\_\+new\+\_\+\+\_\+string (\begin{DoxyParamCaption}\item[{const void $\ast$}]{svm,  }\item[{const \mbox{\hyperlink{struct_s_v_m___string}{SVM\+\_\+\+String}}}]{name,  }\item[{const \mbox{\hyperlink{struct_s_v_m___string}{SVM\+\_\+\+String}}}]{source }\end{DoxyParamCaption})}



This function creates a SVM code from two \mbox{\hyperlink{struct_s_v_m___string}{SVM\+\_\+\+String}}. 


\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 name} & The code name. \\
\hline
\mbox{\texttt{ in}}  & {\em source} & The code source.\\
\hline
\end{DoxyParams}
The source code is compiled and linked by the SVM code parser.

\begin{DoxyReturn}{Returns}
The executable SVM code.
\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 a parse error is detected. \\
\hline
{\em FAILURE} & interruption when a label or a symbol is defined twice or not found. \\
\hline
{\em MEMORY} & interruption when a plugin type does not exists or has no constant callback defined. \\
\hline
{\em PROCESSOR} & interruption when a plugin instruction or interruption does not exists. \\
\hline
\end{DoxyExceptions}
