\hypertarget{group__Eina__Value__Array__Group}{}\doxysection{Generic Value Array management}
\label{group__Eina__Value__Array__Group}\index{Generic Value Array management@{Generic Value Array management}}
\doxysubsection*{Data Structures}
\begin{DoxyCompactItemize}
\item 
struct \mbox{\hyperlink{struct__Eina__Value__Array}{\+\_\+\+Eina\+\_\+\+Value\+\_\+\+Array}}
\begin{DoxyCompactList}\small\item\em Used to store the array and its subtype. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\#define \mbox{\hyperlink{group__Eina__Value__Array__Group_ga726d6ba30b78d255082e9a1f340ee040}{EINA\+\_\+\+VALUE\+\_\+\+ARRAY\+\_\+\+FOREACH}}(Array,  Length,  It,  Value)
\begin{DoxyCompactList}\small\item\em Definition for the macro to iterate over an array contained in an Eina\+\_\+\+Value. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{Typedefs}
\begin{DoxyCompactItemize}
\item 
typedef struct \mbox{\hyperlink{struct__Eina__Value__Array}{\+\_\+\+Eina\+\_\+\+Value\+\_\+\+Array}} \mbox{\hyperlink{group__Eina__Value__Array__Group_gaf031f54b3d2530ec31b5cd73a5b08fc2}{Eina\+\_\+\+Value\+\_\+\+Array}}
\begin{DoxyCompactList}\small\item\em Value type for \mbox{\hyperlink{group__Eina__Value__Group_ga54ae8736387dd3da85568451ac6821ba}{EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+ARRAY}}. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{group__Eina__Value__Group_ga7985e8af6e956ae31b381bf829173cc0}{Eina\+\_\+\+Value}} $\ast$ \mbox{\hyperlink{group__Eina__Value__Array__Group_ga48893089e10fa1244e9fd82643b50c10}{eina\+\_\+value\+\_\+array\+\_\+new}} (const \mbox{\hyperlink{group__Eina__Value__Group_gaab67ab8bcd0624280c5276044b07e0d2}{Eina\+\_\+\+Value\+\_\+\+Type}} $\ast$subtype, unsigned int step)
\begin{DoxyCompactList}\small\item\em Creates generic value storage of type array. \end{DoxyCompactList}\item 
static \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Eina__Value__Array__Group_gad578acc62fe26443d291ec8d72676a23}{eina\+\_\+value\+\_\+array\+\_\+setup}} (\mbox{\hyperlink{group__Eina__Value__Group_ga7985e8af6e956ae31b381bf829173cc0}{Eina\+\_\+\+Value}} $\ast$value, const \mbox{\hyperlink{group__Eina__Value__Group_gaab67ab8bcd0624280c5276044b07e0d2}{Eina\+\_\+\+Value\+\_\+\+Type}} $\ast$subtype, unsigned int step)
\begin{DoxyCompactList}\small\item\em Initializes generic value storage of type array. \end{DoxyCompactList}\item 
static unsigned int \mbox{\hyperlink{group__Eina__Value__Array__Group_ga758e2a63aa537f872bdbd07b87ea6115}{eina\+\_\+value\+\_\+array\+\_\+count}} (const \mbox{\hyperlink{group__Eina__Value__Group_ga7985e8af6e956ae31b381bf829173cc0}{Eina\+\_\+\+Value}} $\ast$value)
\begin{DoxyCompactList}\small\item\em Queries number of elements in value of array type. \end{DoxyCompactList}\item 
static \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Eina__Value__Array__Group_gad8c7d4de16283d1a81bb3ce9bb12611a}{eina\+\_\+value\+\_\+array\+\_\+remove}} (\mbox{\hyperlink{group__Eina__Value__Group_ga7985e8af6e956ae31b381bf829173cc0}{Eina\+\_\+\+Value}} $\ast$value, unsigned int position)
\begin{DoxyCompactList}\small\item\em Removes element at given position in value of array type. \end{DoxyCompactList}\item 
static \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Eina__Value__Array__Group_gac833bf34f56ba77e87bbe6b79734b653}{eina\+\_\+value\+\_\+array\+\_\+set}} (\mbox{\hyperlink{group__Eina__Value__Group_ga7985e8af6e956ae31b381bf829173cc0}{Eina\+\_\+\+Value}} $\ast$value, unsigned int position,...)
\begin{DoxyCompactList}\small\item\em Sets the generic value in an array member. \end{DoxyCompactList}\item 
static \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Eina__Value__Array__Group_ga9358dce2404ed0926db502539f8a1318}{eina\+\_\+value\+\_\+array\+\_\+get}} (const \mbox{\hyperlink{group__Eina__Value__Group_ga7985e8af6e956ae31b381bf829173cc0}{Eina\+\_\+\+Value}} $\ast$value, unsigned int position,...)
\begin{DoxyCompactList}\small\item\em Gets the generic value from an array member. \end{DoxyCompactList}\item 
static \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Eina__Value__Array__Group_ga9228665a1762eecb5e25f4afe6e2b571}{eina\+\_\+value\+\_\+array\+\_\+insert}} (\mbox{\hyperlink{group__Eina__Value__Group_ga7985e8af6e956ae31b381bf829173cc0}{Eina\+\_\+\+Value}} $\ast$value, unsigned int position,...)
\begin{DoxyCompactList}\small\item\em Inserts a generic value in an array member position. \end{DoxyCompactList}\item 
static \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Eina__Value__Array__Group_ga82efa324a5f4b1d4d99002e1c9c78868}{eina\+\_\+value\+\_\+array\+\_\+append}} (\mbox{\hyperlink{group__Eina__Value__Group_ga7985e8af6e956ae31b381bf829173cc0}{Eina\+\_\+\+Value}} $\ast$value,...)
\begin{DoxyCompactList}\small\item\em Appends a generic value in an array. \end{DoxyCompactList}\item 
static \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Eina__Value__Array__Group_gaee7ba765015a4a8664d6cf0fad6f28bf}{eina\+\_\+value\+\_\+array\+\_\+vset}} (\mbox{\hyperlink{group__Eina__Value__Group_ga7985e8af6e956ae31b381bf829173cc0}{Eina\+\_\+\+Value}} $\ast$value, unsigned int position, va\+\_\+list args)
\begin{DoxyCompactList}\small\item\em Sets a generic value to an array member. \end{DoxyCompactList}\item 
static \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Eina__Value__Array__Group_ga71628a82af073c59a241cf8c93c95d5d}{eina\+\_\+value\+\_\+array\+\_\+vget}} (const \mbox{\hyperlink{group__Eina__Value__Group_ga7985e8af6e956ae31b381bf829173cc0}{Eina\+\_\+\+Value}} $\ast$value, unsigned int position, va\+\_\+list args)
\begin{DoxyCompactList}\small\item\em Gets the generic value from an array member. \end{DoxyCompactList}\item 
static \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Eina__Value__Array__Group_gaf089fc210e854fea2680afdcc9717096}{eina\+\_\+value\+\_\+array\+\_\+vinsert}} (\mbox{\hyperlink{group__Eina__Value__Group_ga7985e8af6e956ae31b381bf829173cc0}{Eina\+\_\+\+Value}} $\ast$value, unsigned int position, va\+\_\+list args)
\begin{DoxyCompactList}\small\item\em Inserts a generic value to an array member position. \end{DoxyCompactList}\item 
static \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Eina__Value__Array__Group_gaa6441c80d76aa31886b77a756ed019ce}{eina\+\_\+value\+\_\+array\+\_\+vappend}} (\mbox{\hyperlink{group__Eina__Value__Group_ga7985e8af6e956ae31b381bf829173cc0}{Eina\+\_\+\+Value}} $\ast$value, va\+\_\+list args)
\begin{DoxyCompactList}\small\item\em Appends a generic value to an array. \end{DoxyCompactList}\item 
static \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Eina__Value__Array__Group_ga2bbd3aa89ec9ac0cc01b86f5e5b139cd}{eina\+\_\+value\+\_\+array\+\_\+pset}} (\mbox{\hyperlink{group__Eina__Value__Group_ga7985e8af6e956ae31b381bf829173cc0}{Eina\+\_\+\+Value}} $\ast$value, unsigned int position, const void $\ast$ptr)
\begin{DoxyCompactList}\small\item\em Sets a generic value to an array member from a pointer. \end{DoxyCompactList}\item 
static \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Eina__Value__Array__Group_ga6e938fbe973b5a5603d769798a0eb755}{eina\+\_\+value\+\_\+array\+\_\+pget}} (const \mbox{\hyperlink{group__Eina__Value__Group_ga7985e8af6e956ae31b381bf829173cc0}{Eina\+\_\+\+Value}} $\ast$value, unsigned int position, void $\ast$ptr)
\begin{DoxyCompactList}\small\item\em Retrieves a generic value into a pointer from an array member. \end{DoxyCompactList}\item 
static \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Eina__Value__Array__Group_ga94e4825e378676ade211c79f420d5a34}{eina\+\_\+value\+\_\+array\+\_\+pinsert}} (\mbox{\hyperlink{group__Eina__Value__Group_ga7985e8af6e956ae31b381bf829173cc0}{Eina\+\_\+\+Value}} $\ast$value, unsigned int position, const void $\ast$ptr)
\begin{DoxyCompactList}\small\item\em Inserts a generic value to an array member position from a pointer. \end{DoxyCompactList}\item 
static \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Eina__Value__Array__Group_ga537c4ab3c3a8b5b2e8dd1d3a7ed3fe91}{eina\+\_\+value\+\_\+array\+\_\+pappend}} (\mbox{\hyperlink{group__Eina__Value__Group_ga7985e8af6e956ae31b381bf829173cc0}{Eina\+\_\+\+Value}} $\ast$value, const void $\ast$ptr)
\begin{DoxyCompactList}\small\item\em Appends a generic value to an array from a pointer. \end{DoxyCompactList}\item 
static \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Eina__Value__Array__Group_ga5220dd928cb280b9d20ae9221da44aa2}{eina\+\_\+value\+\_\+array\+\_\+value\+\_\+get}} (const \mbox{\hyperlink{group__Eina__Value__Group_ga7985e8af6e956ae31b381bf829173cc0}{Eina\+\_\+\+Value}} $\ast$src, unsigned int position, \mbox{\hyperlink{group__Eina__Value__Group_ga7985e8af6e956ae31b381bf829173cc0}{Eina\+\_\+\+Value}} $\ast$dst)
\begin{DoxyCompactList}\small\item\em Retrieves a value from the array as an Eina\+\_\+\+Value copy. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}


