\hypertarget{group__Store}{}\section{Elementary Store}
\label{group__Store}\index{Elementary Store@{Elementary Store}}


Store is an abstracting A\+PI that is intended to farm off fetching of data to threads running asynchronously from the mainloop that actually fetch data needed for a genlist (or possibly future other widgets) so scrolling never blocks waiting on IO (though normally this should be the users job -\/ if using genlist, to ensure all data genlist needs is in memory at the time it needs it, and if it isn\textquotesingle{}t to queue and defer a fetch and let genlist know later when its ready.  


\subsection*{Data Structures}
\begin{DoxyCompactItemize}
\item 
struct \mbox{\hyperlink{struct__Elm__Store__Item__Mapping__Icon}{\+\_\+\+Elm\+\_\+\+Store\+\_\+\+Item\+\_\+\+Mapping\+\_\+\+Icon}}
\item 
struct \mbox{\hyperlink{struct__Elm__Store__Item__Mapping__Empty}{\+\_\+\+Elm\+\_\+\+Store\+\_\+\+Item\+\_\+\+Mapping\+\_\+\+Empty}}
\item 
struct \mbox{\hyperlink{struct__Elm__Store__Item__Mapping__Photo}{\+\_\+\+Elm\+\_\+\+Store\+\_\+\+Item\+\_\+\+Mapping\+\_\+\+Photo}}
\item 
struct \mbox{\hyperlink{struct__Elm__Store__Item__Mapping__Custom}{\+\_\+\+Elm\+\_\+\+Store\+\_\+\+Item\+\_\+\+Mapping\+\_\+\+Custom}}
\item 
struct \mbox{\hyperlink{struct__Elm__Store__Item__Mapping}{\+\_\+\+Elm\+\_\+\+Store\+\_\+\+Item\+\_\+\+Mapping}}
\item 
struct \mbox{\hyperlink{struct__Elm__Store__Item__Info}{\+\_\+\+Elm\+\_\+\+Store\+\_\+\+Item\+\_\+\+Info}}
\item 
struct \mbox{\hyperlink{struct__Elm__Store__Item__Info__Filesystem}{\+\_\+\+Elm\+\_\+\+Store\+\_\+\+Item\+\_\+\+Info\+\_\+\+Filesystem}}
\end{DoxyCompactItemize}
\subsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{group__Store_gab38f7621361a9ecb32740b1e88dcf96d}\label{group__Store_gab38f7621361a9ecb32740b1e88dcf96d}} 
\#define \mbox{\hyperlink{group__Store_gab38f7621361a9ecb32740b1e88dcf96d}{E\+L\+M\+\_\+\+S\+T\+O\+R\+E\+\_\+\+I\+T\+E\+M\+\_\+\+M\+A\+P\+P\+I\+N\+G\+\_\+\+E\+ND}}~\{ E\+L\+M\+\_\+\+S\+T\+O\+R\+E\+\_\+\+I\+T\+E\+M\+\_\+\+M\+A\+P\+P\+I\+N\+G\+\_\+\+N\+O\+NE, N\+U\+LL, 0, \{ .empty = \{ \mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{E\+I\+N\+A\+\_\+\+T\+R\+UE}} \} \} \}
\begin{DoxyCompactList}\small\item\em Use this to end a list of mappings. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{group__Store_gacb42611794b34fd7209afdd04335358e}\label{group__Store_gacb42611794b34fd7209afdd04335358e}} 
\#define \mbox{\hyperlink{group__Store_gacb42611794b34fd7209afdd04335358e}{E\+L\+M\+\_\+\+S\+T\+O\+R\+E\+\_\+\+I\+T\+E\+M\+\_\+\+M\+A\+P\+P\+I\+N\+G\+\_\+\+O\+F\+F\+S\+ET}}(st,  it)~offsetof(st, it)
\begin{DoxyCompactList}\small\item\em Use this to get the offset in bytes in memory for where the data for the mapping lives relative to the item data (a private struct pointed to owned by the user. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Typedefs}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{group__Store_ga1264b518bc090a00007b6f7adfe90f70}\label{group__Store_ga1264b518bc090a00007b6f7adfe90f70}} 
typedef struct \+\_\+\+Elm\+\_\+\+Store \mbox{\hyperlink{group__Store_ga1264b518bc090a00007b6f7adfe90f70}{Elm\+\_\+\+Store}}
\begin{DoxyCompactList}\small\item\em A store object. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{group__Store_gab4527019d6f78b5b9293e6dcb3933127}\label{group__Store_gab4527019d6f78b5b9293e6dcb3933127}} 
typedef struct \+\_\+\+Elm\+\_\+\+Store\+\_\+\+Item \mbox{\hyperlink{group__Store_gab4527019d6f78b5b9293e6dcb3933127}{Elm\+\_\+\+Store\+\_\+\+Item}}
\begin{DoxyCompactList}\small\item\em A handle of a store item passed to store fetch/unfetch functions. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{group__Store_ga896c36b3721b8bdf9146884761fb6747}\label{group__Store_ga896c36b3721b8bdf9146884761fb6747}} 
typedef struct \mbox{\hyperlink{struct__Elm__Store__Item__Info}{\+\_\+\+Elm\+\_\+\+Store\+\_\+\+Item\+\_\+\+Info}} \mbox{\hyperlink{group__Store_ga896c36b3721b8bdf9146884761fb6747}{Elm\+\_\+\+Store\+\_\+\+Item\+\_\+\+Info}}
\begin{DoxyCompactList}\small\item\em Basic information about a store item -\/ always cast into a specific type like Elm\+\_\+\+Store\+\_\+\+Item\+\_\+\+Info\+\_\+\+Filesystem. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{group__Store_gad238055c328277d25c52263b123c03b8}\label{group__Store_gad238055c328277d25c52263b123c03b8}} 
typedef struct \mbox{\hyperlink{struct__Elm__Store__Item__Info__Filesystem}{\+\_\+\+Elm\+\_\+\+Store\+\_\+\+Item\+\_\+\+Info\+\_\+\+Filesystem}} \mbox{\hyperlink{group__Store_gad238055c328277d25c52263b123c03b8}{Elm\+\_\+\+Store\+\_\+\+Item\+\_\+\+Info\+\_\+\+Filesystem}}
\begin{DoxyCompactList}\small\item\em Filesystem specific information about a store item. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{group__Store_gadc43298ced71af65d372a67db457dbcf}\label{group__Store_gadc43298ced71af65d372a67db457dbcf}} 
typedef struct \mbox{\hyperlink{struct__Elm__Store__Item__Mapping}{\+\_\+\+Elm\+\_\+\+Store\+\_\+\+Item\+\_\+\+Mapping}} \mbox{\hyperlink{group__Store_gadc43298ced71af65d372a67db457dbcf}{Elm\+\_\+\+Store\+\_\+\+Item\+\_\+\+Mapping}}
\begin{DoxyCompactList}\small\item\em A basic way of telling Store how to take your return data (string, or something else from your struct) and convert it into something genlist can use. \end{DoxyCompactList}\item 
typedef struct \mbox{\hyperlink{struct__Elm__Store__Item__Mapping__Empty}{\+\_\+\+Elm\+\_\+\+Store\+\_\+\+Item\+\_\+\+Mapping\+\_\+\+Empty}} \mbox{\hyperlink{group__Store_ga2a3cfe20b715ac153cf3933092c9e76e}{Elm\+\_\+\+Store\+\_\+\+Item\+\_\+\+Mapping\+\_\+\+Empty}}
\begin{DoxyCompactList}\small\item\em An empty piece of mapping information. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{group__Store_ga88aebf4060de32d971a441e0194f611f}\label{group__Store_ga88aebf4060de32d971a441e0194f611f}} 
typedef struct \mbox{\hyperlink{struct__Elm__Store__Item__Mapping__Icon}{\+\_\+\+Elm\+\_\+\+Store\+\_\+\+Item\+\_\+\+Mapping\+\_\+\+Icon}} {\bfseries Elm\+\_\+\+Store\+\_\+\+Item\+\_\+\+Mapping\+\_\+\+Icon}
\item 
\mbox{\Hypertarget{group__Store_ga9b17ceead22453246bb33091fd50972f}\label{group__Store_ga9b17ceead22453246bb33091fd50972f}} 
typedef struct \mbox{\hyperlink{struct__Elm__Store__Item__Mapping__Photo}{\+\_\+\+Elm\+\_\+\+Store\+\_\+\+Item\+\_\+\+Mapping\+\_\+\+Photo}} \mbox{\hyperlink{group__Store_ga9b17ceead22453246bb33091fd50972f}{Elm\+\_\+\+Store\+\_\+\+Item\+\_\+\+Mapping\+\_\+\+Photo}}
\begin{DoxyCompactList}\small\item\em The data is a photo, so use these parameters to find it. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{group__Store_gafee3b3930739e4e892bb71016042d696}\label{group__Store_gafee3b3930739e4e892bb71016042d696}} 
typedef struct \mbox{\hyperlink{struct__Elm__Store__Item__Mapping__Custom}{\+\_\+\+Elm\+\_\+\+Store\+\_\+\+Item\+\_\+\+Mapping\+\_\+\+Custom}} {\bfseries Elm\+\_\+\+Store\+\_\+\+Item\+\_\+\+Mapping\+\_\+\+Custom}
\item 
typedef \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}}($\ast$ \mbox{\hyperlink{group__Store_gaa6ce1f0acc3d088145bd528514ed800e}{Elm\+\_\+\+Store\+\_\+\+Item\+\_\+\+List\+\_\+\+Cb}}) (void $\ast$data, \mbox{\hyperlink{group__Store_ga896c36b3721b8bdf9146884761fb6747}{Elm\+\_\+\+Store\+\_\+\+Item\+\_\+\+Info}} $\ast$info)
\begin{DoxyCompactList}\small\item\em \begin{quote}
The item needs a custom mapping which means calling a function and returning a string from it, as opposed to a static lookup.\end{quote}
\end{DoxyCompactList}\item 
\mbox{\Hypertarget{group__Store_ga61705487074199d9a31f5523173957fa}\label{group__Store_ga61705487074199d9a31f5523173957fa}} 
typedef void($\ast$ \mbox{\hyperlink{group__Store_ga61705487074199d9a31f5523173957fa}{Elm\+\_\+\+Store\+\_\+\+Item\+\_\+\+Fetch\+\_\+\+Cb}}) (void $\ast$data, \mbox{\hyperlink{group__Store_gab4527019d6f78b5b9293e6dcb3933127}{Elm\+\_\+\+Store\+\_\+\+Item}} $\ast$sti)
\begin{DoxyCompactList}\small\item\em Function to call to fetch item data. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{group__Store_ga10d7ce7f1731fe00b59a41066a8b034d}\label{group__Store_ga10d7ce7f1731fe00b59a41066a8b034d}} 
typedef void($\ast$ \mbox{\hyperlink{group__Store_ga10d7ce7f1731fe00b59a41066a8b034d}{Elm\+\_\+\+Store\+\_\+\+Item\+\_\+\+Unfetch\+\_\+\+Cb}}) (void $\ast$data, \mbox{\hyperlink{group__Store_gab4527019d6f78b5b9293e6dcb3933127}{Elm\+\_\+\+Store\+\_\+\+Item}} $\ast$sti)
\begin{DoxyCompactList}\small\item\em Function to cal lto un-\/fetch (free) an item. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{group__Store_ga25668bff64e6053afd6cb6eaad1c229c}\label{group__Store_ga25668bff64e6053afd6cb6eaad1c229c}} 
typedef void $\ast$($\ast$ \mbox{\hyperlink{group__Store_ga25668bff64e6053afd6cb6eaad1c229c}{Elm\+\_\+\+Store\+\_\+\+Item\+\_\+\+Mapping\+\_\+\+Cb}}) (void $\ast$data, \mbox{\hyperlink{group__Store_gab4527019d6f78b5b9293e6dcb3933127}{Elm\+\_\+\+Store\+\_\+\+Item}} $\ast$sti, const char $\ast$part)
\begin{DoxyCompactList}\small\item\em Custom mapping function to call. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Enumerations}
\begin{DoxyCompactItemize}
\item 
enum \mbox{\hyperlink{group__Store_ga4ff3f31e8c8d900f895449b6c108848d}{Elm\+\_\+\+Store\+\_\+\+Item\+\_\+\+Mapping\+\_\+\+Type}} \{ \newline
{\bfseries E\+L\+M\+\_\+\+S\+T\+O\+R\+E\+\_\+\+I\+T\+E\+M\+\_\+\+M\+A\+P\+P\+I\+N\+G\+\_\+\+N\+O\+NE} = 0, 
\newline
\mbox{\hyperlink{group__Store_gga4ff3f31e8c8d900f895449b6c108848dabcbf277caca7cc8dacf061377701967a}{E\+L\+M\+\_\+\+S\+T\+O\+R\+E\+\_\+\+I\+T\+E\+M\+\_\+\+M\+A\+P\+P\+I\+N\+G\+\_\+\+L\+A\+B\+EL}}, 
\newline
\mbox{\hyperlink{group__Store_gga4ff3f31e8c8d900f895449b6c108848dae963dc89924ddd80167289903e3d1650}{E\+L\+M\+\_\+\+S\+T\+O\+R\+E\+\_\+\+I\+T\+E\+M\+\_\+\+M\+A\+P\+P\+I\+N\+G\+\_\+\+S\+T\+A\+TE}}, 
\newline
\mbox{\hyperlink{group__Store_gga4ff3f31e8c8d900f895449b6c108848dabb78f3af075c1209be3c6c801577143f}{E\+L\+M\+\_\+\+S\+T\+O\+R\+E\+\_\+\+I\+T\+E\+M\+\_\+\+M\+A\+P\+P\+I\+N\+G\+\_\+\+I\+C\+ON}}, 
\newline
\mbox{\hyperlink{group__Store_gga4ff3f31e8c8d900f895449b6c108848dae82a3744f04915f558ed917576cda9c8}{E\+L\+M\+\_\+\+S\+T\+O\+R\+E\+\_\+\+I\+T\+E\+M\+\_\+\+M\+A\+P\+P\+I\+N\+G\+\_\+\+P\+H\+O\+TO}}, 
\newline
\mbox{\hyperlink{group__Store_gga4ff3f31e8c8d900f895449b6c108848da1905090292ab92a98374f6f510ab8e3c}{E\+L\+M\+\_\+\+S\+T\+O\+R\+E\+\_\+\+I\+T\+E\+M\+\_\+\+M\+A\+P\+P\+I\+N\+G\+\_\+\+C\+U\+S\+T\+OM}}, 
\newline
{\bfseries E\+L\+M\+\_\+\+S\+T\+O\+R\+E\+\_\+\+I\+T\+E\+M\+\_\+\+M\+A\+P\+P\+I\+N\+G\+\_\+\+L\+A\+ST}
 \}
