Common implementations for ptr_list
.
More...
Data Structures | |
struct | _ptr_list_impl |
Public Types | |
typedef CloneAllocator | clone_allocator_type |
Type for the clone allocator. More... | |
Public Member Functions | |
_ptr_list_common_base (CloneAllocator clone_allocator) | |
Creates an list with the given clone allocator. | |
_ptr_list_common_base (Eina_List *_list) | |
Create a new object from a handle to a native Eina_List. More... | |
_ptr_list_common_base< T, CloneAllocator > & | operator= (_ptr_list_common_base< T, CloneAllocator > &&other)=default |
_ptr_list_common_base (_ptr_list_common_base< T, CloneAllocator > &&other)=default | |
_ptr_list_common_base () | |
Default constructor. More... | |
CloneAllocator & | _get_clone_allocator () |
CloneAllocator const & | _get_clone_allocator () const |
void | _delete_clone (T const *p) |
T * | _new_clone (typename container_value_type< T >::type const &a) |
Data Fields | |
_ptr_list_impl | _impl |
Common implementations for ptr_list
.
typedef CloneAllocator efl::eina::_ptr_list_common_base< T, CloneAllocator >::clone_allocator_type |
Type for the clone allocator.
|
inline |
Create a new object from a handle to a native Eina_List.
_list | Handle to a native Eina_List. |
This constructor wraps a pre-allocated Eina_List providing an OOP interface to it.
|
inline |
Default constructor.
Create an empty list.
This constructor creates a list with no elements.