\doxysubsection{Macro Definition Documentation}
\mbox{\Hypertarget{group__Eina__Value__Array__Group_ga726d6ba30b78d255082e9a1f340ee040}\label{group__Eina__Value__Array__Group_ga726d6ba30b78d255082e9a1f340ee040}} 
\index{Generic Value Array management@{Generic Value Array management}!EINA\_VALUE\_ARRAY\_FOREACH@{EINA\_VALUE\_ARRAY\_FOREACH}}
\index{EINA\_VALUE\_ARRAY\_FOREACH@{EINA\_VALUE\_ARRAY\_FOREACH}!Generic Value Array management@{Generic Value Array management}}
\doxysubsubsection{\texorpdfstring{EINA\_VALUE\_ARRAY\_FOREACH}{EINA\_VALUE\_ARRAY\_FOREACH}}
{\footnotesize\ttfamily \#define EINA\+\_\+\+VALUE\+\_\+\+ARRAY\+\_\+\+FOREACH(\begin{DoxyParamCaption}\item[{}]{Array,  }\item[{}]{Length,  }\item[{}]{It,  }\item[{}]{Value }\end{DoxyParamCaption})}

{\bfseries Value\+:}
\begin{DoxyCode}{0}
\DoxyCodeLine{  \textcolor{keywordflow}{for} (Length = \mbox{\hyperlink{group__Eina__Value__Array__Group_ga758e2a63aa537f872bdbd07b87ea6115}{eina\_value\_array\_count}}(Array),             \(\backslash\)}
\DoxyCodeLine{         It = 0,                                           \(\backslash\)}
\DoxyCodeLine{         \mbox{\hyperlink{group__Eina__Value__Array__Group_ga9358dce2404ed0926db502539f8a1318}{eina\_value\_array\_get}}(Array, It, \&Value);          \(\backslash\)}
\DoxyCodeLine{       It < Length;                                        \(\backslash\)}
\DoxyCodeLine{       It++,                                               \(\backslash\)}
\DoxyCodeLine{         eina\_value\_array\_get(Array, It, \&Value))}

\end{DoxyCode}


Definition for the macro to iterate over an array contained in an Eina\+\_\+\+Value. 

\begin{DoxySince}{Since}
1.\+21
\end{DoxySince}

\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em Array} & The list to iterate over. \\
\hline
\mbox{\texttt{ in}}  & {\em Length} & Contain the length of the array \\
\hline
\mbox{\texttt{ out}}  & {\em It} & Contain the current position walked over \\
\hline
\mbox{\texttt{ out}}  & {\em Value} & Contain the value at the current position.\\
\hline
\end{DoxyParams}
This macro iterates over {\ttfamily array} from the first element to the last. {\ttfamily value} is the data related to the current element.

It can be used like in the following example\+:


\begin{DoxyCode}{0}
\DoxyCodeLine{\mbox{\hyperlink{struct__Eina__Value}{Eina\_Value}} array;}
\DoxyCodeLine{\mbox{\hyperlink{group__Eina__Error__Group_ga95b3cbb33e987e7d92a81ea785001686}{Eina\_Error}} err;}
\DoxyCodeLine{\textcolor{keywordtype}{unsigned} \textcolor{keywordtype}{int} i, len;}
\DoxyCodeLine{}
\DoxyCodeLine{\textcolor{comment}{// array is already filled with EINA\_VALUE\_TYPE\_ERROR,}}
\DoxyCodeLine{\textcolor{comment}{// its elements are unknown,}}
\DoxyCodeLine{\textcolor{comment}{// EINA\_VALUE\_ARRAY\_FOREACH will be used to check if there is no error}}
\DoxyCodeLine{}
\DoxyCodeLine{}
\DoxyCodeLine{\mbox{\hyperlink{group__Eina__Value__Array__Group_ga726d6ba30b78d255082e9a1f340ee040}{EINA\_VALUE\_ARRAY\_FOREACH}}(\&array, len, i, err)}
\DoxyCodeLine{  \{}
\DoxyCodeLine{     \mbox{\hyperlink{group__Eina__Value__Value__Group_ga6f088fe6c6127d808cdf214b355cbdeb}{eina\_value\_get}}(\&v, \&err);}
\DoxyCodeLine{     fprintf(stderr, \textcolor{stringliteral}{"{}Something has gone wrong: \%s at index: \%i\(\backslash\)n"{}}, \mbox{\hyperlink{group__Eina__Error__Group_ga54953b3f118ad981cb27ef3ac3d77b17}{eina\_error\_msg\_get}}(err), i);}
\DoxyCodeLine{  \}}

\end{DoxyCode}


\begin{DoxyWarning}{Warning}
{\ttfamily array} and v must be a pointer to an Eina\+\_\+\+Value 
\end{DoxyWarning}


\doxysubsection{Typedef Documentation}
\mbox{\Hypertarget{group__Eina__Value__Array__Group_gaf031f54b3d2530ec31b5cd73a5b08fc2}\label{group__Eina__Value__Array__Group_gaf031f54b3d2530ec31b5cd73a5b08fc2}} 
\index{Generic Value Array management@{Generic Value Array management}!Eina\_Value\_Array@{Eina\_Value\_Array}}
\index{Eina\_Value\_Array@{Eina\_Value\_Array}!Generic Value Array management@{Generic Value Array management}}
\doxysubsubsection{\texorpdfstring{Eina\_Value\_Array}{Eina\_Value\_Array}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eina__Value__Array__Group_gaf031f54b3d2530ec31b5cd73a5b08fc2}{Eina\+\_\+\+Value\+\_\+\+Array}}}



Value type for \mbox{\hyperlink{group__Eina__Value__Group_ga54ae8736387dd3da85568451ac6821ba}{EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+ARRAY}}. 

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{struct__Eina__Value__Array}{\+\_\+\+Eina\+\_\+\+Value\+\_\+\+Array}} explains fields. 
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\+2 
\end{DoxySince}
\begin{Desc}
\item[Examples]\par
\mbox{\hyperlink{complex-types-client-eina-value_8c-example}{complex-\/types-\/client-\/eina-\/value.\+c}}.\end{Desc}


\doxysubsection{Function Documentation}
\mbox{\Hypertarget{group__Eina__Value__Array__Group_ga48893089e10fa1244e9fd82643b50c10}\label{group__Eina__Value__Array__Group_ga48893089e10fa1244e9fd82643b50c10}} 
\index{Generic Value Array management@{Generic Value Array management}!eina\_value\_array\_new@{eina\_value\_array\_new}}
\index{eina\_value\_array\_new@{eina\_value\_array\_new}!Generic Value Array management@{Generic Value Array management}}
\doxysubsubsection{\texorpdfstring{eina\_value\_array\_new()}{eina\_value\_array\_new()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eina__Value__Group_ga7985e8af6e956ae31b381bf829173cc0}{Eina\+\_\+\+Value}}$\ast$ eina\+\_\+value\+\_\+array\+\_\+new (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{group__Eina__Value__Group_gaab67ab8bcd0624280c5276044b07e0d2}{Eina\+\_\+\+Value\+\_\+\+Type}} $\ast$}]{subtype,  }\item[{unsigned int}]{step }\end{DoxyParamCaption})}



Creates generic value storage of type array. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em subtype} & How to manage this array members. \\
\hline
\mbox{\texttt{ in}}  & {\em step} & How to grow the members array. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The new value or {\ttfamily NULL} on failure.
\end{DoxyReturn}
Create a new generic value storage of type array. The members are managed using the description specified by {\itshape subtype}.

On failure, {\ttfamily NULL} is returned.

\begin{DoxyNote}{Note}
This creates from mempool and then uses \mbox{\hyperlink{group__Eina__Value__Array__Group_gad578acc62fe26443d291ec8d72676a23}{eina\+\_\+value\+\_\+array\+\_\+setup()}}. 
\end{DoxyNote}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{group__Eina__Value__Value__Group_gaa2aa7ac9d1fcd7c4497cf104cb374a52}{eina\+\_\+value\+\_\+free()}} 

\mbox{\hyperlink{group__Eina__Value__Array__Group_gad578acc62fe26443d291ec8d72676a23}{eina\+\_\+value\+\_\+array\+\_\+setup()}}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\+2 
\end{DoxySince}


References eina\+\_\+mempool\+\_\+free(), eina\+\_\+mempool\+\_\+malloc(), EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+FALSE\+\_\+\+RETURN\+\_\+\+VAL, eina\+\_\+value\+\_\+array\+\_\+setup(), and eina\+\_\+value\+\_\+type\+\_\+check().

\mbox{\Hypertarget{group__Eina__Value__Array__Group_gad578acc62fe26443d291ec8d72676a23}\label{group__Eina__Value__Array__Group_gad578acc62fe26443d291ec8d72676a23}} 
\index{Generic Value Array management@{Generic Value Array management}!eina\_value\_array\_setup@{eina\_value\_array\_setup}}
\index{eina\_value\_array\_setup@{eina\_value\_array\_setup}!Generic Value Array management@{Generic Value Array management}}
\doxysubsubsection{\texorpdfstring{eina\_value\_array\_setup()}{eina\_value\_array\_setup()}}
{\footnotesize\ttfamily static \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} eina\+\_\+value\+\_\+array\+\_\+setup (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Eina__Value__Group_ga7985e8af6e956ae31b381bf829173cc0}{Eina\+\_\+\+Value}} $\ast$}]{value,  }\item[{const \mbox{\hyperlink{group__Eina__Value__Group_gaab67ab8bcd0624280c5276044b07e0d2}{Eina\+\_\+\+Value\+\_\+\+Type}} $\ast$}]{subtype,  }\item[{unsigned int}]{step }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}



Initializes generic value storage of type array. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ out}}  & {\em value} & Value object \\
\hline
\mbox{\texttt{ in}}  & {\em subtype} & How to manage array members. \\
\hline
\mbox{\texttt{ in}}  & {\em step} & How to grow the members array. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
\mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{EINA\+\_\+\+TRUE}} on success, \mbox{\hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{EINA\+\_\+\+FALSE}} otherwise.
\end{DoxyReturn}
Initializes new generic value storage of type array with the given {\itshape subtype}.

This is the same as calling \mbox{\hyperlink{group__Eina__Value__Value__Group_ga9a1407c953694c3d6f40ab01ebe9a294}{eina\+\_\+value\+\_\+set()}} with \mbox{\hyperlink{group__Eina__Value__Group_ga54ae8736387dd3da85568451ac6821ba}{EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+ARRAY}} followed by \mbox{\hyperlink{group__Eina__Value__Value__Group_ga60352abff8ce5f9cdfc870ba9cf2f28e}{eina\+\_\+value\+\_\+pset()}} with the \mbox{\hyperlink{group__Eina__Value__Array__Group_gaf031f54b3d2530ec31b5cd73a5b08fc2}{Eina\+\_\+\+Value\+\_\+\+Array}} description configured.