\begin{DoxyCompactList}\small\item\em Possible mappings types. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{group__Store_ga1264b518bc090a00007b6f7adfe90f70}{Elm\+\_\+\+Store}} $\ast$ \mbox{\hyperlink{group__Store_ga171916357d90fbb13e3cacbfd1f72db9}{elm\+\_\+store\+\_\+filesystem\+\_\+new}} (void)
\begin{DoxyCompactList}\small\item\em Create a new store object. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group__Store_ga04e5d401569956202edd4657a4503c58}{elm\+\_\+store\+\_\+free}} (\mbox{\hyperlink{group__Store_ga1264b518bc090a00007b6f7adfe90f70}{Elm\+\_\+\+Store}} $\ast$st)
\begin{DoxyCompactList}\small\item\em Free the store object and all items it manages. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group__Store_ga2b5c5d9d1c770e7d8b40adafd8c58bdb}{elm\+\_\+store\+\_\+filesystem\+\_\+directory\+\_\+set}} (\mbox{\hyperlink{group__Store_ga1264b518bc090a00007b6f7adfe90f70}{Elm\+\_\+\+Store}} $\ast$st, const char $\ast$dir)
\begin{DoxyCompactList}\small\item\em Set the path to the directory to scan for a filesystem store. \end{DoxyCompactList}\item 
const char $\ast$ \mbox{\hyperlink{group__Store_ga2c24e1bebd2ba67b7fbeadb6309a904c}{elm\+\_\+store\+\_\+filesystem\+\_\+directory\+\_\+get}} (const \mbox{\hyperlink{group__Store_ga1264b518bc090a00007b6f7adfe90f70}{Elm\+\_\+\+Store}} $\ast$st)
\begin{DoxyCompactList}\small\item\em Get the directory set on a filesystem store. \end{DoxyCompactList}\item 
const char $\ast$ \mbox{\hyperlink{group__Store_gabbaf41a11f6a9f99df5cba15272de943}{elm\+\_\+store\+\_\+item\+\_\+filesystem\+\_\+path\+\_\+get}} (const \mbox{\hyperlink{group__Store_gab4527019d6f78b5b9293e6dcb3933127}{Elm\+\_\+\+Store\+\_\+\+Item}} $\ast$sti)
\begin{DoxyCompactList}\small\item\em Get the path of a specific store item. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group__Store_ga4b96cab5b94ea28868e399c3f4d655c3}{elm\+\_\+store\+\_\+target\+\_\+genlist\+\_\+set}} (\mbox{\hyperlink{group__Store_ga1264b518bc090a00007b6f7adfe90f70}{Elm\+\_\+\+Store}} $\ast$st, \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$obj)
\begin{DoxyCompactList}\small\item\em Set the target genlist to fill in from the store. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group__Store_ga526e841e234f438cc9d6d26d077cc41a}{elm\+\_\+store\+\_\+cache\+\_\+set}} (\mbox{\hyperlink{group__Store_ga1264b518bc090a00007b6f7adfe90f70}{Elm\+\_\+\+Store}} $\ast$st, int max)
\begin{DoxyCompactList}\small\item\em Set the maximum number of items that are not visible to keep cached. \end{DoxyCompactList}\item 
int \mbox{\hyperlink{group__Store_ga614447ce91502123be2511c26f4b786b}{elm\+\_\+store\+\_\+cache\+\_\+get}} (const \mbox{\hyperlink{group__Store_ga1264b518bc090a00007b6f7adfe90f70}{Elm\+\_\+\+Store}} $\ast$st)
\begin{DoxyCompactList}\small\item\em Get the maximum number if items to cache. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group__Store_ga02aa0f716d3b1ec8896c4692e329dbf0}{elm\+\_\+store\+\_\+list\+\_\+func\+\_\+set}} (\mbox{\hyperlink{group__Store_ga1264b518bc090a00007b6f7adfe90f70}{Elm\+\_\+\+Store}} $\ast$st, \mbox{\hyperlink{group__Store_gaa6ce1f0acc3d088145bd528514ed800e}{Elm\+\_\+\+Store\+\_\+\+Item\+\_\+\+List\+\_\+\+Cb}} func, const void $\ast$data)
\begin{DoxyCompactList}\small\item\em Set the function used to deal with listing of items. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group__Store_ga8e6a1d27b1c031246c1480714c2da7fe}{elm\+\_\+store\+\_\+fetch\+\_\+func\+\_\+set}} (\mbox{\hyperlink{group__Store_ga1264b518bc090a00007b6f7adfe90f70}{Elm\+\_\+\+Store}} $\ast$st, \mbox{\hyperlink{group__Store_ga61705487074199d9a31f5523173957fa}{Elm\+\_\+\+Store\+\_\+\+Item\+\_\+\+Fetch\+\_\+\+Cb}} func, const void $\ast$data)
\begin{DoxyCompactList}\small\item\em Set the function used to deal with fetching of items. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group__Store_ga9f47427f76d0b35973e19d2897b8d536}{elm\+\_\+store\+\_\+unfetch\+\_\+func\+\_\+set}} (\mbox{\hyperlink{group__Store_ga1264b518bc090a00007b6f7adfe90f70}{Elm\+\_\+\+Store}} $\ast$st, \mbox{\hyperlink{group__Store_ga10d7ce7f1731fe00b59a41066a8b034d}{Elm\+\_\+\+Store\+\_\+\+Item\+\_\+\+Unfetch\+\_\+\+Cb}} func, const void $\ast$data)
\begin{DoxyCompactList}\small\item\em Set the function used to free the structure allocated for the item. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group__Store_gaeed5b3bba441fb189990c312b7a06b51}{elm\+\_\+store\+\_\+fetch\+\_\+thread\+\_\+set}} (\mbox{\hyperlink{group__Store_ga1264b518bc090a00007b6f7adfe90f70}{Elm\+\_\+\+Store}} $\ast$st, \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} use\+\_\+thread)
\begin{DoxyCompactList}\small\item\em Enable or disable fetching in a thread for Store. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Store_gac589e9aa2a3ebbfe5c35d4eea72f9a5d}{elm\+\_\+store\+\_\+fetch\+\_\+thread\+\_\+get}} (const \mbox{\hyperlink{group__Store_ga1264b518bc090a00007b6f7adfe90f70}{Elm\+\_\+\+Store}} $\ast$st)
\begin{DoxyCompactList}\small\item\em Get the thread enabled fetching option for Store. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group__Store_ga1e849ad1c90dffa95cf3b25319a5cb6f}{elm\+\_\+store\+\_\+sorted\+\_\+set}} (\mbox{\hyperlink{group__Store_ga1264b518bc090a00007b6f7adfe90f70}{Elm\+\_\+\+Store}} $\ast$st, \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} sorted)
\begin{DoxyCompactList}\small\item\em Set if items are to be sorted or not. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Store_gadd4ddd67478ef3ee5c38011897910f18}{elm\+\_\+store\+\_\+sorted\+\_\+get}} (const \mbox{\hyperlink{group__Store_ga1264b518bc090a00007b6f7adfe90f70}{Elm\+\_\+\+Store}} $\ast$st)
\begin{DoxyCompactList}\small\item\em Get the sorting flag. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group__Store_gac96136d07e157af6f13338032c1a1e2e}{elm\+\_\+store\+\_\+item\+\_\+data\+\_\+set}} (\mbox{\hyperlink{group__Store_gab4527019d6f78b5b9293e6dcb3933127}{Elm\+\_\+\+Store\+\_\+\+Item}} $\ast$sti, void $\ast$data)
\begin{DoxyCompactList}\small\item\em Set the item data holding item fields to map to item values in genlist. \end{DoxyCompactList}\item 
void $\ast$ \mbox{\hyperlink{group__Store_ga27a2d4665f10816e42a7d3acc2303c78}{elm\+\_\+store\+\_\+item\+\_\+data\+\_\+get}} (\mbox{\hyperlink{group__Store_gab4527019d6f78b5b9293e6dcb3933127}{Elm\+\_\+\+Store\+\_\+\+Item}} $\ast$sti)
\begin{DoxyCompactList}\small\item\em Get the item data. \end{DoxyCompactList}\item 
const \mbox{\hyperlink{group__Store_ga1264b518bc090a00007b6f7adfe90f70}{Elm\+\_\+\+Store}} $\ast$ \mbox{\hyperlink{group__Store_gaf2cd243ad8644e8ff016d7fd70caf7f4}{elm\+\_\+store\+\_\+item\+\_\+store\+\_\+get}} (const \mbox{\hyperlink{group__Store_gab4527019d6f78b5b9293e6dcb3933127}{Elm\+\_\+\+Store\+\_\+\+Item}} $\ast$sti)
\begin{DoxyCompactList}\small\item\em Fetch the store than a store item belongs to. \end{DoxyCompactList}\item 
const \mbox{\hyperlink{group__Elm__General_ga13a0c231414b86e62f68afe3c6fb462b}{Elm\+\_\+\+Object\+\_\+\+Item}} $\ast$ \mbox{\hyperlink{group__Store_ga1f2893abf547e08aaa0c395676be1e60}{elm\+\_\+store\+\_\+item\+\_\+genlist\+\_\+item\+\_\+get}} (const \mbox{\hyperlink{group__Store_gab4527019d6f78b5b9293e6dcb3933127}{Elm\+\_\+\+Store\+\_\+\+Item}} $\ast$sti)
\begin{DoxyCompactList}\small\item\em Fetch the genlist item that this store item controls. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Store is an abstracting A\+PI that is intended to farm off fetching of data to threads running asynchronously from the mainloop that actually fetch data needed for a genlist (or possibly future other widgets) so scrolling never blocks waiting on IO (though normally this should be the users job -\/ if using genlist, to ensure all data genlist needs is in memory at the time it needs it, and if it isn\textquotesingle{}t to queue and defer a fetch and let genlist know later when its ready. 

Store actually does this and implements the infrastructure of this, leaving the actual fetch and convert up to functions provided by the user).

