\hypertarget{structefl_1_1eina_1_1accessor__common__base}{}\section{efl\+:\+:eina\+:\+:accessor\+\_\+common\+\_\+base$<$ T $>$ Struct Template Reference}
\label{structefl_1_1eina_1_1accessor__common__base}\index{efl\+::eina\+::accessor\+\_\+common\+\_\+base$<$ T $>$@{efl\+::eina\+::accessor\+\_\+common\+\_\+base$<$ T $>$}}


Wraps an native Eina\+\_\+\+Accessor and provide random access to data structures.  


\subsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
typedef unsigned int \mbox{\hyperlink{structefl_1_1eina_1_1accessor__common__base_a5790b4088729a4e1a4e94afe9ccd828a}{key\+\_\+type}}
\begin{DoxyCompactList}\small\item\em Type for accessor key. \end{DoxyCompactList}\item 
typedef T \mbox{\hyperlink{structefl_1_1eina_1_1accessor__common__base_a6e2ffb342b9faf5e4506ac86183ea155}{mapped\+\_\+type}}
\begin{DoxyCompactList}\small\item\em Type for accessor mapped elements. \end{DoxyCompactList}\item 
typedef T \mbox{\hyperlink{structefl_1_1eina_1_1accessor__common__base_a5217847f82807ab684dab59ce112a298}{value\+\_\+type}}
\begin{DoxyCompactList}\small\item\em Type for accessor elements. \end{DoxyCompactList}\item 
typedef std\+::size\+\_\+t \mbox{\hyperlink{structefl_1_1eina_1_1accessor__common__base_abf281f8df58aa16de7fee5d5d4d4ad50}{size\+\_\+type}}
\begin{DoxyCompactList}\small\item\em Type for size information used in the accessor. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{structefl_1_1eina_1_1accessor__common__base_af9e36facaf895b5d4ecc1a897a7b3eb8}{accessor\+\_\+common\+\_\+base}} ()
\begin{DoxyCompactList}\small\item\em Default constructor. \end{DoxyCompactList}\item 
\mbox{\hyperlink{structefl_1_1eina_1_1accessor__common__base_a065ac08f4488572e209b9c5264f021cd}{accessor\+\_\+common\+\_\+base}} (\mbox{\hyperlink{group__Eina__Accessor__Group_ga65199ea5201a1867471028477dc26744}{Eina\+\_\+\+Accessor}} $\ast$impl)
\begin{DoxyCompactList}\small\item\em Create an accessor object that wraps the given Eina accessor. \end{DoxyCompactList}\item 
\mbox{\hyperlink{structefl_1_1eina_1_1accessor__common__base_a255a0ae5214a72251f494836d5ad629c}{accessor\+\_\+common\+\_\+base}} (\mbox{\hyperlink{structefl_1_1eina_1_1accessor__common__base}{accessor\+\_\+common\+\_\+base}}$<$ T $>$ const \&other)
\begin{DoxyCompactList}\small\item\em Copy constructor. \end{DoxyCompactList}\item 
\mbox{\hyperlink{structefl_1_1eina_1_1accessor__common__base}{accessor\+\_\+common\+\_\+base}}$<$ T $>$ \& \mbox{\hyperlink{structefl_1_1eina_1_1accessor__common__base_a16a244a264ae70f9b5185af6a2c9c8da}{operator=}} (\mbox{\hyperlink{structefl_1_1eina_1_1accessor__common__base}{accessor\+\_\+common\+\_\+base}}$<$ T $>$ const \&other)
\begin{DoxyCompactList}\small\item\em Assignment Operator. \end{DoxyCompactList}\item 
\mbox{\hyperlink{structefl_1_1eina_1_1accessor__common__base_ae79d667cb4ac2ae1180313bb98b72de4}{$\sim$accessor\+\_\+common\+\_\+base}} ()
\begin{DoxyCompactList}\small\item\em Destructor. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Eina__Accessor__Group_ga65199ea5201a1867471028477dc26744}{Eina\+\_\+\+Accessor}} $\ast$ \mbox{\hyperlink{structefl_1_1eina_1_1accessor__common__base_a3161c707ea9991dbc7b7d1a16d3892d0}{native\+\_\+handle}} () const
\begin{DoxyCompactList}\small\item\em Get the handle for the wrapped {\ttfamily Eina\+\_\+\+Accessor}. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Eina__Accessor__Group_ga65199ea5201a1867471028477dc26744}{Eina\+\_\+\+Accessor}} $\ast$ \mbox{\hyperlink{structefl_1_1eina_1_1accessor__common__base_af7450feeb5b3594b4c3ada514b8d710a}{release\+\_\+native\+\_\+handle}} ()
\begin{DoxyCompactList}\small\item\em Release the handle of the wrapped {\ttfamily Eina\+\_\+\+Accessor}. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{structefl_1_1eina_1_1accessor__common__base_ae4815ea6e66cb5d1e54611da5cd182c8}{swap}} (\mbox{\hyperlink{structefl_1_1eina_1_1accessor__common__base}{accessor\+\_\+common\+\_\+base}}$<$ T $>$ \&other)
\begin{DoxyCompactList}\small\item\em Swap content between both objects. \end{DoxyCompactList}\item 
\mbox{\hyperlink{structefl_1_1eina_1_1accessor__common__base_ac9358cfc86b98137e271db4770b4d820}{operator bool}} () const
\begin{DoxyCompactList}\small\item\em Cast to {\ttfamily boolean} based on the wrapped {\ttfamily Eina\+\_\+\+Accessor}. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Data Fields}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{structefl_1_1eina_1_1accessor__common__base_a87cdcc0d2dd2a496c5d674a36a397826}\label{structefl_1_1eina_1_1accessor__common__base_a87cdcc0d2dd2a496c5d674a36a397826}} 
\mbox{\hyperlink{group__Eina__Accessor__Group_ga65199ea5201a1867471028477dc26744}{Eina\+\_\+\+Accessor}} $\ast$ {\bfseries \+\_\+impl}
\end{DoxyCompactItemize}


