Accessor

Data Structures | Functions
Accessor
Eina C++Eina C++ » | Data Types » Content Access

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< ! std::is_base_of<::efl::eo::concrete, T >::value, T >::type >
struct | efl::eina::accessor< T, typename std::enable_if< std::is_base_of<::efl::eo::concrete, 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

  lhs | First accessor object.
  rhs | Second 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(), efl::eo::concrete::operator=(), and efl::eina::stringshare::swap().