It is possible for store to run inline without a thread, but this is highly inadvisable. you can disable this with\+:

elm\+\_\+store\+\_\+fetch\+\_\+thread\+\_\+set(store, E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E);

Store works first by creating a store, setting up functions to list items and fetch items. Currently the only store type supported is the filesystem store, which will list the files inside a directory (not recursively) and then hand each file it finds (the file path) to the list function for evaluation.

The list function may look at filename, may open the file or do anything it likes to determine something about the file. Either it filters it out (returns {\ttfamily E\+I\+N\+A\+\_\+\+F\+A\+L\+SE}) and it is discarded or it returns {\ttfamily E\+I\+N\+A\+\_\+\+T\+R\+UE} and also provides a \char`\"{}sort id\char`\"{} which is a string store uses to figure out sorting. This string could be the filename, or some data based on its contents. The strings are sorted alphabetically like any normal A\+S\+C\+II strings, with case being important. As this listing function runs in a thread, it can do blocking IO and parsing without hurting the fluidity of the main loop and G\+UI. The list function also returns information on how to map fields in the source file to elements of the genlist item. For example, how the fetcher reads the private data struct of the user (what memory offset in the struct the data is at) and what type is there (it\textquotesingle{}s a label of some sort, an icon, or with a custom mapping function that figures it out itself and creates the content needed for the genlist item).

Store then uses this sort id to build (over time) a sorted list of items that then map 1\+:1 to genlist items. When these items are visible and need content, Store calls the fetch function per item, which is responsible for fetching the data from the given item and returning data to store so it can map this to some item content. This function also runs in a thread, and thus can do blocking IO work to later return the data. Sorting is optional and can be enabled or disabled too.

When items are no longer needed, store will cal the unfetch function to free data in memory about that item that is no longer needed. This function is called in the mainloop and is expected to take minimal or almost no time to simply free up memory resources. 

\subsection{Typedef Documentation}
\mbox{\Hypertarget{group__Store_ga2a3cfe20b715ac153cf3933092c9e76e}\label{group__Store_ga2a3cfe20b715ac153cf3933092c9e76e}} 
\index{Elementary Store@{Elementary Store}!Elm\+\_\+\+Store\+\_\+\+Item\+\_\+\+Mapping\+\_\+\+Empty@{Elm\+\_\+\+Store\+\_\+\+Item\+\_\+\+Mapping\+\_\+\+Empty}}
\index{Elm\+\_\+\+Store\+\_\+\+Item\+\_\+\+Mapping\+\_\+\+Empty@{Elm\+\_\+\+Store\+\_\+\+Item\+\_\+\+Mapping\+\_\+\+Empty}!Elementary Store@{Elementary Store}}
\subsubsection{\texorpdfstring{Elm\+\_\+\+Store\+\_\+\+Item\+\_\+\+Mapping\+\_\+\+Empty}{Elm\_Store\_Item\_Mapping\_Empty}}
{\footnotesize\ttfamily typedef struct \mbox{\hyperlink{struct__Elm__Store__Item__Mapping__Empty}{\+\_\+\+Elm\+\_\+\+Store\+\_\+\+Item\+\_\+\+Mapping\+\_\+\+Empty}} \mbox{\hyperlink{group__Store_ga2a3cfe20b715ac153cf3933092c9e76e}{Elm\+\_\+\+Store\+\_\+\+Item\+\_\+\+Mapping\+\_\+\+Empty}}}



An empty piece of mapping information. 