\subsection{Detailed Description}
\subsubsection*{template$<$typename T$>$\newline
struct efl\+::eina\+::accessor\+\_\+common\+\_\+base$<$ T $>$}

Wraps an native Eina\+\_\+\+Accessor and provide random access to data structures. 

\subsection{Member Typedef Documentation}
\mbox{\Hypertarget{structefl_1_1eina_1_1accessor__common__base_a5790b4088729a4e1a4e94afe9ccd828a}\label{structefl_1_1eina_1_1accessor__common__base_a5790b4088729a4e1a4e94afe9ccd828a}} 
\index{efl\+::eina\+::accessor\+\_\+common\+\_\+base@{efl\+::eina\+::accessor\+\_\+common\+\_\+base}!key\+\_\+type@{key\+\_\+type}}
\index{key\+\_\+type@{key\+\_\+type}!efl\+::eina\+::accessor\+\_\+common\+\_\+base@{efl\+::eina\+::accessor\+\_\+common\+\_\+base}}
\subsubsection{\texorpdfstring{key\+\_\+type}{key\_type}}
{\footnotesize\ttfamily template$<$typename T$>$ \\
typedef unsigned int \mbox{\hyperlink{structefl_1_1eina_1_1accessor__common__base}{efl\+::eina\+::accessor\+\_\+common\+\_\+base}}$<$ T $>$\+::\mbox{\hyperlink{structefl_1_1eina_1_1accessor__common__base_a5790b4088729a4e1a4e94afe9ccd828a}{key\+\_\+type}}}



Type for accessor key. 

\mbox{\Hypertarget{structefl_1_1eina_1_1accessor__common__base_a6e2ffb342b9faf5e4506ac86183ea155}\label{structefl_1_1eina_1_1accessor__common__base_a6e2ffb342b9faf5e4506ac86183ea155}} 
\index{efl\+::eina\+::accessor\+\_\+common\+\_\+base@{efl\+::eina\+::accessor\+\_\+common\+\_\+base}!mapped\+\_\+type@{mapped\+\_\+type}}
\index{mapped\+\_\+type@{mapped\+\_\+type}!efl\+::eina\+::accessor\+\_\+common\+\_\+base@{efl\+::eina\+::accessor\+\_\+common\+\_\+base}}
\subsubsection{\texorpdfstring{mapped\+\_\+type}{mapped\_type}}
{\footnotesize\ttfamily template$<$typename T$>$ \\
typedef T \mbox{\hyperlink{structefl_1_1eina_1_1accessor__common__base}{efl\+::eina\+::accessor\+\_\+common\+\_\+base}}$<$ T $>$\+::\mbox{\hyperlink{structefl_1_1eina_1_1accessor__common__base_a6e2ffb342b9faf5e4506ac86183ea155}{mapped\+\_\+type}}}



Type for accessor mapped elements. 

