\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}{efl\+::eina\+::accessor$<$ T $>$}
\begin{DoxyCompactList}\small\item\em Wraps an native Eina\+\_\+\+Accessor and provide random access to data structures. \end{DoxyCompactList}\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[{accessor$<$ U $>$ \&}]{lhs, }
\item[{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}


References efl\+::eina\+::accessor$<$ T $>$\+::swap().



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