Useful for String labels as they get used directly \mbox{\Hypertarget{group__Store_gaa6ce1f0acc3d088145bd528514ed800e}\label{group__Store_gaa6ce1f0acc3d088145bd528514ed800e}} 
\index{Elementary Store@{Elementary Store}!Elm\+\_\+\+Store\+\_\+\+Item\+\_\+\+List\+\_\+\+Cb@{Elm\+\_\+\+Store\+\_\+\+Item\+\_\+\+List\+\_\+\+Cb}}
\index{Elm\+\_\+\+Store\+\_\+\+Item\+\_\+\+List\+\_\+\+Cb@{Elm\+\_\+\+Store\+\_\+\+Item\+\_\+\+List\+\_\+\+Cb}!Elementary Store@{Elementary Store}}
\subsubsection{\texorpdfstring{Elm\+\_\+\+Store\+\_\+\+Item\+\_\+\+List\+\_\+\+Cb}{Elm\_Store\_Item\_List\_Cb}}
{\footnotesize\ttfamily typedef \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}}($\ast$ Elm\+\_\+\+Store\+\_\+\+Item\+\_\+\+List\+\_\+\+Cb) (void $\ast$data, \mbox{\hyperlink{group__Store_ga896c36b3721b8bdf9146884761fb6747}{Elm\+\_\+\+Store\+\_\+\+Item\+\_\+\+Info}} $\ast$info)}



\begin{quote}
The item needs a custom mapping which means calling a function and returning a string from it, as opposed to a static lookup.\end{quote}


It should not be allocated, and should live in a buffer in memory that survives the return of this function if its a label, or an allocated icon object if its an icon needed etc. Function to call for listing an item 

\subsection{Enumeration Type Documentation}
\mbox{\Hypertarget{group__Store_ga4ff3f31e8c8d900f895449b6c108848d}\label{group__Store_ga4ff3f31e8c8d900f895449b6c108848d}} 
\index{Elementary Store@{Elementary Store}!Elm\+\_\+\+Store\+\_\+\+Item\+\_\+\+Mapping\+\_\+\+Type@{Elm\+\_\+\+Store\+\_\+\+Item\+\_\+\+Mapping\+\_\+\+Type}}
\index{Elm\+\_\+\+Store\+\_\+\+Item\+\_\+\+Mapping\+\_\+\+Type@{Elm\+\_\+\+Store\+\_\+\+Item\+\_\+\+Mapping\+\_\+\+Type}!Elementary Store@{Elementary Store}}
\subsubsection{\texorpdfstring{Elm\+\_\+\+Store\+\_\+\+Item\+\_\+\+Mapping\+\_\+\+Type}{Elm\_Store\_Item\_Mapping\_Type}}
{\footnotesize\ttfamily enum \mbox{\hyperlink{group__Store_ga4ff3f31e8c8d900f895449b6c108848d}{Elm\+\_\+\+Store\+\_\+\+Item\+\_\+\+Mapping\+\_\+\+Type}}}



Possible mappings types. 

\begin{DoxySince}{Since}
1.\+7 
\end{DoxySince}
\begin{DoxyEnumFields}{Enumerator}
\raisebox{\heightof{T}}[0pt][0pt]{\index{E\+L\+M\+\_\+\+S\+T\+O\+R\+E\+\_\+\+I\+T\+E\+M\+\_\+\+M\+A\+P\+P\+I\+N\+G\+\_\+\+L\+A\+B\+EL@{E\+L\+M\+\_\+\+S\+T\+O\+R\+E\+\_\+\+I\+T\+E\+M\+\_\+\+M\+A\+P\+P\+I\+N\+G\+\_\+\+L\+A\+B\+EL}!Elementary Store@{Elementary Store}}\index{Elementary Store@{Elementary Store}!E\+L\+M\+\_\+\+S\+T\+O\+R\+E\+\_\+\+I\+T\+E\+M\+\_\+\+M\+A\+P\+P\+I\+N\+G\+\_\+\+L\+A\+B\+EL@{E\+L\+M\+\_\+\+S\+T\+O\+R\+E\+\_\+\+I\+T\+E\+M\+\_\+\+M\+A\+P\+P\+I\+N\+G\+\_\+\+L\+A\+B\+EL}}}\mbox{\Hypertarget{group__Store_gga4ff3f31e8c8d900f895449b6c108848dabcbf277caca7cc8dacf061377701967a}\label{group__Store_gga4ff3f31e8c8d900f895449b6c108848dabcbf277caca7cc8dacf061377701967a}} 
E\+L\+M\+\_\+\+S\+T\+O\+R\+E\+\_\+\+I\+T\+E\+M\+\_\+\+M\+A\+P\+P\+I\+N\+G\+\_\+\+L\+A\+B\+EL&const char $\ast$ -\/$>$ label \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{E\+L\+M\+\_\+\+S\+T\+O\+R\+E\+\_\+\+I\+T\+E\+M\+\_\+\+M\+A\+P\+P\+I\+N\+G\+\_\+\+S\+T\+A\+TE@{E\+L\+M\+\_\+\+S\+T\+O\+R\+E\+\_\+\+I\+T\+E\+M\+\_\+\+M\+A\+P\+P\+I\+N\+G\+\_\+\+S\+T\+A\+TE}!Elementary Store@{Elementary Store}}\index{Elementary Store@{Elementary Store}!E\+L\+M\+\_\+\+S\+T\+O\+R\+E\+\_\+\+I\+T\+E\+M\+\_\+\+M\+A\+P\+P\+I\+N\+G\+\_\+\+S\+T\+A\+TE@{E\+L\+M\+\_\+\+S\+T\+O\+R\+E\+\_\+\+I\+T\+E\+M\+\_\+\+M\+A\+P\+P\+I\+N\+G\+\_\+\+S\+T\+A\+TE}}}\mbox{\Hypertarget{group__Store_gga4ff3f31e8c8d900f895449b6c108848dae963dc89924ddd80167289903e3d1650}\label{group__Store_gga4ff3f31e8c8d900f895449b6c108848dae963dc89924ddd80167289903e3d1650}} 
E\+L\+M\+\_\+\+S\+T\+O\+R\+E\+\_\+\+I\+T\+E\+M\+\_\+\+M\+A\+P\+P\+I\+N\+G\+\_\+\+S\+T\+A\+TE&Eina\+\_\+\+Bool -\/$>$ state. \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{E\+L\+M\+\_\+\+S\+T\+O\+R\+E\+\_\+\+I\+T\+E\+M\+\_\+\+M\+A\+P\+P\+I\+N\+G\+\_\+\+I\+C\+ON@{E\+L\+M\+\_\+\+S\+T\+O\+R\+E\+\_\+\+I\+T\+E\+M\+\_\+\+M\+A\+P\+P\+I\+N\+G\+\_\+\+I\+C\+ON}!Elementary Store@{Elementary Store}}\index{Elementary Store@{Elementary Store}!E\+L\+M\+\_\+\+S\+T\+O\+R\+E\+\_\+\+I\+T\+E\+M\+\_\+\+M\+A\+P\+P\+I\+N\+G\+\_\+\+I\+C\+ON@{E\+L\+M\+\_\+\+S\+T\+O\+R\+E\+\_\+\+I\+T\+E\+M\+\_\+\+M\+A\+P\+P\+I\+N\+G\+\_\+\+I\+C\+ON}}}\mbox{\Hypertarget{group__Store_gga4ff3f31e8c8d900f895449b6c108848dabb78f3af075c1209be3c6c801577143f}\label{group__Store_gga4ff3f31e8c8d900f895449b6c108848dabb78f3af075c1209be3c6c801577143f}} 
E\+L\+M\+\_\+\+S\+T\+O\+R\+E\+\_\+\+I\+T\+E\+M\+\_\+\+M\+A\+P\+P\+I\+N\+G\+\_\+\+I\+C\+ON&char $\ast$ -\/$>$ icon path \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{E\+L\+M\+\_\+\+S\+T\+O\+R\+E\+\_\+\+I\+T\+E\+M\+\_\+\+M\+A\+P\+P\+I\+N\+G\+\_\+\+P\+H\+O\+TO@{E\+L\+M\+\_\+\+S\+T\+O\+R\+E\+\_\+\+I\+T\+E\+M\+\_\+\+M\+A\+P\+P\+I\+N\+G\+\_\+\+P\+H\+O\+TO}!Elementary Store@{Elementary Store}}\index{Elementary Store@{Elementary Store}!E\+L\+M\+\_\+\+S\+T\+O\+R\+E\+\_\+\+I\+T\+E\+M\+\_\+\+M\+A\+P\+P\+I\+N\+G\+\_\+\+P\+H\+O\+TO@{E\+L\+M\+\_\+\+S\+T\+O\+R\+E\+\_\+\+I\+T\+E\+M\+\_\+\+M\+A\+P\+P\+I\+N\+G\+\_\+\+P\+H\+O\+TO}}}\mbox{\Hypertarget{group__Store_gga4ff3f31e8c8d900f895449b6c108848dae82a3744f04915f558ed917576cda9c8}\label{group__Store_gga4ff3f31e8c8d900f895449b6c108848dae82a3744f04915f558ed917576cda9c8}} 
E\+L\+M\+\_\+\+S\+T\+O\+R\+E\+\_\+\+I\+T\+E\+M\+\_\+\+M\+A\+P\+P\+I\+N\+G\+\_\+\+P\+H\+O\+TO&char $\ast$ -\/$>$ photo path \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{E\+L\+M\+\_\+\+S\+T\+O\+R\+E\+\_\+\+I\+T\+E\+M\+\_\+\+M\+A\+P\+P\+I\+N\+G\+\_\+\+C\+U\+S\+T\+OM@{E\+L\+M\+\_\+\+S\+T\+O\+R\+E\+\_\+\+I\+T\+E\+M\+\_\+\+M\+A\+P\+P\+I\+N\+G\+\_\+\+C\+U\+S\+T\+OM}!Elementary Store@{Elementary Store}}\index{Elementary Store@{Elementary Store}!E\+L\+M\+\_\+\+S\+T\+O\+R\+E\+\_\+\+I\+T\+E\+M\+\_\+\+M\+A\+P\+P\+I\+N\+G\+\_\+\+C\+U\+S\+T\+OM@{E\+L\+M\+\_\+\+S\+T\+O\+R\+E\+\_\+\+I\+T\+E\+M\+\_\+\+M\+A\+P\+P\+I\+N\+G\+\_\+\+C\+U\+S\+T\+OM}}}\mbox{\Hypertarget{group__Store_gga4ff3f31e8c8d900f895449b6c108848da1905090292ab92a98374f6f510ab8e3c}\label{group__Store_gga4ff3f31e8c8d900f895449b6c108848da1905090292ab92a98374f6f510ab8e3c}} 
E\+L\+M\+\_\+\+S\+T\+O\+R\+E\+\_\+\+I\+T\+E\+M\+\_\+\+M\+A\+P\+P\+I\+N\+G\+\_\+\+C\+U\+S\+T\+OM&item-\/$>$custom(it-\/$>$data, it, part) -\/$>$ void $\ast$ (-\/$>$ any) \\
\hline