\mbox{\Hypertarget{structefl_1_1eina_1_1accessor__common__base_a5217847f82807ab684dab59ce112a298}\label{structefl_1_1eina_1_1accessor__common__base_a5217847f82807ab684dab59ce112a298}} 
\index{efl\+::eina\+::accessor\+\_\+common\+\_\+base@{efl\+::eina\+::accessor\+\_\+common\+\_\+base}!value\+\_\+type@{value\+\_\+type}}
\index{value\+\_\+type@{value\+\_\+type}!efl\+::eina\+::accessor\+\_\+common\+\_\+base@{efl\+::eina\+::accessor\+\_\+common\+\_\+base}}
\subsubsection{\texorpdfstring{value\+\_\+type}{value\_type}}
{\footnotesize\ttfamily template$<$typename T$>$ \\
typedef T \mbox{\hyperlink{structefl_1_1eina_1_1accessor__common__base}{efl\+::eina\+::accessor\+\_\+common\+\_\+base}}$<$ T $>$\+::\mbox{\hyperlink{structefl_1_1eina_1_1accessor__common__base_a5217847f82807ab684dab59ce112a298}{value\+\_\+type}}}



Type for accessor elements. 

Same as \mbox{\hyperlink{structefl_1_1eina_1_1accessor__common__base_a6e2ffb342b9faf5e4506ac86183ea155}{mapped\+\_\+type}}. \mbox{\Hypertarget{structefl_1_1eina_1_1accessor__common__base_abf281f8df58aa16de7fee5d5d4d4ad50}\label{structefl_1_1eina_1_1accessor__common__base_abf281f8df58aa16de7fee5d5d4d4ad50}} 
\index{efl\+::eina\+::accessor\+\_\+common\+\_\+base@{efl\+::eina\+::accessor\+\_\+common\+\_\+base}!size\+\_\+type@{size\+\_\+type}}
\index{size\+\_\+type@{size\+\_\+type}!efl\+::eina\+::accessor\+\_\+common\+\_\+base@{efl\+::eina\+::accessor\+\_\+common\+\_\+base}}
\subsubsection{\texorpdfstring{size\+\_\+type}{size\_type}}
{\footnotesize\ttfamily template$<$typename T$>$ \\
typedef std\+::size\+\_\+t \mbox{\hyperlink{structefl_1_1eina_1_1accessor__common__base}{efl\+::eina\+::accessor\+\_\+common\+\_\+base}}$<$ T $>$\+::\mbox{\hyperlink{structefl_1_1eina_1_1accessor__common__base_abf281f8df58aa16de7fee5d5d4d4ad50}{size\+\_\+type}}}



Type for size information used in the accessor. 



\subsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{structefl_1_1eina_1_1accessor__common__base_af9e36facaf895b5d4ecc1a897a7b3eb8}\label{structefl_1_1eina_1_1accessor__common__base_af9e36facaf895b5d4ecc1a897a7b3eb8}} 
\index{efl\+::eina\+::accessor\+\_\+common\+\_\+base@{efl\+::eina\+::accessor\+\_\+common\+\_\+base}!accessor\+\_\+common\+\_\+base@{accessor\+\_\+common\+\_\+base}}
\index{accessor\+\_\+common\+\_\+base@{accessor\+\_\+common\+\_\+base}!efl\+::eina\+::accessor\+\_\+common\+\_\+base@{efl\+::eina\+::accessor\+\_\+common\+\_\+base}}
\subsubsection{\texorpdfstring{accessor\+\_\+common\+\_\+base()}{accessor\_common\_base()}\hspace{0.1cm}{\footnotesize\ttfamily [1/3]}}
{\footnotesize\ttfamily template$<$typename T$>$ \\
\mbox{\hyperlink{structefl_1_1eina_1_1accessor__common__base}{efl\+::eina\+::accessor\+\_\+common\+\_\+base}}$<$ T $>$\+::\mbox{\hyperlink{structefl_1_1eina_1_1accessor__common__base}{accessor\+\_\+common\+\_\+base}} (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Default constructor. 

Creates an empty accessor. \mbox{\Hypertarget{structefl_1_1eina_1_1accessor__common__base_a065ac08f4488572e209b9c5264f021cd}\label{structefl_1_1eina_1_1accessor__common__base_a065ac08f4488572e209b9c5264f021cd}} 
\index{efl\+::eina\+::accessor\+\_\+common\+\_\+base@{efl\+::eina\+::accessor\+\_\+common\+\_\+base}!accessor\+\_\+common\+\_\+base@{accessor\+\_\+common\+\_\+base}}
\index{accessor\+\_\+common\+\_\+base@{accessor\+\_\+common\+\_\+base}!efl\+::eina\+::accessor\+\_\+common\+\_\+base@{efl\+::eina\+::accessor\+\_\+common\+\_\+base}}
\subsubsection{\texorpdfstring{accessor\+\_\+common\+\_\+base()}{accessor\_common\_base()}\hspace{0.1cm}{\footnotesize\ttfamily [2/3]}}
{\footnotesize\ttfamily template$<$typename T$>$ \\
\mbox{\hyperlink{structefl_1_1eina_1_1accessor__common__base}{efl\+::eina\+::accessor\+\_\+common\+\_\+base}}$<$ T $>$\+::\mbox{\hyperlink{structefl_1_1eina_1_1accessor__common__base}{accessor\+\_\+common\+\_\+base}} (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Eina__Accessor__Group_ga65199ea5201a1867471028477dc26744}{Eina\+\_\+\+Accessor}} $\ast$}]{impl }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [explicit]}}