\begin{DoxyNote}{Note}
Existing contents are ignored! If the value was previously used, then use \mbox{\hyperlink{group__Eina__Value__Value__Group_ga940660709a2862bafac92f47bb721a68}{eina\+\_\+value\+\_\+flush()}} first.
\end{DoxyNote}
On failure, \mbox{\hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{EINA\+\_\+\+FALSE}} is returned.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{group__Eina__Value__Value__Group_ga940660709a2862bafac92f47bb721a68}{eina\+\_\+value\+\_\+flush()}}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\+2 
\end{DoxySince}


Referenced by eina\+\_\+promise\+\_\+all\+\_\+array(), eina\+\_\+promise\+\_\+all\+\_\+iterator(), and eina\+\_\+value\+\_\+array\+\_\+new().

\mbox{\Hypertarget{group__Eina__Value__Array__Group_ga758e2a63aa537f872bdbd07b87ea6115}\label{group__Eina__Value__Array__Group_ga758e2a63aa537f872bdbd07b87ea6115}} 
\index{Generic Value Array management@{Generic Value Array management}!eina\_value\_array\_count@{eina\_value\_array\_count}}
\index{eina\_value\_array\_count@{eina\_value\_array\_count}!Generic Value Array management@{Generic Value Array management}}
\doxysubsubsection{\texorpdfstring{eina\_value\_array\_count()}{eina\_value\_array\_count()}}
{\footnotesize\ttfamily static unsigned int eina\+\_\+value\+\_\+array\+\_\+count (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{group__Eina__Value__Group_ga7985e8af6e956ae31b381bf829173cc0}{Eina\+\_\+\+Value}} $\ast$}]{value }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}



Queries number of elements in value of array type. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em value} & value object. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
number of child elements. 
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+2 
\end{DoxySince}
\begin{Desc}
\item[Examples]\par
\mbox{\hyperlink{complex-types-client-eina-value_8c-example}{complex-\/types-\/client-\/eina-\/value.\+c}}.\end{Desc}
\mbox{\Hypertarget{group__Eina__Value__Array__Group_gad8c7d4de16283d1a81bb3ce9bb12611a}\label{group__Eina__Value__Array__Group_gad8c7d4de16283d1a81bb3ce9bb12611a}} 
\index{Generic Value Array management@{Generic Value Array management}!eina\_value\_array\_remove@{eina\_value\_array\_remove}}
\index{eina\_value\_array\_remove@{eina\_value\_array\_remove}!Generic Value Array management@{Generic Value Array management}}
\doxysubsubsection{\texorpdfstring{eina\_value\_array\_remove()}{eina\_value\_array\_remove()}}
{\footnotesize\ttfamily static \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} eina\+\_\+value\+\_\+array\+\_\+remove (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Eina__Value__Group_ga7985e8af6e956ae31b381bf829173cc0}{Eina\+\_\+\+Value}} $\ast$}]{value,  }\item[{unsigned int}]{position }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}



Removes element at given position in value of array type. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in,out}}  & {\em value} & value object. \\
\hline
\mbox{\texttt{ in}}  & {\em position} & index of the member \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
\mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{EINA\+\_\+\+TRUE}} on success, \mbox{\hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{EINA\+\_\+\+FALSE}} otherwise. 
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+2 
\end{DoxySince}
\mbox{\Hypertarget{group__Eina__Value__Array__Group_gac833bf34f56ba77e87bbe6b79734b653}\label{group__Eina__Value__Array__Group_gac833bf34f56ba77e87bbe6b79734b653}} 
\index{Generic Value Array management@{Generic Value Array management}!eina\_value\_array\_set@{eina\_value\_array\_set}}
\index{eina\_value\_array\_set@{eina\_value\_array\_set}!Generic Value Array management@{Generic Value Array management}}
\doxysubsubsection{\texorpdfstring{eina\_value\_array\_set()}{eina\_value\_array\_set()}}
{\footnotesize\ttfamily static \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} eina\+\_\+value\+\_\+array\+\_\+set (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Eina__Value__Group_ga7985e8af6e956ae31b381bf829173cc0}{Eina\+\_\+\+Value}} $\ast$}]{value,  }\item[{unsigned int}]{position,  }\item[{}]{... }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}



Sets the generic value in an array member. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in,out}}  & {\em value} & Source value object \\
\hline
\mbox{\texttt{ in}}  & {\em position} & Index of the member \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
\mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{EINA\+\_\+\+TRUE}} on success, \mbox{\hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{EINA\+\_\+\+FALSE}} otherwise.
\end{DoxyReturn}
The variable argument is dependent on chosen subtype. The list for basic types\+:

\begin{DoxyItemize}
\item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+VALUE\+: Eina\+\_\+\+Value \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+ERROR\+: Eina\+\_\+\+Error \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+UCHAR\+: unsigned char \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+USHORT\+: unsigned short \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+UINT\+: unsigned int \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+ULONG\+: unsigned long \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+UINT64\+: uint64\+\_\+t \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+CHAR\+: char \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+SHORT\+: short \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+INT\+: int \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+LONG\+: long \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+INT64\+: int64\+\_\+t \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+FLOAT\+: float \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+DOUBLE\+: double \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+STRINGSHARE\+: const char $\ast$ \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+STRING\+: const char $\ast$ \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+ARRAY\+: Eina\+\_\+\+Value\+\_\+\+Array \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+LIST\+: Eina\+\_\+\+Value\+\_\+\+List \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+HASH\+: Eina\+\_\+\+Value\+\_\+\+Hash \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+TIMEVAL\+: struct timeval \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+BLOB\+: Eina\+\_\+\+Value\+\_\+\+Blob \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+STRUCT\+: Eina\+\_\+\+Value\+\_\+\+Struct \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+TM\+: struct tm$\ast$\end{DoxyItemize}

\begin{DoxyCode}{0}
\DoxyCodeLine{\mbox{\hyperlink{struct__Eina__Value}{Eina\_Value}} *value = \mbox{\hyperlink{group__Eina__Value__Array__Group_ga48893089e10fa1244e9fd82643b50c10}{eina\_value\_array\_new}}(\mbox{\hyperlink{group__Eina__Value__Group_ga17974fd9ab773a3efefd591ffde58f77}{EINA\_VALUE\_TYPE\_INT}}, 0);}
\DoxyCodeLine{\textcolor{keywordtype}{int} x;}
\DoxyCodeLine{}
\DoxyCodeLine{\mbox{\hyperlink{group__Eina__Value__Array__Group_ga82efa324a5f4b1d4d99002e1c9c78868}{eina\_value\_array\_append}}(value, 1234);}
\DoxyCodeLine{\mbox{\hyperlink{group__Eina__Value__Array__Group_gac833bf34f56ba77e87bbe6b79734b653}{eina\_value\_array\_set}}(value, 0, 5678);}
\DoxyCodeLine{\mbox{\hyperlink{group__Eina__Value__Array__Group_ga9358dce2404ed0926db502539f8a1318}{eina\_value\_array\_get}}(value, 0, \&x);}
\DoxyCodeLine{\mbox{\hyperlink{group__Eina__Value__Value__Group_gaa2aa7ac9d1fcd7c4497cf104cb374a52}{eina\_value\_free}}(value);}

\end{DoxyCode}


\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{group__Eina__Value__Array__Group_ga9358dce2404ed0926db502539f8a1318}{eina\+\_\+value\+\_\+array\+\_\+get()}} 

\mbox{\hyperlink{group__Eina__Value__Array__Group_gaee7ba765015a4a8664d6cf0fad6f28bf}{eina\+\_\+value\+\_\+array\+\_\+vset()}} 

\mbox{\hyperlink{group__Eina__Value__Array__Group_ga2bbd3aa89ec9ac0cc01b86f5e5b139cd}{eina\+\_\+value\+\_\+array\+\_\+pset()}} 

\mbox{\hyperlink{group__Eina__Value__Array__Group_ga9228665a1762eecb5e25f4afe6e2b571}{eina\+\_\+value\+\_\+array\+\_\+insert()}} 

\mbox{\hyperlink{group__Eina__Value__Array__Group_gaf089fc210e854fea2680afdcc9717096}{eina\+\_\+value\+\_\+array\+\_\+vinsert()}} 

\mbox{\hyperlink{group__Eina__Value__Array__Group_ga94e4825e378676ade211c79f420d5a34}{eina\+\_\+value\+\_\+array\+\_\+pinsert()}} 

\mbox{\hyperlink{group__Eina__Value__Array__Group_ga82efa324a5f4b1d4d99002e1c9c78868}{eina\+\_\+value\+\_\+array\+\_\+append()}} 

\mbox{\hyperlink{group__Eina__Value__Array__Group_gaa6441c80d76aa31886b77a756ed019ce}{eina\+\_\+value\+\_\+array\+\_\+vappend()}} 

\mbox{\hyperlink{group__Eina__Value__Array__Group_ga537c4ab3c3a8b5b2e8dd1d3a7ed3fe91}{eina\+\_\+value\+\_\+array\+\_\+pappend()}}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\+2 
\end{DoxySince}
\mbox{\Hypertarget{group__Eina__Value__Array__Group_ga9358dce2404ed0926db502539f8a1318}\label{group__Eina__Value__Array__Group_ga9358dce2404ed0926db502539f8a1318}} 
\index{Generic Value Array management@{Generic Value Array management}!eina\_value\_array\_get@{eina\_value\_array\_get}}
\index{eina\_value\_array\_get@{eina\_value\_array\_get}!Generic Value Array management@{Generic Value Array management}}
\doxysubsubsection{\texorpdfstring{eina\_value\_array\_get()}{eina\_value\_array\_get()}}
{\footnotesize\ttfamily static \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} eina\+\_\+value\+\_\+array\+\_\+get (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{group__Eina__Value__Group_ga7985e8af6e956ae31b381bf829173cc0}{Eina\+\_\+\+Value}} $\ast$}]{value,  }\item[{unsigned int}]{position,  }\item[{}]{... }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}



Gets the generic value from an array member. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em value} & Source value object \\
\hline
\mbox{\texttt{ in}}  & {\em position} & Index of the member \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
\mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{EINA\+\_\+\+TRUE}} on success, \mbox{\hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{EINA\+\_\+\+FALSE}} otherwise.
\end{DoxyReturn}
The value is returned in the variable argument parameter, and the actual value is type-\/dependent, but usually it will be what is stored inside the object. There shouldn\textquotesingle{}t be any memory allocation; thus the contents should {\bfseries{not}} be freed.