\end{DoxyEnumFields}


\subsection{Function Documentation}
\mbox{\Hypertarget{group__Store_ga171916357d90fbb13e3cacbfd1f72db9}\label{group__Store_ga171916357d90fbb13e3cacbfd1f72db9}} 
\index{Elementary Store@{Elementary Store}!elm\+\_\+store\+\_\+filesystem\+\_\+new@{elm\+\_\+store\+\_\+filesystem\+\_\+new}}
\index{elm\+\_\+store\+\_\+filesystem\+\_\+new@{elm\+\_\+store\+\_\+filesystem\+\_\+new}!Elementary Store@{Elementary Store}}
\subsubsection{\texorpdfstring{elm\+\_\+store\+\_\+filesystem\+\_\+new()}{elm\_store\_filesystem\_new()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Store_ga1264b518bc090a00007b6f7adfe90f70}{Elm\+\_\+\+Store}}$\ast$ elm\+\_\+store\+\_\+filesystem\+\_\+new (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}



Create a new store object. 

This creates a new store object to then configure so it works.

\begin{DoxyReturn}{Returns}
A new store object, or N\+U\+LL if creation fails 
\end{DoxyReturn}
\mbox{\Hypertarget{group__Store_ga04e5d401569956202edd4657a4503c58}\label{group__Store_ga04e5d401569956202edd4657a4503c58}} 
\index{Elementary Store@{Elementary Store}!elm\+\_\+store\+\_\+free@{elm\+\_\+store\+\_\+free}}
\index{elm\+\_\+store\+\_\+free@{elm\+\_\+store\+\_\+free}!Elementary Store@{Elementary Store}}
\subsubsection{\texorpdfstring{elm\+\_\+store\+\_\+free()}{elm\_store\_free()}}
{\footnotesize\ttfamily void elm\+\_\+store\+\_\+free (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Store_ga1264b518bc090a00007b6f7adfe90f70}{Elm\+\_\+\+Store}} $\ast$}]{st }\end{DoxyParamCaption})}



Free the store object and all items it manages. 

This frees the given {\ttfamily st} store and all the items it manages. It will clear the List that it populated, but otherwise leave it alone. It will cancel background threads (and may have to wait for them to complete a pending operation to do this).


\begin{DoxyParams}{Parameters}
{\em st} & The store to free \\
\hline
\end{DoxyParams}


References ecore\+\_\+job\+\_\+del(), ecore\+\_\+thread\+\_\+cancel(), efl\+\_\+event\+\_\+callback\+\_\+del(), E\+I\+N\+A\+\_\+\+I\+N\+L\+I\+S\+T\+\_\+\+G\+ET, eina\+\_\+inlist\+\_\+remove(), eina\+\_\+list\+\_\+free(), eina\+\_\+lock\+\_\+free(), eina\+\_\+lock\+\_\+release(), eina\+\_\+lock\+\_\+take(), E\+I\+N\+A\+\_\+\+M\+A\+G\+I\+C\+\_\+\+C\+H\+E\+CK, elm\+\_\+genlist\+\_\+clear(), E\+L\+M\+\_\+\+G\+E\+N\+L\+I\+S\+T\+\_\+\+E\+V\+E\+N\+T\+\_\+\+R\+E\+A\+L\+I\+Z\+ED, E\+L\+M\+\_\+\+G\+E\+N\+L\+I\+S\+T\+\_\+\+E\+V\+E\+N\+T\+\_\+\+U\+N\+R\+E\+A\+L\+I\+Z\+ED, E\+V\+A\+S\+\_\+\+C\+A\+L\+L\+B\+A\+C\+K\+\_\+\+D\+EL, and evas\+\_\+object\+\_\+event\+\_\+callback\+\_\+del\+\_\+full().

\mbox{\Hypertarget{group__Store_ga2b5c5d9d1c770e7d8b40adafd8c58bdb}\label{group__Store_ga2b5c5d9d1c770e7d8b40adafd8c58bdb}} 
\index{Elementary Store@{Elementary Store}!elm\+\_\+store\+\_\+filesystem\+\_\+directory\+\_\+set@{elm\+\_\+store\+\_\+filesystem\+\_\+directory\+\_\+set}}
\index{elm\+\_\+store\+\_\+filesystem\+\_\+directory\+\_\+set@{elm\+\_\+store\+\_\+filesystem\+\_\+directory\+\_\+set}!Elementary Store@{Elementary Store}}
\subsubsection{\texorpdfstring{elm\+\_\+store\+\_\+filesystem\+\_\+directory\+\_\+set()}{elm\_store\_filesystem\_directory\_set()}}
{\footnotesize\ttfamily void elm\+\_\+store\+\_\+filesystem\+\_\+directory\+\_\+set (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Store_ga1264b518bc090a00007b6f7adfe90f70}{Elm\+\_\+\+Store}} $\ast$}]{st,  }\item[{const char $\ast$}]{dir }\end{DoxyParamCaption})}



Set the path to the directory to scan for a filesystem store. 

This sets the directory ({\ttfamily dir}) to scan and begins scanning in the the background in threads (or not if threading is disabled with \mbox{\hyperlink{group__Store_gaeed5b3bba441fb189990c312b7a06b51}{elm\+\_\+store\+\_\+fetch\+\_\+thread\+\_\+set()}}). Note that Listing is always done in a thread but fetching may not be if disabled here. This should be the last thing called after fetch, list and unfetch functions are set, as well as target genlist etc. You also should not change the directory once set. If you need a new directory scanned, create a new store.


\begin{DoxyParams}{Parameters}
{\em st} & The store to modify \\
\hline
{\em dir} & A string giving the path to the directory to scan \\
\hline
\end{DoxyParams}


References ecore\+\_\+thread\+\_\+cancel(), and E\+I\+N\+A\+\_\+\+M\+A\+G\+I\+C\+\_\+\+C\+H\+E\+CK.

\mbox{\Hypertarget{group__Store_ga2c24e1bebd2ba67b7fbeadb6309a904c}\label{group__Store_ga2c24e1bebd2ba67b7fbeadb6309a904c}} 
\index{Elementary Store@{Elementary Store}!elm\+\_\+store\+\_\+filesystem\+\_\+directory\+\_\+get@{elm\+\_\+store\+\_\+filesystem\+\_\+directory\+\_\+get}}
\index{elm\+\_\+store\+\_\+filesystem\+\_\+directory\+\_\+get@{elm\+\_\+store\+\_\+filesystem\+\_\+directory\+\_\+get}!Elementary Store@{Elementary Store}}
\subsubsection{\texorpdfstring{elm\+\_\+store\+\_\+filesystem\+\_\+directory\+\_\+get()}{elm\_store\_filesystem\_directory\_get()}}
{\footnotesize\ttfamily const char$\ast$ elm\+\_\+store\+\_\+filesystem\+\_\+directory\+\_\+get (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{group__Store_ga1264b518bc090a00007b6f7adfe90f70}{Elm\+\_\+\+Store}} $\ast$}]{st }\end{DoxyParamCaption})}



Get the directory set on a filesystem store. 

This gets the directory set by \mbox{\hyperlink{group__Store_ga2b5c5d9d1c770e7d8b40adafd8c58bdb}{elm\+\_\+store\+\_\+filesystem\+\_\+directory\+\_\+set()}}. This string returned will be valid until \mbox{\hyperlink{group__Store_ga2b5c5d9d1c770e7d8b40adafd8c58bdb}{elm\+\_\+store\+\_\+filesystem\+\_\+directory\+\_\+set()}} changes it or until the store is freed with \mbox{\hyperlink{group__Store_ga04e5d401569956202edd4657a4503c58}{elm\+\_\+store\+\_\+free()}}.

\begin{DoxyReturn}{Returns}
A string with the path set, or N\+U\+LL if none set. 
\end{DoxyReturn}


