\hypertarget{group__Eina__Cxx__Accessor__Group}{}\section{Accessor}
\label{group__Eina__Cxx__Accessor__Group}\index{Accessor@{Accessor}}


These classes manage accessor on containers.  


\subsection*{Data Structures}
\begin{DoxyCompactItemize}
\item 
struct \mbox{\hyperlink{structefl_1_1eina_1_1accessor__common__base}{efl\+::eina\+::accessor\+\_\+common\+\_\+base$<$ T $>$}}
\begin{DoxyCompactList}\small\item\em Wraps an native Eina\+\_\+\+Accessor and provide random access to data structures. \end{DoxyCompactList}\item 
struct \mbox{\hyperlink{structefl_1_1eina_1_1accessor}{efl\+::eina\+::accessor$<$ T, Enable $>$}}
\item 
struct \mbox{\hyperlink{structefl_1_1eina_1_1accessor_3_01T_00_01typename_01std_1_1enable__if_3_01_9_01_1_1efl_1_1eo_1_1dfa2038405c0c6ad50311f80dcd82973}{efl\+::eina\+::accessor$<$ T, typename std\+::enable\+\_\+if$<$ ! \+::efl\+::eo\+::is\+\_\+eolian\+\_\+object$<$ T $>$\+::value, T $>$\+::type $>$}}
\item 
struct \mbox{\hyperlink{structefl_1_1eina_1_1accessor_3_01T_00_01typename_01std_1_1enable__if_3_01_1_1efl_1_1eo_1_1is__e8945e7ac2e2151dcf1200fd4c6fae2bf}{efl\+::eina\+::accessor$<$ T, typename std\+::enable\+\_\+if$<$ \+::efl\+::eo\+::is\+\_\+eolian\+\_\+object$<$ T $>$\+::value, T $>$\+::type $>$}}
\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
{\footnotesize template$<$typename U $>$ }\\void \mbox{\hyperlink{group__Eina__Cxx__Accessor__Group_ga887cededd911d371bb124ddd0caa8598}{efl\+::eina\+::swap}} (\mbox{\hyperlink{structefl_1_1eina_1_1accessor}{accessor}}$<$ U $>$ \&lhs, \mbox{\hyperlink{structefl_1_1eina_1_1accessor}{accessor}}$<$ U $>$ \&rhs)
\begin{DoxyCompactList}\small\item\em Swap the contents of the two accessor objects. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
These classes manage accessor on containers. 

These classes allow to access elements of a container in a generic way, without knowing which container is used (like iterators in the C++ S\+TL). Accessors allows random access (that is, any element in the container). For sequential access, see \mbox{\hyperlink{group__Eina__Cxx__Iterator__Group}{Iterator}}. 

\subsection{Function Documentation}
\mbox{\Hypertarget{group__Eina__Cxx__Accessor__Group_ga887cededd911d371bb124ddd0caa8598}\label{group__Eina__Cxx__Accessor__Group_ga887cededd911d371bb124ddd0caa8598}} 
\index{Accessor@{Accessor}!swap@{swap}}
\index{swap@{swap}!Accessor@{Accessor}}
\subsubsection{\texorpdfstring{swap()}{swap()}}
{\footnotesize\ttfamily template$<$typename U $>$ \\
void efl\+::eina\+::swap (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{structefl_1_1eina_1_1accessor}{accessor}}$<$ U $>$ \&}]{lhs,  }\item[{\mbox{\hyperlink{structefl_1_1eina_1_1accessor}{accessor}}$<$ U $>$ \&}]{rhs }\end{DoxyParamCaption})}



Swap the contents of the two accessor objects. 


\begin{DoxyParams}{Parameters}
{\em lhs} & First accessor object. \\
\hline
{\em rhs} & Second accessor object. \\
\hline
\end{DoxyParams}


Referenced by edje\+\_\+edit\+\_\+part\+\_\+restack\+\_\+above(), edje\+\_\+edit\+\_\+part\+\_\+restack\+\_\+below(), edje\+\_\+edit\+\_\+part\+\_\+restack\+\_\+part\+\_\+above(), edje\+\_\+edit\+\_\+part\+\_\+restack\+\_\+part\+\_\+below(), and efl\+::eina\+::stringshare\+::swap().