The variable argument is dependent on chosen subtype. The list for basic types\+:

\begin{DoxyItemize}
\item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+VALUE\+: Eina\+\_\+\+Value$\ast$ \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+ERROR\+: Eina\+\_\+\+Error$\ast$ \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+UCHAR\+: unsigned char$\ast$ \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+USHORT\+: unsigned short$\ast$ \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+UINT\+: unsigned int$\ast$ \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+ULONG\+: unsigned long$\ast$ \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+UINT64\+: uint64\+\_\+t$\ast$ \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+CHAR\+: char$\ast$ \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+SHORT\+: short$\ast$ \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+INT\+: int$\ast$ \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+LONG\+: long$\ast$ \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+INT64\+: int64\+\_\+t$\ast$ \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+FLOAT\+: float$\ast$ \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+DOUBLE\+: double$\ast$ \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+STRINGSHARE\+: const char $\ast$$\ast$ \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+STRING\+: const char $\ast$$\ast$ \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+ARRAY\+: Eina\+\_\+\+Value\+\_\+\+Array$\ast$ \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+LIST\+: Eina\+\_\+\+Value\+\_\+\+List$\ast$ \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+HASH\+: Eina\+\_\+\+Value\+\_\+\+Hash$\ast$ \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+TIMEVAL\+: struct timeval$\ast$ \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+BLOB\+: Eina\+\_\+\+Value\+\_\+\+Blob$\ast$ \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+STRUCT\+: Eina\+\_\+\+Value\+\_\+\+Struct$\ast$ \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+TM\+: struct tm$\ast$\end{DoxyItemize}

\begin{DoxyCode}{0}
\DoxyCodeLine{\mbox{\hyperlink{struct__Eina__Value}{Eina\_Value}} *value = \mbox{\hyperlink{group__Eina__Value__Array__Group_ga48893089e10fa1244e9fd82643b50c10}{eina\_value\_array\_new}}(\mbox{\hyperlink{group__Eina__Value__Group_ga17974fd9ab773a3efefd591ffde58f77}{EINA\_VALUE\_TYPE\_INT}}, 0);}
\DoxyCodeLine{\textcolor{keywordtype}{int} x;}
\DoxyCodeLine{}
\DoxyCodeLine{\mbox{\hyperlink{group__Eina__Value__Array__Group_ga82efa324a5f4b1d4d99002e1c9c78868}{eina\_value\_array\_append}}(value, 1234);}
\DoxyCodeLine{\mbox{\hyperlink{group__Eina__Value__Array__Group_ga9358dce2404ed0926db502539f8a1318}{eina\_value\_array\_get}}(value, 0, \&x);}
\DoxyCodeLine{\mbox{\hyperlink{group__Eina__Value__Value__Group_gaa2aa7ac9d1fcd7c4497cf104cb374a52}{eina\_value\_free}}(value);}

\end{DoxyCode}


\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{group__Eina__Value__Array__Group_gac833bf34f56ba77e87bbe6b79734b653}{eina\+\_\+value\+\_\+array\+\_\+set()}} 

\mbox{\hyperlink{group__Eina__Value__Array__Group_gaee7ba765015a4a8664d6cf0fad6f28bf}{eina\+\_\+value\+\_\+array\+\_\+vset()}} 

\mbox{\hyperlink{group__Eina__Value__Array__Group_ga2bbd3aa89ec9ac0cc01b86f5e5b139cd}{eina\+\_\+value\+\_\+array\+\_\+pset()}}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\+2 
\end{DoxySince}
\begin{Desc}
\item[Examples]\par
\mbox{\hyperlink{complex-types-client-eina-value_8c-example}{complex-\/types-\/client-\/eina-\/value.\+c}}.\end{Desc}
\mbox{\Hypertarget{group__Eina__Value__Array__Group_ga9228665a1762eecb5e25f4afe6e2b571}\label{group__Eina__Value__Array__Group_ga9228665a1762eecb5e25f4afe6e2b571}} 
\index{Generic Value Array management@{Generic Value Array management}!eina\_value\_array\_insert@{eina\_value\_array\_insert}}
\index{eina\_value\_array\_insert@{eina\_value\_array\_insert}!Generic Value Array management@{Generic Value Array management}}
\doxysubsubsection{\texorpdfstring{eina\_value\_array\_insert()}{eina\_value\_array\_insert()}}
{\footnotesize\ttfamily static \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} eina\+\_\+value\+\_\+array\+\_\+insert (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Eina__Value__Group_ga7985e8af6e956ae31b381bf829173cc0}{Eina\+\_\+\+Value}} $\ast$}]{value,  }\item[{unsigned int}]{position,  }\item[{}]{... }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}



Inserts a generic value in an array member position. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em value} & Source value object \\
\hline
\mbox{\texttt{ in}}  & {\em position} & Index of the member \\
\hline
\mbox{\texttt{ in}}  & {\em ...} & Variable arguments of data to insert \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
\mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{EINA\+\_\+\+TRUE}} on success, \mbox{\hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{EINA\+\_\+\+FALSE}} otherwise.
\end{DoxyReturn}
The variable argument is dependent on chosen subtype. The list for basic types\+:

\begin{DoxyItemize}
\item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+VALUE\+: Eina\+\_\+\+Value \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+ERROR\+: Eina\+\_\+\+Error \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+UCHAR\+: unsigned char \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+USHORT\+: unsigned short \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+UINT\+: unsigned int \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+ULONG\+: unsigned long \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+UINT64\+: uint64\+\_\+t \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+CHAR\+: char \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+SHORT\+: short \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+INT\+: int \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+LONG\+: long \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+INT64\+: int64\+\_\+t \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+FLOAT\+: float \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+DOUBLE\+: double \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+STRINGSHARE\+: const char $\ast$ \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+STRING\+: const char $\ast$ \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+ARRAY\+: Eina\+\_\+\+Value\+\_\+\+Array \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+LIST\+: Eina\+\_\+\+Value\+\_\+\+List \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+HASH\+: Eina\+\_\+\+Value\+\_\+\+Hash \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+TIMEVAL\+: struct timeval \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+BLOB\+: Eina\+\_\+\+Value\+\_\+\+Blob \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+STRUCT\+: Eina\+\_\+\+Value\+\_\+\+Struct \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+TM\+: struct tm$\ast$\end{DoxyItemize}

\begin{DoxyCode}{0}
\DoxyCodeLine{\mbox{\hyperlink{struct__Eina__Value}{Eina\_Value}} *value = \mbox{\hyperlink{group__Eina__Value__Array__Group_ga48893089e10fa1244e9fd82643b50c10}{eina\_value\_array\_new}}(\mbox{\hyperlink{group__Eina__Value__Group_ga17974fd9ab773a3efefd591ffde58f77}{EINA\_VALUE\_TYPE\_INT}}, 0);}
\DoxyCodeLine{\textcolor{keywordtype}{int} x;}
\DoxyCodeLine{}
\DoxyCodeLine{\mbox{\hyperlink{group__Eina__Value__Array__Group_ga9228665a1762eecb5e25f4afe6e2b571}{eina\_value\_array\_insert}}(value, 0, 1234);}
\DoxyCodeLine{\mbox{\hyperlink{group__Eina__Value__Array__Group_ga9358dce2404ed0926db502539f8a1318}{eina\_value\_array\_get}}(value, 0, \&x);}
\DoxyCodeLine{\mbox{\hyperlink{group__Eina__Value__Value__Group_gaa2aa7ac9d1fcd7c4497cf104cb374a52}{eina\_value\_free}}(value);}

\end{DoxyCode}


\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{group__Eina__Value__Array__Group_gac833bf34f56ba77e87bbe6b79734b653}{eina\+\_\+value\+\_\+array\+\_\+set()}} 

\mbox{\hyperlink{group__Eina__Value__Array__Group_ga9358dce2404ed0926db502539f8a1318}{eina\+\_\+value\+\_\+array\+\_\+get()}} 

\mbox{\hyperlink{group__Eina__Value__Array__Group_gaee7ba765015a4a8664d6cf0fad6f28bf}{eina\+\_\+value\+\_\+array\+\_\+vset()}} 

\mbox{\hyperlink{group__Eina__Value__Array__Group_ga2bbd3aa89ec9ac0cc01b86f5e5b139cd}{eina\+\_\+value\+\_\+array\+\_\+pset()}} 

\mbox{\hyperlink{group__Eina__Value__Array__Group_gaf089fc210e854fea2680afdcc9717096}{eina\+\_\+value\+\_\+array\+\_\+vinsert()}} 

\mbox{\hyperlink{group__Eina__Value__Array__Group_ga94e4825e378676ade211c79f420d5a34}{eina\+\_\+value\+\_\+array\+\_\+pinsert()}} 

\mbox{\hyperlink{group__Eina__Value__Array__Group_ga82efa324a5f4b1d4d99002e1c9c78868}{eina\+\_\+value\+\_\+array\+\_\+append()}} 

\mbox{\hyperlink{group__Eina__Value__Array__Group_gaa6441c80d76aa31886b77a756ed019ce}{eina\+\_\+value\+\_\+array\+\_\+vappend()}} 

\mbox{\hyperlink{group__Eina__Value__Array__Group_ga537c4ab3c3a8b5b2e8dd1d3a7ed3fe91}{eina\+\_\+value\+\_\+array\+\_\+pappend()}}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\+2 
\end{DoxySince}
\mbox{\Hypertarget{group__Eina__Value__Array__Group_ga82efa324a5f4b1d4d99002e1c9c78868}\label{group__Eina__Value__Array__Group_ga82efa324a5f4b1d4d99002e1c9c78868}} 
\index{Generic Value Array management@{Generic Value Array management}!eina\_value\_array\_append@{eina\_value\_array\_append}}
\index{eina\_value\_array\_append@{eina\_value\_array\_append}!Generic Value Array management@{Generic Value Array management}}
\doxysubsubsection{\texorpdfstring{eina\_value\_array\_append()}{eina\_value\_array\_append()}}
{\footnotesize\ttfamily static \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} eina\+\_\+value\+\_\+array\+\_\+append (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Eina__Value__Group_ga7985e8af6e956ae31b381bf829173cc0}{Eina\+\_\+\+Value}} $\ast$}]{value,  }\item[{}]{... }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}