References E\+I\+N\+A\+\_\+\+M\+A\+G\+I\+C\+\_\+\+C\+H\+E\+CK.

\mbox{\Hypertarget{group__Store_gabbaf41a11f6a9f99df5cba15272de943}\label{group__Store_gabbaf41a11f6a9f99df5cba15272de943}} 
\index{Elementary Store@{Elementary Store}!elm\+\_\+store\+\_\+item\+\_\+filesystem\+\_\+path\+\_\+get@{elm\+\_\+store\+\_\+item\+\_\+filesystem\+\_\+path\+\_\+get}}
\index{elm\+\_\+store\+\_\+item\+\_\+filesystem\+\_\+path\+\_\+get@{elm\+\_\+store\+\_\+item\+\_\+filesystem\+\_\+path\+\_\+get}!Elementary Store@{Elementary Store}}
\subsubsection{\texorpdfstring{elm\+\_\+store\+\_\+item\+\_\+filesystem\+\_\+path\+\_\+get()}{elm\_store\_item\_filesystem\_path\_get()}}
{\footnotesize\ttfamily const char$\ast$ elm\+\_\+store\+\_\+item\+\_\+filesystem\+\_\+path\+\_\+get (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{group__Store_gab4527019d6f78b5b9293e6dcb3933127}{Elm\+\_\+\+Store\+\_\+\+Item}} $\ast$}]{sti }\end{DoxyParamCaption})}



Get the path of a specific store item. 

This returns the full path of a store item. This string is valid only during the list function set by \mbox{\hyperlink{group__Store_ga02aa0f716d3b1ec8896c4692e329dbf0}{elm\+\_\+store\+\_\+list\+\_\+func\+\_\+set()}} or during the fetch function set by \mbox{\hyperlink{group__Store_ga8e6a1d27b1c031246c1480714c2da7fe}{elm\+\_\+store\+\_\+fetch\+\_\+func\+\_\+set()}} or during the unfetch function set by \mbox{\hyperlink{group__Store_ga9f47427f76d0b35973e19d2897b8d536}{elm\+\_\+store\+\_\+unfetch\+\_\+func\+\_\+set()}}.


\begin{DoxyParams}{Parameters}
{\em sti} & The store item to get the path from \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
A full path in a string or N\+U\+LL if none available 
\end{DoxyReturn}


References E\+I\+N\+A\+\_\+\+M\+A\+G\+I\+C\+\_\+\+C\+H\+E\+CK.

\mbox{\Hypertarget{group__Store_ga4b96cab5b94ea28868e399c3f4d655c3}\label{group__Store_ga4b96cab5b94ea28868e399c3f4d655c3}} 
\index{Elementary Store@{Elementary Store}!elm\+\_\+store\+\_\+target\+\_\+genlist\+\_\+set@{elm\+\_\+store\+\_\+target\+\_\+genlist\+\_\+set}}
\index{elm\+\_\+store\+\_\+target\+\_\+genlist\+\_\+set@{elm\+\_\+store\+\_\+target\+\_\+genlist\+\_\+set}!Elementary Store@{Elementary Store}}
\subsubsection{\texorpdfstring{elm\+\_\+store\+\_\+target\+\_\+genlist\+\_\+set()}{elm\_store\_target\_genlist\_set()}}
{\footnotesize\ttfamily void elm\+\_\+store\+\_\+target\+\_\+genlist\+\_\+set (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Store_ga1264b518bc090a00007b6f7adfe90f70}{Elm\+\_\+\+Store}} $\ast$}]{st,  }\item[{\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$}]{obj }\end{DoxyParamCaption})}



Set the target genlist to fill in from the store. 

This tells the store the target genlist to use to fill in content from the store. Once a store starts \char`\"{}going\char`\"{} via \mbox{\hyperlink{group__Store_ga2b5c5d9d1c770e7d8b40adafd8c58bdb}{elm\+\_\+store\+\_\+filesystem\+\_\+directory\+\_\+set()}} The target should never be changed again.


\begin{DoxyParams}{Parameters}
{\em st} & The store to do the filling. \\
\hline
{\em obj} & The genlist object to fill in and control the content of from the store. \\
\hline
\end{DoxyParams}


References efl\+\_\+event\+\_\+callback\+\_\+add, efl\+\_\+event\+\_\+callback\+\_\+del(), E\+I\+N\+A\+\_\+\+M\+A\+G\+I\+C\+\_\+\+C\+H\+E\+CK, elm\+\_\+genlist\+\_\+clear(), E\+L\+M\+\_\+\+G\+E\+N\+L\+I\+S\+T\+\_\+\+E\+V\+E\+N\+T\+\_\+\+R\+E\+A\+L\+I\+Z\+ED, E\+L\+M\+\_\+\+G\+E\+N\+L\+I\+S\+T\+\_\+\+E\+V\+E\+N\+T\+\_\+\+U\+N\+R\+E\+A\+L\+I\+Z\+ED, E\+V\+A\+S\+\_\+\+C\+A\+L\+L\+B\+A\+C\+K\+\_\+\+D\+EL, evas\+\_\+object\+\_\+event\+\_\+callback\+\_\+add(), and evas\+\_\+object\+\_\+event\+\_\+callback\+\_\+del\+\_\+full().

\mbox{\Hypertarget{group__Store_ga526e841e234f438cc9d6d26d077cc41a}\label{group__Store_ga526e841e234f438cc9d6d26d077cc41a}} 
\index{Elementary Store@{Elementary Store}!elm\+\_\+store\+\_\+cache\+\_\+set@{elm\+\_\+store\+\_\+cache\+\_\+set}}
\index{elm\+\_\+store\+\_\+cache\+\_\+set@{elm\+\_\+store\+\_\+cache\+\_\+set}!Elementary Store@{Elementary Store}}
\subsubsection{\texorpdfstring{elm\+\_\+store\+\_\+cache\+\_\+set()}{elm\_store\_cache\_set()}}
{\footnotesize\ttfamily void elm\+\_\+store\+\_\+cache\+\_\+set (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Store_ga1264b518bc090a00007b6f7adfe90f70}{Elm\+\_\+\+Store}} $\ast$}]{st,  }\item[{int}]{max }\end{DoxyParamCaption})}



Set the maximum number of items that are not visible to keep cached. 

Store may keep some items around for caching purposes that cannot be seen, so this controls the maximum number. The default is 128, but may change at any point in time in the future.


\begin{DoxyParams}{Parameters}
{\em st} & The store to modify \\
\hline
{\em max} & The number of items to keep (should be greater than or equal to 0) \\
\hline
\end{DoxyParams}


References E\+I\+N\+A\+\_\+\+M\+A\+G\+I\+C\+\_\+\+C\+H\+E\+CK.

\mbox{\Hypertarget{group__Store_ga614447ce91502123be2511c26f4b786b}\label{group__Store_ga614447ce91502123be2511c26f4b786b}} 
\index{Elementary Store@{Elementary Store}!elm\+\_\+store\+\_\+cache\+\_\+get@{elm\+\_\+store\+\_\+cache\+\_\+get}}
\index{elm\+\_\+store\+\_\+cache\+\_\+get@{elm\+\_\+store\+\_\+cache\+\_\+get}!Elementary Store@{Elementary Store}}
\subsubsection{\texorpdfstring{elm\+\_\+store\+\_\+cache\+\_\+get()}{elm\_store\_cache\_get()}}
{\footnotesize\ttfamily int elm\+\_\+store\+\_\+cache\+\_\+get (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{group__Store_ga1264b518bc090a00007b6f7adfe90f70}{Elm\+\_\+\+Store}} $\ast$}]{st }\end{DoxyParamCaption})}



Get the maximum number if items to cache. 

This returns the number of items at most to cache.


\begin{DoxyParams}{Parameters}
{\em st} & The store to query \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The maximum number of items to cache ($>$= 0) 
\end{DoxyReturn}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{group__Store_ga526e841e234f438cc9d6d26d077cc41a}{elm\+\_\+store\+\_\+cache\+\_\+set()}} 
\end{DoxySeeAlso}


References E\+I\+N\+A\+\_\+\+M\+A\+G\+I\+C\+\_\+\+C\+H\+E\+CK.

\mbox{\Hypertarget{group__Store_ga02aa0f716d3b1ec8896c4692e329dbf0}\label{group__Store_ga02aa0f716d3b1ec8896c4692e329dbf0}} 
\index{Elementary Store@{Elementary Store}!elm\+\_\+store\+\_\+list\+\_\+func\+\_\+set@{elm\+\_\+store\+\_\+list\+\_\+func\+\_\+set}}
\index{elm\+\_\+store\+\_\+list\+\_\+func\+\_\+set@{elm\+\_\+store\+\_\+list\+\_\+func\+\_\+set}!Elementary Store@{Elementary Store}}
\subsubsection{\texorpdfstring{elm\+\_\+store\+\_\+list\+\_\+func\+\_\+set()}{elm\_store\_list\_func\_set()}}
{\footnotesize\ttfamily void elm\+\_\+store\+\_\+list\+\_\+func\+\_\+set (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Store_ga1264b518bc090a00007b6f7adfe90f70}{Elm\+\_\+\+Store}} $\ast$}]{st,  }\item[{\mbox{\hyperlink{group__Store_gaa6ce1f0acc3d088145bd528514ed800e}{Elm\+\_\+\+Store\+\_\+\+Item\+\_\+\+List\+\_\+\+Cb}}}]{func,  }\item[{const void $\ast$}]{data }\end{DoxyParamCaption})}



