VLC 4.0.0-dev
|
Public type-safe wrapper around const vlc_list, providing const iterator and iteration functions. More...
#include <vlc_list.hpp>
Public Types | |
using | iterator = ::vlc::list_const_iterator< NodeType > |
using | const_iterator = ::vlc::list_const_iterator< NodeType > |
using | list_type = list_base< NodeType, const vlc_list, list_const_iterator< NodeType >, list_const_iterator< NodeType > > |
using | reverse_iterator = std::conditional_t< is_reverse, list_reverse_iterator< NodeType, const vlc_list >, list_iterator_base< NodeType, const vlc_list > > |
using | const_reverse_iterator = std::conditional_t< is_reverse, list_reverse_iterator< NodeType, const const vlc_list >, list_iterator_base< NodeType, const const vlc_list > > |
using | reverse_list = list_base< NodeType, const vlc_list, reverse_iterator, const_reverse_iterator > |
Public Member Functions | |
const_list (const vlc_list &l, vlc_list NodeType::*node_ptr) | |
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 | |
const vlc_list & | _list |
vlc_list NodeType::* | _node_ptr |
Static Protected Attributes | |
static bool constexpr | is_reverse |
Public type-safe wrapper around const vlc_list, providing const iterator and iteration functions.
It is advised to use ::vlc::list::from() to get the correct wrapper directly in an inferenced way.
NodeType | the type of each node from the list |
using vlc::const_list< NodeType >::const_iterator = ::vlc::list_const_iterator<NodeType> |
|
inherited |
using vlc::const_list< NodeType >::iterator = ::vlc::list_const_iterator<NodeType> |
|
inherited |
|
inherited |
|
inherited |
|
inline |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
protectedinherited |
|
protectedinherited |
|
staticconstexprprotectedinherited |