Appends a generic value in an array. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in,out}}  & {\em value} & Source value object \\
\hline
\mbox{\texttt{ in}}  & {\em ...} & Variable arguments \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
\mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{EINA\+\_\+\+TRUE}} on success, \mbox{\hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{EINA\+\_\+\+FALSE}} otherwise.
\end{DoxyReturn}
The variable argument is dependent on chosen subtype. The list for basic types\+:

\begin{DoxyItemize}
\item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+VALUE\+: Eina\+\_\+\+Value \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+ERROR\+: Eina\+\_\+\+Error \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+UCHAR\+: unsigned char \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+USHORT\+: unsigned short \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+UINT\+: unsigned int \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+ULONG\+: unsigned long \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+UINT64\+: uint64\+\_\+t \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+CHAR\+: char \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+SHORT\+: short \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+INT\+: int \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+LONG\+: long \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+INT64\+: int64\+\_\+t \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+FLOAT\+: float \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+DOUBLE\+: double \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+STRINGSHARE\+: const char $\ast$ \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+STRING\+: const char $\ast$ \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+ARRAY\+: Eina\+\_\+\+Value\+\_\+\+Array \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+LIST\+: Eina\+\_\+\+Value\+\_\+\+List \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+HASH\+: Eina\+\_\+\+Value\+\_\+\+Hash \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+TIMEVAL\+: struct timeval \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+BLOB\+: Eina\+\_\+\+Value\+\_\+\+Blob \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+STRUCT\+: Eina\+\_\+\+Value\+\_\+\+Struct \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+TM\+: struct tm$\ast$\end{DoxyItemize}

\begin{DoxyCode}{0}
\DoxyCodeLine{\mbox{\hyperlink{struct__Eina__Value}{Eina\_Value}} *value = \mbox{\hyperlink{group__Eina__Value__Array__Group_ga48893089e10fa1244e9fd82643b50c10}{eina\_value\_array\_new}}(\mbox{\hyperlink{group__Eina__Value__Group_ga17974fd9ab773a3efefd591ffde58f77}{EINA\_VALUE\_TYPE\_INT}}, 0);}
\DoxyCodeLine{\textcolor{keywordtype}{int} x;}
\DoxyCodeLine{}
\DoxyCodeLine{\mbox{\hyperlink{group__Eina__Value__Array__Group_ga82efa324a5f4b1d4d99002e1c9c78868}{eina\_value\_array\_append}}(value, 1234);}
\DoxyCodeLine{\mbox{\hyperlink{group__Eina__Value__Array__Group_ga9358dce2404ed0926db502539f8a1318}{eina\_value\_array\_get}}(value, 0, \&x);}
\DoxyCodeLine{\mbox{\hyperlink{group__Eina__Value__Value__Group_gaa2aa7ac9d1fcd7c4497cf104cb374a52}{eina\_value\_free}}(value);}

\end{DoxyCode}


\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{group__Eina__Value__Array__Group_gac833bf34f56ba77e87bbe6b79734b653}{eina\+\_\+value\+\_\+array\+\_\+set()}} 

\mbox{\hyperlink{group__Eina__Value__Array__Group_ga9358dce2404ed0926db502539f8a1318}{eina\+\_\+value\+\_\+array\+\_\+get()}} 

\mbox{\hyperlink{group__Eina__Value__Array__Group_gaee7ba765015a4a8664d6cf0fad6f28bf}{eina\+\_\+value\+\_\+array\+\_\+vset()}} 

\mbox{\hyperlink{group__Eina__Value__Array__Group_ga2bbd3aa89ec9ac0cc01b86f5e5b139cd}{eina\+\_\+value\+\_\+array\+\_\+pset()}} 

\mbox{\hyperlink{group__Eina__Value__Array__Group_gaf089fc210e854fea2680afdcc9717096}{eina\+\_\+value\+\_\+array\+\_\+vinsert()}} 

\mbox{\hyperlink{group__Eina__Value__Array__Group_ga94e4825e378676ade211c79f420d5a34}{eina\+\_\+value\+\_\+array\+\_\+pinsert()}} 

\mbox{\hyperlink{group__Eina__Value__Array__Group_ga82efa324a5f4b1d4d99002e1c9c78868}{eina\+\_\+value\+\_\+array\+\_\+append()}} 

\mbox{\hyperlink{group__Eina__Value__Array__Group_gaa6441c80d76aa31886b77a756ed019ce}{eina\+\_\+value\+\_\+array\+\_\+vappend()}} 

\mbox{\hyperlink{group__Eina__Value__Array__Group_ga537c4ab3c3a8b5b2e8dd1d3a7ed3fe91}{eina\+\_\+value\+\_\+array\+\_\+pappend()}}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\+2 
\end{DoxySince}
\begin{Desc}
\item[Examples]\par
\mbox{\hyperlink{complex-types-client-eina-value_8c-example}{complex-\/types-\/client-\/eina-\/value.\+c}}.\end{Desc}


Referenced by eina\+\_\+promise\+\_\+all\+\_\+array(), and eina\+\_\+promise\+\_\+all\+\_\+iterator().

\mbox{\Hypertarget{group__Eina__Value__Array__Group_gaee7ba765015a4a8664d6cf0fad6f28bf}\label{group__Eina__Value__Array__Group_gaee7ba765015a4a8664d6cf0fad6f28bf}} 
\index{Generic Value Array management@{Generic Value Array management}!eina\_value\_array\_vset@{eina\_value\_array\_vset}}
\index{eina\_value\_array\_vset@{eina\_value\_array\_vset}!Generic Value Array management@{Generic Value Array management}}
\doxysubsubsection{\texorpdfstring{eina\_value\_array\_vset()}{eina\_value\_array\_vset()}}
{\footnotesize\ttfamily static \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} eina\+\_\+value\+\_\+array\+\_\+vset (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Eina__Value__Group_ga7985e8af6e956ae31b381bf829173cc0}{Eina\+\_\+\+Value}} $\ast$}]{value,  }\item[{unsigned int}]{position,  }\item[{va\+\_\+list}]{args }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}



Sets a generic value to an array member. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in,out}}  & {\em value} & Source value object \\
\hline
\mbox{\texttt{ in}}  & {\em position} & Index of the member \\
\hline
\mbox{\texttt{ in}}  & {\em args} & Variable argument \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
\mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{EINA\+\_\+\+TRUE}} on success, \mbox{\hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{EINA\+\_\+\+FALSE}} otherwise.
\end{DoxyReturn}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{group__Eina__Value__Array__Group_gac833bf34f56ba77e87bbe6b79734b653}{eina\+\_\+value\+\_\+array\+\_\+set()}} 

\mbox{\hyperlink{group__Eina__Value__Array__Group_ga9358dce2404ed0926db502539f8a1318}{eina\+\_\+value\+\_\+array\+\_\+get()}} 

\mbox{\hyperlink{group__Eina__Value__Array__Group_ga2bbd3aa89ec9ac0cc01b86f5e5b139cd}{eina\+\_\+value\+\_\+array\+\_\+pset()}} 

\mbox{\hyperlink{group__Eina__Value__Array__Group_ga9228665a1762eecb5e25f4afe6e2b571}{eina\+\_\+value\+\_\+array\+\_\+insert()}} 

\mbox{\hyperlink{group__Eina__Value__Array__Group_gaf089fc210e854fea2680afdcc9717096}{eina\+\_\+value\+\_\+array\+\_\+vinsert()}} 

\mbox{\hyperlink{group__Eina__Value__Array__Group_ga94e4825e378676ade211c79f420d5a34}{eina\+\_\+value\+\_\+array\+\_\+pinsert()}} 

\mbox{\hyperlink{group__Eina__Value__Array__Group_ga82efa324a5f4b1d4d99002e1c9c78868}{eina\+\_\+value\+\_\+array\+\_\+append()}} 

\mbox{\hyperlink{group__Eina__Value__Array__Group_gaa6441c80d76aa31886b77a756ed019ce}{eina\+\_\+value\+\_\+array\+\_\+vappend()}} 

\mbox{\hyperlink{group__Eina__Value__Array__Group_ga537c4ab3c3a8b5b2e8dd1d3a7ed3fe91}{eina\+\_\+value\+\_\+array\+\_\+pappend()}}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\+2 
\end{DoxySince}
\mbox{\Hypertarget{group__Eina__Value__Array__Group_ga71628a82af073c59a241cf8c93c95d5d}\label{group__Eina__Value__Array__Group_ga71628a82af073c59a241cf8c93c95d5d}} 
\index{Generic Value Array management@{Generic Value Array management}!eina\_value\_array\_vget@{eina\_value\_array\_vget}}
\index{eina\_value\_array\_vget@{eina\_value\_array\_vget}!Generic Value Array management@{Generic Value Array management}}
\doxysubsubsection{\texorpdfstring{eina\_value\_array\_vget()}{eina\_value\_array\_vget()}}
{\footnotesize\ttfamily static \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} eina\+\_\+value\+\_\+array\+\_\+vget (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{group__Eina__Value__Group_ga7985e8af6e956ae31b381bf829173cc0}{Eina\+\_\+\+Value}} $\ast$}]{value,  }\item[{unsigned int}]{position,  }\item[{va\+\_\+list}]{args }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}



Gets the generic value from an array member. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em value} & Source value object \\
\hline
\mbox{\texttt{ in}}  & {\em position} & Index of the member \\
\hline
\mbox{\texttt{ out}}  & {\em args} & Variable argument \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
\mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{EINA\+\_\+\+TRUE}} on success, \mbox{\hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{EINA\+\_\+\+FALSE}} otherwise.
\end{DoxyReturn}
The value is returned in the variable argument parameter, the actual value is type-\/dependent, but usually it will be what is stored inside the object. There shouldn\textquotesingle{}t be any memory allocation, thus the contents should {\bfseries{not}} be freed.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{group__Eina__Value__Array__Group_gaee7ba765015a4a8664d6cf0fad6f28bf}{eina\+\_\+value\+\_\+array\+\_\+vset()}} 

\mbox{\hyperlink{group__Eina__Value__Array__Group_ga9358dce2404ed0926db502539f8a1318}{eina\+\_\+value\+\_\+array\+\_\+get()}} 