Set the function used to deal with listing of items. 

This function is called per item that is found so it can examine the item and discard it (return {\ttfamily E\+I\+N\+A\+\_\+\+F\+A\+L\+SE} to discard, or {\ttfamily E\+I\+N\+A\+\_\+\+T\+R\+UE} to accept), and work out some sorting ID (that may be filename or anything else based on content). This function is always called from a thread.


\begin{DoxyParams}{Parameters}
{\em st} & The store to set the function of \\
\hline
{\em func} & The function to be called \\
\hline
{\em data} & the data pointer to be passed to the {\ttfamily func} function when called \\
\hline
\end{DoxyParams}


References E\+I\+N\+A\+\_\+\+M\+A\+G\+I\+C\+\_\+\+C\+H\+E\+CK.

\mbox{\Hypertarget{group__Store_ga8e6a1d27b1c031246c1480714c2da7fe}\label{group__Store_ga8e6a1d27b1c031246c1480714c2da7fe}} 
\index{Elementary Store@{Elementary Store}!elm\+\_\+store\+\_\+fetch\+\_\+func\+\_\+set@{elm\+\_\+store\+\_\+fetch\+\_\+func\+\_\+set}}
\index{elm\+\_\+store\+\_\+fetch\+\_\+func\+\_\+set@{elm\+\_\+store\+\_\+fetch\+\_\+func\+\_\+set}!Elementary Store@{Elementary Store}}
\subsubsection{\texorpdfstring{elm\+\_\+store\+\_\+fetch\+\_\+func\+\_\+set()}{elm\_store\_fetch\_func\_set()}}
{\footnotesize\ttfamily void elm\+\_\+store\+\_\+fetch\+\_\+func\+\_\+set (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Store_ga1264b518bc090a00007b6f7adfe90f70}{Elm\+\_\+\+Store}} $\ast$}]{st,  }\item[{\mbox{\hyperlink{group__Store_ga61705487074199d9a31f5523173957fa}{Elm\+\_\+\+Store\+\_\+\+Item\+\_\+\+Fetch\+\_\+\+Cb}}}]{func,  }\item[{const void $\ast$}]{data }\end{DoxyParamCaption})}



Set the function used to deal with fetching of items. 

This function is called per item that needs data to be fetched when it becomes visible and such data is needed. This function is normally run from a thread (unless \mbox{\hyperlink{group__Store_gaeed5b3bba441fb189990c312b7a06b51}{elm\+\_\+store\+\_\+fetch\+\_\+thread\+\_\+set()}} disables this). The fetch function is to read data from the source and fill a structure allocated for this item with fields and then rely on the mapping setup to tell Store how to take a field in the structure and apply it to a genlist item.


\begin{DoxyParams}{Parameters}
{\em st} & The store to set the function of \\
\hline
{\em func} & The function to be called \\
\hline
{\em data} & the data pointer to be passed to the {\ttfamily func} function when called \\
\hline
\end{DoxyParams}


References E\+I\+N\+A\+\_\+\+M\+A\+G\+I\+C\+\_\+\+C\+H\+E\+CK.

\mbox{\Hypertarget{group__Store_ga9f47427f76d0b35973e19d2897b8d536}\label{group__Store_ga9f47427f76d0b35973e19d2897b8d536}} 
\index{Elementary Store@{Elementary Store}!elm\+\_\+store\+\_\+unfetch\+\_\+func\+\_\+set@{elm\+\_\+store\+\_\+unfetch\+\_\+func\+\_\+set}}
\index{elm\+\_\+store\+\_\+unfetch\+\_\+func\+\_\+set@{elm\+\_\+store\+\_\+unfetch\+\_\+func\+\_\+set}!Elementary Store@{Elementary Store}}
\subsubsection{\texorpdfstring{elm\+\_\+store\+\_\+unfetch\+\_\+func\+\_\+set()}{elm\_store\_unfetch\_func\_set()}}
{\footnotesize\ttfamily void elm\+\_\+store\+\_\+unfetch\+\_\+func\+\_\+set (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Store_ga1264b518bc090a00007b6f7adfe90f70}{Elm\+\_\+\+Store}} $\ast$}]{st,  }\item[{\mbox{\hyperlink{group__Store_ga10d7ce7f1731fe00b59a41066a8b034d}{Elm\+\_\+\+Store\+\_\+\+Item\+\_\+\+Unfetch\+\_\+\+Cb}}}]{func,  }\item[{const void $\ast$}]{data }\end{DoxyParamCaption})}



Set the function used to free the structure allocated for the item. 

This function is called per item when it is not needed in memory anymore and should free the structure allocated in and filled in the function set by \mbox{\hyperlink{group__Store_ga8e6a1d27b1c031246c1480714c2da7fe}{elm\+\_\+store\+\_\+fetch\+\_\+func\+\_\+set()}}.


\begin{DoxyParams}{Parameters}
{\em st} & The store to set the function of \\
\hline
{\em func} & The function to be called \\
\hline
{\em data} & the data pointer to be passed to the {\ttfamily func} function when called \\
\hline
\end{DoxyParams}


References E\+I\+N\+A\+\_\+\+M\+A\+G\+I\+C\+\_\+\+C\+H\+E\+CK.

\mbox{\Hypertarget{group__Store_gaeed5b3bba441fb189990c312b7a06b51}\label{group__Store_gaeed5b3bba441fb189990c312b7a06b51}} 
\index{Elementary Store@{Elementary Store}!elm\+\_\+store\+\_\+fetch\+\_\+thread\+\_\+set@{elm\+\_\+store\+\_\+fetch\+\_\+thread\+\_\+set}}
\index{elm\+\_\+store\+\_\+fetch\+\_\+thread\+\_\+set@{elm\+\_\+store\+\_\+fetch\+\_\+thread\+\_\+set}!Elementary Store@{Elementary Store}}
\subsubsection{\texorpdfstring{elm\+\_\+store\+\_\+fetch\+\_\+thread\+\_\+set()}{elm\_store\_fetch\_thread\_set()}}
{\footnotesize\ttfamily void elm\+\_\+store\+\_\+fetch\+\_\+thread\+\_\+set (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Store_ga1264b518bc090a00007b6f7adfe90f70}{Elm\+\_\+\+Store}} $\ast$}]{st,  }\item[{\mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}}}]{use\+\_\+thread }\end{DoxyParamCaption})}



Enable or disable fetching in a thread for Store. 


\begin{DoxyParams}{Parameters}
{\em st} & The store to modify \\
\hline
{\em use\+\_\+thread} & {\ttfamily E\+I\+N\+A\+\_\+\+T\+R\+UE} to use a thread to fetch, {\ttfamily E\+I\+N\+A\+\_\+\+F\+A\+L\+SE} don\textquotesingle{}t use a thread. \\
\hline
\end{DoxyParams}


References E\+I\+N\+A\+\_\+\+M\+A\+G\+I\+C\+\_\+\+C\+H\+E\+CK.

\mbox{\Hypertarget{group__Store_gac589e9aa2a3ebbfe5c35d4eea72f9a5d}\label{group__Store_gac589e9aa2a3ebbfe5c35d4eea72f9a5d}} 
\index{Elementary Store@{Elementary Store}!elm\+\_\+store\+\_\+fetch\+\_\+thread\+\_\+get@{elm\+\_\+store\+\_\+fetch\+\_\+thread\+\_\+get}}
\index{elm\+\_\+store\+\_\+fetch\+\_\+thread\+\_\+get@{elm\+\_\+store\+\_\+fetch\+\_\+thread\+\_\+get}!Elementary Store@{Elementary Store}}
\subsubsection{\texorpdfstring{elm\+\_\+store\+\_\+fetch\+\_\+thread\+\_\+get()}{elm\_store\_fetch\_thread\_get()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} elm\+\_\+store\+\_\+fetch\+\_\+thread\+\_\+get (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{group__Store_ga1264b518bc090a00007b6f7adfe90f70}{Elm\+\_\+\+Store}} $\ast$}]{st }\end{DoxyParamCaption})}



Get the thread enabled fetching option for Store. 

\begin{DoxyReturn}{Returns}
The state set currently for the store. 
\end{DoxyReturn}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{group__Store_gaeed5b3bba441fb189990c312b7a06b51}{elm\+\_\+store\+\_\+fetch\+\_\+thread\+\_\+set()}} 
\end{DoxySeeAlso}


References E\+I\+N\+A\+\_\+\+F\+A\+L\+SE, and E\+I\+N\+A\+\_\+\+M\+A\+G\+I\+C\+\_\+\+C\+H\+E\+CK.

\mbox{\Hypertarget{group__Store_ga1e849ad1c90dffa95cf3b25319a5cb6f}\label{group__Store_ga1e849ad1c90dffa95cf3b25319a5cb6f}} 
\index{Elementary Store@{Elementary Store}!elm\+\_\+store\+\_\+sorted\+\_\+set@{elm\+\_\+store\+\_\+sorted\+\_\+set}}
\index{elm\+\_\+store\+\_\+sorted\+\_\+set@{elm\+\_\+store\+\_\+sorted\+\_\+set}!Elementary Store@{Elementary Store}}
\subsubsection{\texorpdfstring{elm\+\_\+store\+\_\+sorted\+\_\+set()}{elm\_store\_sorted\_set()}}
{\footnotesize\ttfamily void elm\+\_\+store\+\_\+sorted\+\_\+set (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Store_ga1264b518bc090a00007b6f7adfe90f70}{Elm\+\_\+\+Store}} $\ast$}]{st,  }\item[{\mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}}}]{sorted }\end{DoxyParamCaption})}



