VLC 4.0.0-dev
|
Public type-safe wrapper around mutable vlc_list, providing iterators, iteration functions and mutation on the list itself. More...
#include <vlc_list.hpp>
Public Types | |
using | iterator = ::vlc::list_iterator< NodeType > |
using | const_iterator = ::vlc::list_const_iterator< NodeType > |
using | list_type = list_base< NodeType, vlc_list, list_iterator< NodeType >, list_const_iterator< NodeType > > |
using | reverse_iterator = std::conditional_t< is_reverse, list_reverse_iterator< NodeType, vlc_list >, list_iterator_base< NodeType, vlc_list > > |
using | const_reverse_iterator = std::conditional_t< is_reverse, list_reverse_iterator< NodeType, const vlc_list >, list_iterator_base< NodeType, const vlc_list > > |
using | reverse_list = list_base< NodeType, vlc_list, reverse_iterator, const_reverse_iterator > |
Public Member Functions | |
list (vlc_list &l, vlc_list NodeType::*node_ptr) | |
Construct a vlc::list from an existing vlc_list. | |
template<typename IteratorType > | |
IteratorType | erase (IteratorType it) |
void | push_front (NodeType &item) |
void | push_back (NodeType &item) |
reverse_list | as_reverse () |
iterator | begin () const |
iterator | end () const |
const_iterator | cbegin () const |
const_iterator | cend () const |
reverse_iterator | rbegin () |
reverse_iterator | rend () |
const_reverse_iterator | crbegin () const |
const_reverse_iterator | crend () const |
bool | empty () const |
Protected Attributes | |
vlc_list & | _list |
vlc_list NodeType::* | _node_ptr |
Static Protected Attributes | |
static bool constexpr | is_reverse |
Public type-safe wrapper around mutable vlc_list, providing iterators, iteration functions and mutation on the list itself.
NodeType | the type of each node from the list |
using vlc::list< NodeType >::const_iterator = ::vlc::list_const_iterator<NodeType> |
|
inherited |
using vlc::list< NodeType >::iterator = ::vlc::list_iterator<NodeType> |
|
inherited |
|
inherited |
|
inherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inline |
References vlc_list_remove().
|
inline |
|
inline |
|
inlineinherited |
|
inlineinherited |
|
protectedinherited |
|
protectedinherited |
|
staticconstexprprotectedinherited |