\mbox{\hyperlink{group__Eina__Value__Array__Group_ga6e938fbe973b5a5603d769798a0eb755}{eina\+\_\+value\+\_\+array\+\_\+pget()}}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\+2 
\end{DoxySince}
\mbox{\Hypertarget{group__Eina__Value__Array__Group_gaf089fc210e854fea2680afdcc9717096}\label{group__Eina__Value__Array__Group_gaf089fc210e854fea2680afdcc9717096}} 
\index{Generic Value Array management@{Generic Value Array management}!eina\_value\_array\_vinsert@{eina\_value\_array\_vinsert}}
\index{eina\_value\_array\_vinsert@{eina\_value\_array\_vinsert}!Generic Value Array management@{Generic Value Array management}}
\doxysubsubsection{\texorpdfstring{eina\_value\_array\_vinsert()}{eina\_value\_array\_vinsert()}}
{\footnotesize\ttfamily static \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} eina\+\_\+value\+\_\+array\+\_\+vinsert (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Eina__Value__Group_ga7985e8af6e956ae31b381bf829173cc0}{Eina\+\_\+\+Value}} $\ast$}]{value,  }\item[{unsigned int}]{position,  }\item[{va\+\_\+list}]{args }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}



Inserts a generic value to an array member position. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in,out}}  & {\em value} & Source value object \\
\hline
\mbox{\texttt{ in}}  & {\em position} & Index of the member \\
\hline
\mbox{\texttt{ in}}  & {\em args} & Variable argument \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
\mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{EINA\+\_\+\+TRUE}} on success, \mbox{\hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{EINA\+\_\+\+FALSE}} otherwise.
\end{DoxyReturn}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{group__Eina__Value__Array__Group_gac833bf34f56ba77e87bbe6b79734b653}{eina\+\_\+value\+\_\+array\+\_\+set()}} 

\mbox{\hyperlink{group__Eina__Value__Array__Group_ga9358dce2404ed0926db502539f8a1318}{eina\+\_\+value\+\_\+array\+\_\+get()}} 

\mbox{\hyperlink{group__Eina__Value__Array__Group_gaee7ba765015a4a8664d6cf0fad6f28bf}{eina\+\_\+value\+\_\+array\+\_\+vset()}} 

\mbox{\hyperlink{group__Eina__Value__Array__Group_ga2bbd3aa89ec9ac0cc01b86f5e5b139cd}{eina\+\_\+value\+\_\+array\+\_\+pset()}} 

\mbox{\hyperlink{group__Eina__Value__Array__Group_ga9228665a1762eecb5e25f4afe6e2b571}{eina\+\_\+value\+\_\+array\+\_\+insert()}} 

\mbox{\hyperlink{group__Eina__Value__Array__Group_ga94e4825e378676ade211c79f420d5a34}{eina\+\_\+value\+\_\+array\+\_\+pinsert()}} 

\mbox{\hyperlink{group__Eina__Value__Array__Group_ga82efa324a5f4b1d4d99002e1c9c78868}{eina\+\_\+value\+\_\+array\+\_\+append()}} 

\mbox{\hyperlink{group__Eina__Value__Array__Group_gaa6441c80d76aa31886b77a756ed019ce}{eina\+\_\+value\+\_\+array\+\_\+vappend()}} 

\mbox{\hyperlink{group__Eina__Value__Array__Group_ga537c4ab3c3a8b5b2e8dd1d3a7ed3fe91}{eina\+\_\+value\+\_\+array\+\_\+pappend()}}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\+2 
\end{DoxySince}
\mbox{\Hypertarget{group__Eina__Value__Array__Group_gaa6441c80d76aa31886b77a756ed019ce}\label{group__Eina__Value__Array__Group_gaa6441c80d76aa31886b77a756ed019ce}} 
\index{Generic Value Array management@{Generic Value Array management}!eina\_value\_array\_vappend@{eina\_value\_array\_vappend}}
\index{eina\_value\_array\_vappend@{eina\_value\_array\_vappend}!Generic Value Array management@{Generic Value Array management}}
\doxysubsubsection{\texorpdfstring{eina\_value\_array\_vappend()}{eina\_value\_array\_vappend()}}
{\footnotesize\ttfamily static \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} eina\+\_\+value\+\_\+array\+\_\+vappend (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Eina__Value__Group_ga7985e8af6e956ae31b381bf829173cc0}{Eina\+\_\+\+Value}} $\ast$}]{value,  }\item[{va\+\_\+list}]{args }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}



Appends a generic value to an array. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in,out}}  & {\em value} & Source value object \\
\hline
\mbox{\texttt{ in}}  & {\em args} & Variable argument \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
\mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{EINA\+\_\+\+TRUE}} on success, \mbox{\hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{EINA\+\_\+\+FALSE}} otherwise.
\end{DoxyReturn}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{group__Eina__Value__Array__Group_gac833bf34f56ba77e87bbe6b79734b653}{eina\+\_\+value\+\_\+array\+\_\+set()}} 

\mbox{\hyperlink{group__Eina__Value__Array__Group_ga9358dce2404ed0926db502539f8a1318}{eina\+\_\+value\+\_\+array\+\_\+get()}} 

\mbox{\hyperlink{group__Eina__Value__Array__Group_ga71628a82af073c59a241cf8c93c95d5d}{eina\+\_\+value\+\_\+array\+\_\+vget()}} 

\mbox{\hyperlink{group__Eina__Value__Array__Group_ga2bbd3aa89ec9ac0cc01b86f5e5b139cd}{eina\+\_\+value\+\_\+array\+\_\+pset()}} 

\mbox{\hyperlink{group__Eina__Value__Array__Group_ga9228665a1762eecb5e25f4afe6e2b571}{eina\+\_\+value\+\_\+array\+\_\+insert()}} 

\mbox{\hyperlink{group__Eina__Value__Array__Group_gaf089fc210e854fea2680afdcc9717096}{eina\+\_\+value\+\_\+array\+\_\+vinsert()}} 

\mbox{\hyperlink{group__Eina__Value__Array__Group_ga94e4825e378676ade211c79f420d5a34}{eina\+\_\+value\+\_\+array\+\_\+pinsert()}} 

\mbox{\hyperlink{group__Eina__Value__Array__Group_ga82efa324a5f4b1d4d99002e1c9c78868}{eina\+\_\+value\+\_\+array\+\_\+append()}} 

\mbox{\hyperlink{group__Eina__Value__Array__Group_ga537c4ab3c3a8b5b2e8dd1d3a7ed3fe91}{eina\+\_\+value\+\_\+array\+\_\+pappend()}}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\+2 
\end{DoxySince}
\mbox{\Hypertarget{group__Eina__Value__Array__Group_ga2bbd3aa89ec9ac0cc01b86f5e5b139cd}\label{group__Eina__Value__Array__Group_ga2bbd3aa89ec9ac0cc01b86f5e5b139cd}} 
\index{Generic Value Array management@{Generic Value Array management}!eina\_value\_array\_pset@{eina\_value\_array\_pset}}
\index{eina\_value\_array\_pset@{eina\_value\_array\_pset}!Generic Value Array management@{Generic Value Array management}}
\doxysubsubsection{\texorpdfstring{eina\_value\_array\_pset()}{eina\_value\_array\_pset()}}
{\footnotesize\ttfamily static \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} eina\+\_\+value\+\_\+array\+\_\+pset (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Eina__Value__Group_ga7985e8af6e956ae31b381bf829173cc0}{Eina\+\_\+\+Value}} $\ast$}]{value,  }\item[{unsigned int}]{position,  }\item[{const void $\ast$}]{ptr }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}



Sets a generic value to an array member from a pointer. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in,out}}  & {\em value} & Source value object \\
\hline
\mbox{\texttt{ in}}  & {\em position} & Index of the member \\
\hline
\mbox{\texttt{ in}}  & {\em ptr} & Pointer to specify the contents. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
\mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{EINA\+\_\+\+TRUE}} on success, \mbox{\hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{EINA\+\_\+\+FALSE}} otherwise.
\end{DoxyReturn}
The pointer type is dependent on chosen value type. The list for basic types\+:

\begin{DoxyItemize}
\item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+VALUE\+: Eina\+\_\+\+Value$\ast$ \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+ERROR\+: Eina\+\_\+\+Error$\ast$ \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+UCHAR\+: unsigned char$\ast$ \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+USHORT\+: unsigned short$\ast$ \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+UINT\+: unsigned int$\ast$ \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+ULONG\+: unsigned long$\ast$ \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+UINT64\+: uint64\+\_\+t$\ast$ \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+CHAR\+: char$\ast$ \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+SHORT\+: short$\ast$ \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+INT\+: int$\ast$ \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+LONG\+: long$\ast$ \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+INT64\+: int64\+\_\+t$\ast$ \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+FLOAT\+: float$\ast$ \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+DOUBLE\+: double$\ast$ \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+STRINGSHARE\+: const char $\ast$$\ast$ \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+STRING\+: const char $\ast$$\ast$ \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+ARRAY\+: Eina\+\_\+\+Value\+\_\+\+Array$\ast$ \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+LIST\+: Eina\+\_\+\+Value\+\_\+\+List$\ast$ \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+HASH\+: Eina\+\_\+\+Value\+\_\+\+Hash$\ast$ \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+TIMEVAL\+: struct timeval$\ast$ \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+BLOB\+: Eina\+\_\+\+Value\+\_\+\+Blob$\ast$ \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+STRUCT\+: Eina\+\_\+\+Value\+\_\+\+Struct$\ast$ \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+TM\+: struct tm$\ast$\end{DoxyItemize}
\begin{DoxyNote}{Note}
the pointer contents are written using the size defined by type. It can be larger than void$\ast$ or uint64\+\_\+t.
\end{DoxyNote}

\begin{DoxyCode}{0}
\DoxyCodeLine{\mbox{\hyperlink{struct__Eina__Value}{Eina\_Value}} *value = \mbox{\hyperlink{group__Eina__Value__Array__Group_ga48893089e10fa1244e9fd82643b50c10}{eina\_value\_array\_new}}(\mbox{\hyperlink{group__Eina__Value__Group_ga17974fd9ab773a3efefd591ffde58f77}{EINA\_VALUE\_TYPE\_INT}}, 0);}
\DoxyCodeLine{\textcolor{keywordtype}{int} x = 1234;}
\DoxyCodeLine{}
\DoxyCodeLine{\mbox{\hyperlink{group__Eina__Value__Array__Group_ga82efa324a5f4b1d4d99002e1c9c78868}{eina\_value\_array\_append}}(value, 1234);}
\DoxyCodeLine{\mbox{\hyperlink{group__Eina__Value__Array__Group_ga2bbd3aa89ec9ac0cc01b86f5e5b139cd}{eina\_value\_array\_pset}}(value, 0, \&x);}
\DoxyCodeLine{\mbox{\hyperlink{group__Eina__Value__Array__Group_ga6e938fbe973b5a5603d769798a0eb755}{eina\_value\_array\_pget}}(value, 0, \&x);}
\DoxyCodeLine{\mbox{\hyperlink{group__Eina__Value__Value__Group_gaa2aa7ac9d1fcd7c4497cf104cb374a52}{eina\_value\_free}}(value);}