Set if items are to be sorted or not. 

By default items are not sorted, but read \char`\"{}in order\char`\"{} as they are found. If you want to sort, your list function set by \mbox{\hyperlink{group__Store_ga02aa0f716d3b1ec8896c4692e329dbf0}{elm\+\_\+store\+\_\+list\+\_\+func\+\_\+set()}} must provide a sort ID to sort by, and then Store will take care of sorting when it inserts items. You should set this up before you begin listing items in the store and then never change it again.


\begin{DoxyParams}{Parameters}
{\em st} & The store to modify \\
\hline
{\em sorted} & {\ttfamily E\+I\+N\+A\+\_\+\+T\+R\+UE} if we are to sort, {\ttfamily E\+I\+N\+A\+\_\+\+F\+A\+L\+SE} if not. \\
\hline
\end{DoxyParams}


References E\+I\+N\+A\+\_\+\+M\+A\+G\+I\+C\+\_\+\+C\+H\+E\+CK.

\mbox{\Hypertarget{group__Store_gadd4ddd67478ef3ee5c38011897910f18}\label{group__Store_gadd4ddd67478ef3ee5c38011897910f18}} 
\index{Elementary Store@{Elementary Store}!elm\+\_\+store\+\_\+sorted\+\_\+get@{elm\+\_\+store\+\_\+sorted\+\_\+get}}
\index{elm\+\_\+store\+\_\+sorted\+\_\+get@{elm\+\_\+store\+\_\+sorted\+\_\+get}!Elementary Store@{Elementary Store}}
\subsubsection{\texorpdfstring{elm\+\_\+store\+\_\+sorted\+\_\+get()}{elm\_store\_sorted\_get()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} elm\+\_\+store\+\_\+sorted\+\_\+get (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{group__Store_ga1264b518bc090a00007b6f7adfe90f70}{Elm\+\_\+\+Store}} $\ast$}]{st }\end{DoxyParamCaption})}



Get the sorting flag. 

Get the sorted flag as set by \mbox{\hyperlink{group__Store_ga1e849ad1c90dffa95cf3b25319a5cb6f}{elm\+\_\+store\+\_\+sorted\+\_\+set()}}.


\begin{DoxyParams}{Parameters}
{\em st} & The store to query \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
{\ttfamily E\+I\+N\+A\+\_\+\+T\+R\+UE} if sorted, {\ttfamily E\+I\+N\+A\+\_\+\+F\+A\+L\+SE} if not. 
\end{DoxyReturn}


References E\+I\+N\+A\+\_\+\+F\+A\+L\+SE, and E\+I\+N\+A\+\_\+\+M\+A\+G\+I\+C\+\_\+\+C\+H\+E\+CK.

\mbox{\Hypertarget{group__Store_gac96136d07e157af6f13338032c1a1e2e}\label{group__Store_gac96136d07e157af6f13338032c1a1e2e}} 
\index{Elementary Store@{Elementary Store}!elm\+\_\+store\+\_\+item\+\_\+data\+\_\+set@{elm\+\_\+store\+\_\+item\+\_\+data\+\_\+set}}
\index{elm\+\_\+store\+\_\+item\+\_\+data\+\_\+set@{elm\+\_\+store\+\_\+item\+\_\+data\+\_\+set}!Elementary Store@{Elementary Store}}
\subsubsection{\texorpdfstring{elm\+\_\+store\+\_\+item\+\_\+data\+\_\+set()}{elm\_store\_item\_data\_set()}}
{\footnotesize\ttfamily void elm\+\_\+store\+\_\+item\+\_\+data\+\_\+set (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Store_gab4527019d6f78b5b9293e6dcb3933127}{Elm\+\_\+\+Store\+\_\+\+Item}} $\ast$}]{sti,  }\item[{void $\ast$}]{data }\end{DoxyParamCaption})}



Set the item data holding item fields to map to item values in genlist. 

Once you decode an item, allocate a structure for it and fill the structure, you should set the item data with this function (eg in the fetch function). This item pointer is the base offset to use when mapping fields to item values. Once you unfetch, store will handle N\+U\+L\+Ling the data pointer for you.


\begin{DoxyParams}{Parameters}
{\em sti} & The store item to set the data pointer of \\
\hline
{\em data} & The data pointer to set. \\
\hline
\end{DoxyParams}


References E\+I\+N\+A\+\_\+\+M\+A\+G\+I\+C\+\_\+\+C\+H\+E\+CK.

\mbox{\Hypertarget{group__Store_ga27a2d4665f10816e42a7d3acc2303c78}\label{group__Store_ga27a2d4665f10816e42a7d3acc2303c78}} 
\index{Elementary Store@{Elementary Store}!elm\+\_\+store\+\_\+item\+\_\+data\+\_\+get@{elm\+\_\+store\+\_\+item\+\_\+data\+\_\+get}}
\index{elm\+\_\+store\+\_\+item\+\_\+data\+\_\+get@{elm\+\_\+store\+\_\+item\+\_\+data\+\_\+get}!Elementary Store@{Elementary Store}}
\subsubsection{\texorpdfstring{elm\+\_\+store\+\_\+item\+\_\+data\+\_\+get()}{elm\_store\_item\_data\_get()}}
{\footnotesize\ttfamily void$\ast$ elm\+\_\+store\+\_\+item\+\_\+data\+\_\+get (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Store_gab4527019d6f78b5b9293e6dcb3933127}{Elm\+\_\+\+Store\+\_\+\+Item}} $\ast$}]{sti }\end{DoxyParamCaption})}



Get the item data. 

This gets the data pointer set by \mbox{\hyperlink{group__Store_gac96136d07e157af6f13338032c1a1e2e}{elm\+\_\+store\+\_\+item\+\_\+data\+\_\+set()}}.


\begin{DoxyParams}{Parameters}
{\em sti} & The store item to query \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The data pointer set on the item 
\end{DoxyReturn}


References E\+I\+N\+A\+\_\+\+M\+A\+G\+I\+C\+\_\+\+C\+H\+E\+CK.

\mbox{\Hypertarget{group__Store_gaf2cd243ad8644e8ff016d7fd70caf7f4}\label{group__Store_gaf2cd243ad8644e8ff016d7fd70caf7f4}} 
\index{Elementary Store@{Elementary Store}!elm\+\_\+store\+\_\+item\+\_\+store\+\_\+get@{elm\+\_\+store\+\_\+item\+\_\+store\+\_\+get}}
\index{elm\+\_\+store\+\_\+item\+\_\+store\+\_\+get@{elm\+\_\+store\+\_\+item\+\_\+store\+\_\+get}!Elementary Store@{Elementary Store}}
\subsubsection{\texorpdfstring{elm\+\_\+store\+\_\+item\+\_\+store\+\_\+get()}{elm\_store\_item\_store\_get()}}
{\footnotesize\ttfamily const \mbox{\hyperlink{group__Store_ga1264b518bc090a00007b6f7adfe90f70}{Elm\+\_\+\+Store}}$\ast$ elm\+\_\+store\+\_\+item\+\_\+store\+\_\+get (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{group__Store_gab4527019d6f78b5b9293e6dcb3933127}{Elm\+\_\+\+Store\+\_\+\+Item}} $\ast$}]{sti }\end{DoxyParamCaption})}



Fetch the store than a store item belongs to. 

This fetches the store object that owns the store item.


\begin{DoxyParams}{Parameters}
{\em sti} & The store item to query \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The store the item belongs to 
\end{DoxyReturn}


References E\+I\+N\+A\+\_\+\+M\+A\+G\+I\+C\+\_\+\+C\+H\+E\+CK.

\mbox{\Hypertarget{group__Store_ga1f2893abf547e08aaa0c395676be1e60}\label{group__Store_ga1f2893abf547e08aaa0c395676be1e60}} 
\index{Elementary Store@{Elementary Store}!elm\+\_\+store\+\_\+item\+\_\+genlist\+\_\+item\+\_\+get@{elm\+\_\+store\+\_\+item\+\_\+genlist\+\_\+item\+\_\+get}}
\index{elm\+\_\+store\+\_\+item\+\_\+genlist\+\_\+item\+\_\+get@{elm\+\_\+store\+\_\+item\+\_\+genlist\+\_\+item\+\_\+get}!Elementary Store@{Elementary Store}}
\subsubsection{\texorpdfstring{elm\+\_\+store\+\_\+item\+\_\+genlist\+\_\+item\+\_\+get()}{elm\_store\_item\_genlist\_item\_get()}}
{\footnotesize\ttfamily const \mbox{\hyperlink{group__Elm__General_ga13a0c231414b86e62f68afe3c6fb462b}{Elm\+\_\+\+Object\+\_\+\+Item}}$\ast$ elm\+\_\+store\+\_\+item\+\_\+genlist\+\_\+item\+\_\+get (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{group__Store_gab4527019d6f78b5b9293e6dcb3933127}{Elm\+\_\+\+Store\+\_\+\+Item}} $\ast$}]{sti }\end{DoxyParamCaption})}



Fetch the genlist item that this store item controls. 


\begin{DoxyParams}{Parameters}
{\em sti} & The store item to query \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The genlist object item handle controlled by this store item 
\end{DoxyReturn}


References E\+I\+N\+A\+\_\+\+M\+A\+G\+I\+C\+\_\+\+C\+H\+E\+CK.

