Data Structures | Functions

These classes manage accessor on containers. More...

Data Structures

struct  efl::eina::accessor_common_base< T >
 Wraps an native Eina_Accessor and provide random access to data structures. More...
 
struct  efl::eina::accessor< T, Enable >
 
struct  efl::eina::accessor< T, typename std::enable_if< ! ::efl::eo::is_eolian_object< T >::value, T >::type >
 
struct  efl::eina::accessor< T, typename std::enable_if< ::efl::eo::is_eolian_object< T >::value, T >::type >
 

Functions

template<typename U >
void efl::eina::swap (accessor< U > &lhs, accessor< U > &rhs)
 Swap the contents of the two accessor objects. More...
 

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++ STL). Accessors allows random access (that is, any element in the container). For sequential access, see Iterator.

Function Documentation

◆ swap()

template<typename U >
void efl::eina::swap ( accessor< U > &  lhs,
accessor< U > &  rhs 
)

Swap the contents of the two accessor objects.

Parameters
lhsFirst accessor object.
rhsSecond accessor object.

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