Common implementations for inline list. More...
Data Structures | |
struct | _inlist_impl |
Public Types | |
typedef Allocator::template rebind< _inlist_node< T > >::other | node_allocator_type |
Type for the allocator of the node. More... | |
typedef Allocator | allocator_type |
Type for the allocator. More... | |
typedef _inlist_node< T > | node_type |
Type for the list node. More... | |
typedef Eina_Inlist * | native_handle_type |
Native type. More... | |
Public Member Functions | |
_inlist_common_base (Allocator allocator) | |
Creates a list with the given allocator. More... | |
_inlist_common_base (native_handle_type inlist) | |
Wraps the native object. More... | |
_inlist_common_base () | |
Creates an empty inline list. | |
~_inlist_common_base () | |
Destructor. More... | |
void | clear () |
Deallocate all nodes of the list. | |
node_allocator_type & | get_node_allocator () |
Get the allocator used by the list. | |
Data Fields | |
_inlist_impl | _impl |
Common implementations for inline list.
typedef Allocator::template rebind<_inlist_node<T> >::other efl::eina::_inlist_common_base< T, Allocator >::node_allocator_type |
Type for the allocator of the node.
typedef Allocator efl::eina::_inlist_common_base< T, Allocator >::allocator_type |
Type for the allocator.
typedef _inlist_node<T> efl::eina::_inlist_common_base< T, Allocator >::node_type |
Type for the list node.
typedef Eina_Inlist* efl::eina::_inlist_common_base< T, Allocator >::native_handle_type |
Native type.
|
inline |
Creates a list with the given allocator.
allocator | Allocator object. |
|
inline |
Wraps the native object.
inlist | The native inlist object (Eina_Inlist*). |
|
inline |
Destructor.
Deallocate all nodes of the list.
References efl::eina::_inlist_common_base< T, Allocator >::clear().