\end{DoxyCode}


\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{group__Eina__Value__Array__Group_gac833bf34f56ba77e87bbe6b79734b653}{eina\+\_\+value\+\_\+array\+\_\+set()}} 

\mbox{\hyperlink{group__Eina__Value__Array__Group_ga9358dce2404ed0926db502539f8a1318}{eina\+\_\+value\+\_\+array\+\_\+get()}} 

\mbox{\hyperlink{group__Eina__Value__Array__Group_gaee7ba765015a4a8664d6cf0fad6f28bf}{eina\+\_\+value\+\_\+array\+\_\+vset()}} 

\mbox{\hyperlink{group__Eina__Value__Array__Group_ga9228665a1762eecb5e25f4afe6e2b571}{eina\+\_\+value\+\_\+array\+\_\+insert()}} 

\mbox{\hyperlink{group__Eina__Value__Array__Group_gaf089fc210e854fea2680afdcc9717096}{eina\+\_\+value\+\_\+array\+\_\+vinsert()}} 

\mbox{\hyperlink{group__Eina__Value__Array__Group_ga94e4825e378676ade211c79f420d5a34}{eina\+\_\+value\+\_\+array\+\_\+pinsert()}} 

\mbox{\hyperlink{group__Eina__Value__Array__Group_ga82efa324a5f4b1d4d99002e1c9c78868}{eina\+\_\+value\+\_\+array\+\_\+append()}} 

\mbox{\hyperlink{group__Eina__Value__Array__Group_gaa6441c80d76aa31886b77a756ed019ce}{eina\+\_\+value\+\_\+array\+\_\+vappend()}} 

\mbox{\hyperlink{group__Eina__Value__Array__Group_ga537c4ab3c3a8b5b2e8dd1d3a7ed3fe91}{eina\+\_\+value\+\_\+array\+\_\+pappend()}}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\+2 
\end{DoxySince}
\mbox{\Hypertarget{group__Eina__Value__Array__Group_ga6e938fbe973b5a5603d769798a0eb755}\label{group__Eina__Value__Array__Group_ga6e938fbe973b5a5603d769798a0eb755}} 
\index{Generic Value Array management@{Generic Value Array management}!eina\_value\_array\_pget@{eina\_value\_array\_pget}}
\index{eina\_value\_array\_pget@{eina\_value\_array\_pget}!Generic Value Array management@{Generic Value Array management}}
\doxysubsubsection{\texorpdfstring{eina\_value\_array\_pget()}{eina\_value\_array\_pget()}}
{\footnotesize\ttfamily static \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} eina\+\_\+value\+\_\+array\+\_\+pget (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{group__Eina__Value__Group_ga7985e8af6e956ae31b381bf829173cc0}{Eina\+\_\+\+Value}} $\ast$}]{value,  }\item[{unsigned int}]{position,  }\item[{void $\ast$}]{ptr }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}



Retrieves a generic value into a pointer from an array member. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em value} & Source value object \\
\hline
\mbox{\texttt{ in}}  & {\em position} & Index of the member \\
\hline
\mbox{\texttt{ out}}  & {\em ptr} & Pointer to receive the contents. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
\mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{EINA\+\_\+\+TRUE}} on success, \mbox{\hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{EINA\+\_\+\+FALSE}} otherwise.
\end{DoxyReturn}
The value is returned in pointer contents, the actual value is type-\/dependent, but usually it will be what is stored inside the object. There shouldn\textquotesingle{}t be any memory allocation, thus the contents should {\bfseries{not}} be freed.

The pointer type is dependent on chosen value type. The list for basic types\+:

\begin{DoxyItemize}
\item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+VALUE\+: Eina\+\_\+\+Value$\ast$ \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+ERROR\+: Eina\+\_\+\+Error$\ast$ \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+UCHAR\+: unsigned char$\ast$ \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+USHORT\+: unsigned short$\ast$ \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+UINT\+: unsigned int$\ast$ \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+ULONG\+: unsigned long$\ast$ \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+UINT64\+: uint64\+\_\+t$\ast$ \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+CHAR\+: char$\ast$ \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+SHORT\+: short$\ast$ \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+INT\+: int$\ast$ \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+LONG\+: long$\ast$ \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+INT64\+: int64\+\_\+t$\ast$ \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+FLOAT\+: float$\ast$ \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+DOUBLE\+: double$\ast$ \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+STRINGSHARE\+: const char $\ast$$\ast$ \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+STRING\+: const char $\ast$$\ast$ \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+ARRAY\+: Eina\+\_\+\+Value\+\_\+\+Array$\ast$ \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+LIST\+: Eina\+\_\+\+Value\+\_\+\+List$\ast$ \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+HASH\+: Eina\+\_\+\+Value\+\_\+\+Hash$\ast$ \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+TIMEVAL\+: struct timeval$\ast$ \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+BLOB\+: Eina\+\_\+\+Value\+\_\+\+Blob$\ast$ \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+STRUCT\+: Eina\+\_\+\+Value\+\_\+\+Struct$\ast$ \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+TM\+: struct tm$\ast$\end{DoxyItemize}

\begin{DoxyCode}{0}
\DoxyCodeLine{\mbox{\hyperlink{struct__Eina__Value}{Eina\_Value}} *value = \mbox{\hyperlink{group__Eina__Value__Array__Group_ga48893089e10fa1244e9fd82643b50c10}{eina\_value\_array\_new}}(\mbox{\hyperlink{group__Eina__Value__Group_ga17974fd9ab773a3efefd591ffde58f77}{EINA\_VALUE\_TYPE\_INT}}, 0);}
\DoxyCodeLine{\textcolor{keywordtype}{int} x;}
\DoxyCodeLine{}
\DoxyCodeLine{\mbox{\hyperlink{group__Eina__Value__Array__Group_ga82efa324a5f4b1d4d99002e1c9c78868}{eina\_value\_array\_append}}(value, 1234);}
\DoxyCodeLine{\mbox{\hyperlink{group__Eina__Value__Array__Group_ga6e938fbe973b5a5603d769798a0eb755}{eina\_value\_array\_pget}}(value, 0, \&x);}
\DoxyCodeLine{\mbox{\hyperlink{group__Eina__Value__Value__Group_gaa2aa7ac9d1fcd7c4497cf104cb374a52}{eina\_value\_free}}(value);}

\end{DoxyCode}


\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{group__Eina__Value__Array__Group_gac833bf34f56ba77e87bbe6b79734b653}{eina\+\_\+value\+\_\+array\+\_\+set()}} 

\mbox{\hyperlink{group__Eina__Value__Array__Group_gaee7ba765015a4a8664d6cf0fad6f28bf}{eina\+\_\+value\+\_\+array\+\_\+vset()}} 

\mbox{\hyperlink{group__Eina__Value__Array__Group_ga2bbd3aa89ec9ac0cc01b86f5e5b139cd}{eina\+\_\+value\+\_\+array\+\_\+pset()}}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\+2 
\end{DoxySince}
\mbox{\Hypertarget{group__Eina__Value__Array__Group_ga94e4825e378676ade211c79f420d5a34}\label{group__Eina__Value__Array__Group_ga94e4825e378676ade211c79f420d5a34}} 
\index{Generic Value Array management@{Generic Value Array management}!eina\_value\_array\_pinsert@{eina\_value\_array\_pinsert}}
\index{eina\_value\_array\_pinsert@{eina\_value\_array\_pinsert}!Generic Value Array management@{Generic Value Array management}}
\doxysubsubsection{\texorpdfstring{eina\_value\_array\_pinsert()}{eina\_value\_array\_pinsert()}}
{\footnotesize\ttfamily static \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} eina\+\_\+value\+\_\+array\+\_\+pinsert (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Eina__Value__Group_ga7985e8af6e956ae31b381bf829173cc0}{Eina\+\_\+\+Value}} $\ast$}]{value,  }\item[{unsigned int}]{position,  }\item[{const void $\ast$}]{ptr }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}



Inserts a generic value to an array member position from a pointer. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in,out}}  & {\em value} & Source value object \\
\hline
\mbox{\texttt{ in}}  & {\em position} & Index of the member \\
\hline
\mbox{\texttt{ in}}  & {\em ptr} & Pointer to specify the contents. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
\mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{EINA\+\_\+\+TRUE}} on success, \mbox{\hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{EINA\+\_\+\+FALSE}} otherwise.
\end{DoxyReturn}
The pointer type is dependent on chosen value type. The list for basic types\+:

\begin{DoxyItemize}
\item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+VALUE\+: Eina\+\_\+\+Value$\ast$ \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+ERROR\+: Eina\+\_\+\+Error$\ast$ \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+UCHAR\+: unsigned char$\ast$ \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+USHORT\+: unsigned short$\ast$ \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+UINT\+: unsigned int$\ast$ \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+ULONG\+: unsigned long$\ast$ \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+UINT64\+: uint64\+\_\+t$\ast$ \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+CHAR\+: char$\ast$ \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+SHORT\+: short$\ast$ \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+INT\+: int$\ast$ \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+LONG\+: long$\ast$ \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+INT64\+: int64\+\_\+t$\ast$ \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+FLOAT\+: float$\ast$ \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+DOUBLE\+: double$\ast$ \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+STRINGSHARE\+: const char $\ast$$\ast$ \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+STRING\+: const char $\ast$$\ast$ \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+ARRAY\+: Eina\+\_\+\+Value\+\_\+\+Array$\ast$ \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+LIST\+: Eina\+\_\+\+Value\+\_\+\+List$\ast$ \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+HASH\+: Eina\+\_\+\+Value\+\_\+\+Hash$\ast$ \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+TIMEVAL\+: struct timeval$\ast$ \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+BLOB\+: Eina\+\_\+\+Value\+\_\+\+Blob$\ast$ \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+STRUCT\+: Eina\+\_\+\+Value\+\_\+\+Struct$\ast$ \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+TM\+: struct tm$\ast$\end{DoxyItemize}
\begin{DoxyNote}{Note}
the pointer contents are written using the size defined by type. It can be larger than void$\ast$ or uint64\+\_\+t.
\end{DoxyNote}