Create an accessor object that wraps the given Eina accessor. 


\begin{DoxyParams}{Parameters}
{\em impl} & Native {\ttfamily Eina\+\_\+\+Accessor} to be wrapped.\\
\hline
\end{DoxyParams}
This constructor creates an accessor object that wraps the given Eina\+\_\+\+Accessor and provides access to the data pointed by it.

\begin{DoxyWarning}{Warning}
It is important to note that the created accessor object gains ownership of the given handle, deallocating it at destruction time. 
\end{DoxyWarning}
\mbox{\Hypertarget{structefl_1_1eina_1_1accessor__common__base_a255a0ae5214a72251f494836d5ad629c}\label{structefl_1_1eina_1_1accessor__common__base_a255a0ae5214a72251f494836d5ad629c}} 
\index{efl\+::eina\+::accessor\+\_\+common\+\_\+base@{efl\+::eina\+::accessor\+\_\+common\+\_\+base}!accessor\+\_\+common\+\_\+base@{accessor\+\_\+common\+\_\+base}}
\index{accessor\+\_\+common\+\_\+base@{accessor\+\_\+common\+\_\+base}!efl\+::eina\+::accessor\+\_\+common\+\_\+base@{efl\+::eina\+::accessor\+\_\+common\+\_\+base}}
\subsubsection{\texorpdfstring{accessor\+\_\+common\+\_\+base()}{accessor\_common\_base()}\hspace{0.1cm}{\footnotesize\ttfamily [3/3]}}
{\footnotesize\ttfamily template$<$typename T$>$ \\
\mbox{\hyperlink{structefl_1_1eina_1_1accessor__common__base}{efl\+::eina\+::accessor\+\_\+common\+\_\+base}}$<$ T $>$\+::\mbox{\hyperlink{structefl_1_1eina_1_1accessor__common__base}{accessor\+\_\+common\+\_\+base}} (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{structefl_1_1eina_1_1accessor__common__base}{accessor\+\_\+common\+\_\+base}}$<$ T $>$ const \&}]{other }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Copy constructor. 

