12#ifndef ROC_CORE_LIST_IMPL_H_
13#define ROC_CORE_LIST_IMPL_H_
25class ListImpl :
public NonCopyable<> {
64 static void check_is_member_(
const ListData*
node,
const ListImpl* list);
ListData * nextof(ListData *node) const
Get list node next to given one.
ListData * pop_back()
Remove last node and return.
ListData * head()
Get list head (non-node node).
ListData * back() const
Get last list node.
void remove(ListData *node)
Remove node from list.
ListData * front() const
Get first list node.
void insert(ListData *node, ListData *before)
Insert node into list.
bool contains(const ListData *node) const
Check if node belongs to list.
ListData * prevof(ListData *node) const
Get list node previous to given one.
ListData * pop_front()
Remove first node and return.
size_t size() const
Get number of nodes in list.
General-purpose building blocks and platform abstraction layer.
High-level sender and receiver nodes.
Commonly used types and functions.