\begin{DoxyCode}{0}
\DoxyCodeLine{\mbox{\hyperlink{struct__Eina__Value}{Eina\_Value}} *value = \mbox{\hyperlink{group__Eina__Value__Array__Group_ga48893089e10fa1244e9fd82643b50c10}{eina\_value\_array\_new}}(\mbox{\hyperlink{group__Eina__Value__Group_ga17974fd9ab773a3efefd591ffde58f77}{EINA\_VALUE\_TYPE\_INT}}, 0);}
\DoxyCodeLine{\textcolor{keywordtype}{int} x = 1234;}
\DoxyCodeLine{}
\DoxyCodeLine{\mbox{\hyperlink{group__Eina__Value__Array__Group_ga94e4825e378676ade211c79f420d5a34}{eina\_value\_array\_pinsert}}(value, 0, \&x);}
\DoxyCodeLine{\mbox{\hyperlink{group__Eina__Value__Array__Group_ga6e938fbe973b5a5603d769798a0eb755}{eina\_value\_array\_pget}}(value, 0, \&x);}
\DoxyCodeLine{\mbox{\hyperlink{group__Eina__Value__Value__Group_gaa2aa7ac9d1fcd7c4497cf104cb374a52}{eina\_value\_free}}(value);}

\end{DoxyCode}


\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{group__Eina__Value__Array__Group_gac833bf34f56ba77e87bbe6b79734b653}{eina\+\_\+value\+\_\+array\+\_\+set()}} 

\mbox{\hyperlink{group__Eina__Value__Array__Group_ga9358dce2404ed0926db502539f8a1318}{eina\+\_\+value\+\_\+array\+\_\+get()}} 

\mbox{\hyperlink{group__Eina__Value__Array__Group_gaee7ba765015a4a8664d6cf0fad6f28bf}{eina\+\_\+value\+\_\+array\+\_\+vset()}} 

\mbox{\hyperlink{group__Eina__Value__Array__Group_ga9228665a1762eecb5e25f4afe6e2b571}{eina\+\_\+value\+\_\+array\+\_\+insert()}} 

\mbox{\hyperlink{group__Eina__Value__Array__Group_gaf089fc210e854fea2680afdcc9717096}{eina\+\_\+value\+\_\+array\+\_\+vinsert()}} 

\mbox{\hyperlink{group__Eina__Value__Array__Group_ga94e4825e378676ade211c79f420d5a34}{eina\+\_\+value\+\_\+array\+\_\+pinsert()}} 

\mbox{\hyperlink{group__Eina__Value__Array__Group_ga82efa324a5f4b1d4d99002e1c9c78868}{eina\+\_\+value\+\_\+array\+\_\+append()}} 

\mbox{\hyperlink{group__Eina__Value__Array__Group_gaa6441c80d76aa31886b77a756ed019ce}{eina\+\_\+value\+\_\+array\+\_\+vappend()}} 

\mbox{\hyperlink{group__Eina__Value__Array__Group_ga537c4ab3c3a8b5b2e8dd1d3a7ed3fe91}{eina\+\_\+value\+\_\+array\+\_\+pappend()}}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\+2 
\end{DoxySince}
\mbox{\Hypertarget{group__Eina__Value__Array__Group_ga537c4ab3c3a8b5b2e8dd1d3a7ed3fe91}\label{group__Eina__Value__Array__Group_ga537c4ab3c3a8b5b2e8dd1d3a7ed3fe91}} 
\index{Generic Value Array management@{Generic Value Array management}!eina\_value\_array\_pappend@{eina\_value\_array\_pappend}}
\index{eina\_value\_array\_pappend@{eina\_value\_array\_pappend}!Generic Value Array management@{Generic Value Array management}}
\doxysubsubsection{\texorpdfstring{eina\_value\_array\_pappend()}{eina\_value\_array\_pappend()}}
{\footnotesize\ttfamily static \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} eina\+\_\+value\+\_\+array\+\_\+pappend (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Eina__Value__Group_ga7985e8af6e956ae31b381bf829173cc0}{Eina\+\_\+\+Value}} $\ast$}]{value,  }\item[{const void $\ast$}]{ptr }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}



Appends a generic value to an array from a pointer. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in,out}}  & {\em value} & Source value object \\
\hline
\mbox{\texttt{ in}}  & {\em ptr} & Pointer to specify the contents. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
\mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{EINA\+\_\+\+TRUE}} on success, \mbox{\hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{EINA\+\_\+\+FALSE}} otherwise.
\end{DoxyReturn}
The pointer type is dependent on chosen value type. The list for basic types\+:

\begin{DoxyItemize}
\item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+VALUE\+: Eina\+\_\+\+Value$\ast$ \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+ERROR\+: Eina\+\_\+\+Error$\ast$ \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+UCHAR\+: unsigned char$\ast$ \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+USHORT\+: unsigned short$\ast$ \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+UINT\+: unsigned int$\ast$ \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+ULONG\+: unsigned long$\ast$ \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+UINT64\+: uint64\+\_\+t$\ast$ \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+CHAR\+: char$\ast$ \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+SHORT\+: short$\ast$ \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+INT\+: int$\ast$ \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+LONG\+: long$\ast$ \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+INT64\+: int64\+\_\+t$\ast$ \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+FLOAT\+: float$\ast$ \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+DOUBLE\+: double$\ast$ \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+STRINGSHARE\+: const char $\ast$$\ast$ \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+STRING\+: const char $\ast$$\ast$ \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+ARRAY\+: Eina\+\_\+\+Value\+\_\+\+Array$\ast$ \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+LIST\+: Eina\+\_\+\+Value\+\_\+\+List$\ast$ \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+HASH\+: Eina\+\_\+\+Value\+\_\+\+Hash$\ast$ \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+TIMEVAL\+: struct timeval$\ast$ \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+BLOB\+: Eina\+\_\+\+Value\+\_\+\+Blob$\ast$ \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+STRUCT\+: Eina\+\_\+\+Value\+\_\+\+Struct$\ast$ \item EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+TM\+: struct tm$\ast$\end{DoxyItemize}
\begin{DoxyNote}{Note}
the pointer contents are written using the size defined by type. It can be larger than void$\ast$ or uint64\+\_\+t.
\end{DoxyNote}

\begin{DoxyCode}{0}
\DoxyCodeLine{\mbox{\hyperlink{struct__Eina__Value}{Eina\_Value}} *value = \mbox{\hyperlink{group__Eina__Value__Array__Group_ga48893089e10fa1244e9fd82643b50c10}{eina\_value\_array\_new}}(\mbox{\hyperlink{group__Eina__Value__Group_ga17974fd9ab773a3efefd591ffde58f77}{EINA\_VALUE\_TYPE\_INT}}, 0);}
\DoxyCodeLine{\textcolor{keywordtype}{int} x = 1234;}
\DoxyCodeLine{}
\DoxyCodeLine{\mbox{\hyperlink{group__Eina__Value__Array__Group_ga537c4ab3c3a8b5b2e8dd1d3a7ed3fe91}{eina\_value\_array\_pappend}}(value, \&x);}
\DoxyCodeLine{\mbox{\hyperlink{group__Eina__Value__Array__Group_ga6e938fbe973b5a5603d769798a0eb755}{eina\_value\_array\_pget}}(value, 0, \&x);}
\DoxyCodeLine{\mbox{\hyperlink{group__Eina__Value__Value__Group_gaa2aa7ac9d1fcd7c4497cf104cb374a52}{eina\_value\_free}}(value);}

\end{DoxyCode}


\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{group__Eina__Value__Array__Group_gac833bf34f56ba77e87bbe6b79734b653}{eina\+\_\+value\+\_\+array\+\_\+set()}} 

\mbox{\hyperlink{group__Eina__Value__Array__Group_ga9358dce2404ed0926db502539f8a1318}{eina\+\_\+value\+\_\+array\+\_\+get()}} 

\mbox{\hyperlink{group__Eina__Value__Array__Group_gaee7ba765015a4a8664d6cf0fad6f28bf}{eina\+\_\+value\+\_\+array\+\_\+vset()}} 

\mbox{\hyperlink{group__Eina__Value__Array__Group_ga9228665a1762eecb5e25f4afe6e2b571}{eina\+\_\+value\+\_\+array\+\_\+insert()}} 

\mbox{\hyperlink{group__Eina__Value__Array__Group_gaf089fc210e854fea2680afdcc9717096}{eina\+\_\+value\+\_\+array\+\_\+vinsert()}} 

\mbox{\hyperlink{group__Eina__Value__Array__Group_ga94e4825e378676ade211c79f420d5a34}{eina\+\_\+value\+\_\+array\+\_\+pinsert()}} 

\mbox{\hyperlink{group__Eina__Value__Array__Group_ga82efa324a5f4b1d4d99002e1c9c78868}{eina\+\_\+value\+\_\+array\+\_\+append()}} 

\mbox{\hyperlink{group__Eina__Value__Array__Group_gaa6441c80d76aa31886b77a756ed019ce}{eina\+\_\+value\+\_\+array\+\_\+vappend()}} 

\mbox{\hyperlink{group__Eina__Value__Array__Group_ga537c4ab3c3a8b5b2e8dd1d3a7ed3fe91}{eina\+\_\+value\+\_\+array\+\_\+pappend()}}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\+2 
\end{DoxySince}
\mbox{\Hypertarget{group__Eina__Value__Array__Group_ga5220dd928cb280b9d20ae9221da44aa2}\label{group__Eina__Value__Array__Group_ga5220dd928cb280b9d20ae9221da44aa2}} 
\index{Generic Value Array management@{Generic Value Array management}!eina\_value\_array\_value\_get@{eina\_value\_array\_value\_get}}
\index{eina\_value\_array\_value\_get@{eina\_value\_array\_value\_get}!Generic Value Array management@{Generic Value Array management}}
\doxysubsubsection{\texorpdfstring{eina\_value\_array\_value\_get()}{eina\_value\_array\_value\_get()}}
{\footnotesize\ttfamily static \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} eina\+\_\+value\+\_\+array\+\_\+value\+\_\+get (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{group__Eina__Value__Group_ga7985e8af6e956ae31b381bf829173cc0}{Eina\+\_\+\+Value}} $\ast$}]{src,  }\item[{unsigned int}]{position,  }\item[{\mbox{\hyperlink{group__Eina__Value__Group_ga7985e8af6e956ae31b381bf829173cc0}{Eina\+\_\+\+Value}} $\ast$}]{dst }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}



Retrieves a value from the array as an Eina\+\_\+\+Value copy. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em src} & Source value object \\
\hline
\mbox{\texttt{ in}}  & {\em position} & Index of the member \\
\hline
\mbox{\texttt{ out}}  & {\em dst} & Where to return the array member \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
\mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{EINA\+\_\+\+TRUE}} on success, \mbox{\hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{EINA\+\_\+\+FALSE}} otherwise.
\end{DoxyReturn}
The argument {\itshape dst} is considered uninitialized and it\textquotesingle{}s set to the type of the member.

\begin{DoxySince}{Since}
1.\+2 
\end{DoxySince}