Creates a copy of the given accessor object. 
\begin{DoxyParams}{Parameters}
{\em other} & Other accessor object.\\
\hline
\end{DoxyParams}
This constructor clones the internal {\ttfamily Eina\+\_\+\+Accessor} of the given accessor object, so that the newly created object can be used freely. \mbox{\Hypertarget{structefl_1_1eina_1_1accessor__common__base_ae79d667cb4ac2ae1180313bb98b72de4}\label{structefl_1_1eina_1_1accessor__common__base_ae79d667cb4ac2ae1180313bb98b72de4}} 
\index{efl\+::eina\+::accessor\+\_\+common\+\_\+base@{efl\+::eina\+::accessor\+\_\+common\+\_\+base}!````~accessor\+\_\+common\+\_\+base@{$\sim$accessor\+\_\+common\+\_\+base}}
\index{````~accessor\+\_\+common\+\_\+base@{$\sim$accessor\+\_\+common\+\_\+base}!efl\+::eina\+::accessor\+\_\+common\+\_\+base@{efl\+::eina\+::accessor\+\_\+common\+\_\+base}}
\subsubsection{\texorpdfstring{$\sim$accessor\+\_\+common\+\_\+base()}{~accessor\_common\_base()}}
{\footnotesize\ttfamily template$<$typename T$>$ \\
\mbox{\hyperlink{structefl_1_1eina_1_1accessor__common__base}{efl\+::eina\+::accessor\+\_\+common\+\_\+base}}$<$ T $>$\+::$\sim$\mbox{\hyperlink{structefl_1_1eina_1_1accessor__common__base}{accessor\+\_\+common\+\_\+base}} (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Destructor. 

Free the internal {\ttfamily Eina\+\_\+\+Acessor}. 

References eina\+\_\+accessor\+\_\+free().



\subsection{Member Function Documentation}
\mbox{\Hypertarget{structefl_1_1eina_1_1accessor__common__base_a16a244a264ae70f9b5185af6a2c9c8da}\label{structefl_1_1eina_1_1accessor__common__base_a16a244a264ae70f9b5185af6a2c9c8da}} 
\index{efl\+::eina\+::accessor\+\_\+common\+\_\+base@{efl\+::eina\+::accessor\+\_\+common\+\_\+base}!operator=@{operator=}}
\index{operator=@{operator=}!efl\+::eina\+::accessor\+\_\+common\+\_\+base@{efl\+::eina\+::accessor\+\_\+common\+\_\+base}}
\subsubsection{\texorpdfstring{operator=()}{operator=()}}
{\footnotesize\ttfamily template$<$typename T$>$ \\
\mbox{\hyperlink{structefl_1_1eina_1_1accessor__common__base}{accessor\+\_\+common\+\_\+base}}$<$T$>$\& \mbox{\hyperlink{structefl_1_1eina_1_1accessor__common__base}{efl\+::eina\+::accessor\+\_\+common\+\_\+base}}$<$ T $>$\+::operator= (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{structefl_1_1eina_1_1accessor__common__base}{accessor\+\_\+common\+\_\+base}}$<$ T $>$ const \&}]{other }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Assignment Operator. 

Replace the current content. 
\begin{DoxyParams}{Parameters}
{\em other} & Other accessor object. \\
\hline
\end{DoxyParams}

\begin{DoxyExceptions}{Exceptions}
{\em $<$tt$>$eina\+::system\+\_\+error$<$/tt$>$} & if the Eina accessor could not be cloned.\\
\hline
\end{DoxyExceptions}
This operator replaces the current native Eina accessor by a copy of the native accessor inside the given object. 

References eina\+\_\+accessor\+\_\+clone(), and eina\+\_\+accessor\+\_\+free().

\mbox{\Hypertarget{structefl_1_1eina_1_1accessor__common__base_a3161c707ea9991dbc7b7d1a16d3892d0}\label{structefl_1_1eina_1_1accessor__common__base_a3161c707ea9991dbc7b7d1a16d3892d0}} 
\index{efl\+::eina\+::accessor\+\_\+common\+\_\+base@{efl\+::eina\+::accessor\+\_\+common\+\_\+base}!native\+\_\+handle@{native\+\_\+handle}}
\index{native\+\_\+handle@{native\+\_\+handle}!efl\+::eina\+::accessor\+\_\+common\+\_\+base@{efl\+::eina\+::accessor\+\_\+common\+\_\+base}}
\subsubsection{\texorpdfstring{native\+\_\+handle()}{native\_handle()}}
{\footnotesize\ttfamily template$<$typename T$>$ \\
\mbox{\hyperlink{group__Eina__Accessor__Group_ga65199ea5201a1867471028477dc26744}{Eina\+\_\+\+Accessor}}$\ast$ \mbox{\hyperlink{structefl_1_1eina_1_1accessor__common__base}{efl\+::eina\+::accessor\+\_\+common\+\_\+base}}$<$ T $>$\+::native\+\_\+handle (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Get the handle for the wrapped {\ttfamily Eina\+\_\+\+Accessor}. 

\begin{DoxyReturn}{Returns}
Internal handle for the native Eina accessor.
\end{DoxyReturn}
This member function returns the native {\ttfamily Eina\+\_\+\+Accessor} handle that is wrapped inside this object.

\begin{DoxyWarning}{Warning}
It is important to take care when using it, since the handle will be automatically release upon object destruction. 
\end{DoxyWarning}


Referenced by efl\+::eina\+::accessor\+\_\+common\+\_\+base$<$ T $>$\+::operator bool().

\mbox{\Hypertarget{structefl_1_1eina_1_1accessor__common__base_af7450feeb5b3594b4c3ada514b8d710a}\label{structefl_1_1eina_1_1accessor__common__base_af7450feeb5b3594b4c3ada514b8d710a}} 
\index{efl\+::eina\+::accessor\+\_\+common\+\_\+base@{efl\+::eina\+::accessor\+\_\+common\+\_\+base}!release\+\_\+native\+\_\+handle@{release\+\_\+native\+\_\+handle}}
\index{release\+\_\+native\+\_\+handle@{release\+\_\+native\+\_\+handle}!efl\+::eina\+::accessor\+\_\+common\+\_\+base@{efl\+::eina\+::accessor\+\_\+common\+\_\+base}}
\subsubsection{\texorpdfstring{release\+\_\+native\+\_\+handle()}{release\_native\_handle()}}
{\footnotesize\ttfamily template$<$typename T$>$ \\
\mbox{\hyperlink{group__Eina__Accessor__Group_ga65199ea5201a1867471028477dc26744}{Eina\+\_\+\+Accessor}}$\ast$ \mbox{\hyperlink{structefl_1_1eina_1_1accessor__common__base}{efl\+::eina\+::accessor\+\_\+common\+\_\+base}}$<$ T $>$\+::release\+\_\+native\+\_\+handle (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Release the handle of the wrapped {\ttfamily Eina\+\_\+\+Accessor}. 

\begin{DoxyReturn}{Returns}
Handle for the native {\ttfamily Eina\+\_\+\+Accessor}. 
\end{DoxyReturn}
\mbox{\Hypertarget{structefl_1_1eina_1_1accessor__common__base_ae4815ea6e66cb5d1e54611da5cd182c8}\label{structefl_1_1eina_1_1accessor__common__base_ae4815ea6e66cb5d1e54611da5cd182c8}} 
\index{efl\+::eina\+::accessor\+\_\+common\+\_\+base@{efl\+::eina\+::accessor\+\_\+common\+\_\+base}!swap@{swap}}
\index{swap@{swap}!efl\+::eina\+::accessor\+\_\+common\+\_\+base@{efl\+::eina\+::accessor\+\_\+common\+\_\+base}}
\subsubsection{\texorpdfstring{swap()}{swap()}}
{\footnotesize\ttfamily template$<$typename T$>$ \\
void \mbox{\hyperlink{structefl_1_1eina_1_1accessor__common__base}{efl\+::eina\+::accessor\+\_\+common\+\_\+base}}$<$ T $>$\+::swap (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{structefl_1_1eina_1_1accessor__common__base}{accessor\+\_\+common\+\_\+base}}$<$ T $>$ \&}]{other }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Swap content between both objects. 


\begin{DoxyParams}{Parameters}
{\em other} & Other accessor object.\\
\hline
\end{DoxyParams}
This member function swaps the internal {\ttfamily Eina\+\_\+\+Acessor} with the given accessor object. 

References efl\+::eina\+::swap().

\mbox{\Hypertarget{structefl_1_1eina_1_1accessor__common__base_ac9358cfc86b98137e271db4770b4d820}\label{structefl_1_1eina_1_1accessor__common__base_ac9358cfc86b98137e271db4770b4d820}} 
\index{efl\+::eina\+::accessor\+\_\+common\+\_\+base@{efl\+::eina\+::accessor\+\_\+common\+\_\+base}!operator bool@{operator bool}}
\index{operator bool@{operator bool}!efl\+::eina\+::accessor\+\_\+common\+\_\+base@{efl\+::eina\+::accessor\+\_\+common\+\_\+base}}
\subsubsection{\texorpdfstring{operator bool()}{operator bool()}}
{\footnotesize\ttfamily template$<$typename T$>$ \\
\mbox{\hyperlink{structefl_1_1eina_1_1accessor__common__base}{efl\+::eina\+::accessor\+\_\+common\+\_\+base}}$<$ T $>$\+::operator bool (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [explicit]}}



Cast to {\ttfamily boolean} based on the wrapped {\ttfamily Eina\+\_\+\+Accessor}. 

\begin{DoxyReturn}{Returns}
{\ttfamily true} if the wrapped handle is not {\ttfamily N\+U\+LL}, {\ttfamily false} otherwise.
\end{DoxyReturn}
Boolean typecast overload for easy validation of the accessor object. Returns {\ttfamily false} if it does not have an internal {\ttfamily Eina\+\_\+\+Accessor}, i.\+e. if the current handle is not {\ttfamily N\+U\+LL}. 

References efl\+::eina\+::accessor\+\_\+common\+\_\+base$<$ T $>$\+::native\+\_\+handle().

