\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 \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 \hyperlink{structefl_1_1eina_1_1accessor}{efl\+::eina\+::accessor$<$ T, Enable $>$}
\item 
struct \hyperlink{structefl_1_1eina_1_1accessor_3_01T_00_01typename_01std_1_1enable__if_3_01_9std_1_1is__base__of_37d7bd6186db1dbb83f377831ba03fed}{efl\+::eina\+::accessor$<$ T, typename std\+::enable\+\_\+if$<$ !std\+::is\+\_\+base\+\_\+of$<$\+::efl\+::eo\+::concrete, T $>$\+::value, T $>$\+::type $>$}
\item 
struct \hyperlink{structefl_1_1eina_1_1accessor_3_01T_00_01typename_01std_1_1enable__if_3_01std_1_1is__base__of_3_3c782d641e5cfbfa23250dbc97dfae9e}{efl\+::eina\+::accessor$<$ T, typename std\+::enable\+\_\+if$<$ std\+::is\+\_\+base\+\_\+of$<$\+::efl\+::eo\+::concrete, T $>$\+::value, T $>$\+::type $>$}
\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
{\footnotesize template$<$typename U $>$ }\\void \hyperlink{group__Eina__Cxx__Accessor__Group_ga887cededd911d371bb124ddd0caa8598}{efl\+::eina\+::swap} (accessor$<$ U $>$ \&lhs, 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\+T\+L). Accessors allows random access (that is, any element in the container). For sequential access, see \hyperlink{group__Eina__Cxx__Iterator__Group}{Iterator}. 

\subsection{Function Documentation}
\hypertarget{group__Eina__Cxx__Accessor__Group_ga887cededd911d371bb124ddd0caa8598}{}\index{Accessor@{Accessor}!swap@{swap}}
\index{swap@{swap}!Accessor@{Accessor}}
\subsubsection[{swap}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename U $>$ void efl\+::eina\+::swap (
\begin{DoxyParamCaption}
\item[{{\bf accessor}$<$ U $>$ \&}]{lhs, }
\item[{{\bf accessor}$<$ U $>$ \&}]{rhs}
\end{DoxyParamCaption}
)}\label{group__Eina__Cxx__Accessor__Group_ga887cededd911d371bb124ddd0caa8598}


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().

