CommonLibSSE (Parapets fork)
Loading...
Searching...
No Matches
RE::GList< T > Class Template Reference

#include <GList.h>

Classes

class  iterator_base
 
struct  iterator_traits
 

Public Types

using value_type = T
 
using size_type = std::size_t
 
using difference_type = std::ptrdiff_t
 
using reference = value_type &
 
using const_reference = const value_type &
 
using pointer = value_type *
 
using const_pointer = typename std::pointer_traits< pointer >::template rebind< const value_type >
 
using iterator = iterator_base< T >
 
using const_iterator = iterator_base< const T >
 
using reverse_iterator = std::reverse_iterator< iterator >
 
using const_reverse_iterator = std::reverse_iterator< const_iterator >
 

Public Member Functions

 GList ()
 
reference front ()
 
const_reference front () const
 
reference back ()
 
const_reference back () const
 
iterator begin () noexcept
 
const_iterator begin () const noexcept
 
const_iterator cbegin () const noexcept
 
iterator end () noexcept
 
const_iterator end () const noexcept
 
const_iterator cend () const noexcept
 
reverse_iterator rbegin () noexcept
 
const_reverse_iterator rbegin () const noexcept
 
const_reverse_iterator crbegin () const noexcept
 
reverse_iterator rend () noexcept
 
const_reverse_iterator rend () const noexcept
 
const_reverse_iterator crend () const noexcept
 
bool empty () const noexcept
 
size_type size () const noexcept
 
void clear () noexcept
 
iterator insert (const_iterator a_pos, const T &a_value)
 
iterator erase (const_iterator a_pos)
 
iterator erase (const_iterator a_first, const_iterator a_last)
 
void push_back (const T &a_value)
 
void pop_back ()
 
void push_front (const T &a_value)
 
void pop_front ()
 
void merge (GList &a_other)
 

Protected Attributes

GListNode< value_type_root
 

Member Typedef Documentation

◆ const_iterator

template<class T >
using RE::GList< T >::const_iterator = iterator_base<const T>

◆ const_pointer

template<class T >
using RE::GList< T >::const_pointer = typename std::pointer_traits<pointer>::template rebind<const value_type>

◆ const_reference

template<class T >
using RE::GList< T >::const_reference = const value_type&

◆ const_reverse_iterator

template<class T >
using RE::GList< T >::const_reverse_iterator = std::reverse_iterator<const_iterator>

◆ difference_type

template<class T >
using RE::GList< T >::difference_type = std::ptrdiff_t

◆ iterator

template<class T >
using RE::GList< T >::iterator = iterator_base<T>

◆ pointer

template<class T >
using RE::GList< T >::pointer = value_type*

◆ reference

template<class T >
using RE::GList< T >::reference = value_type&

◆ reverse_iterator

template<class T >
using RE::GList< T >::reverse_iterator = std::reverse_iterator<iterator>

◆ size_type

template<class T >
using RE::GList< T >::size_type = std::size_t

◆ value_type

template<class T >
using RE::GList< T >::value_type = T

Constructor & Destructor Documentation

◆ GList()

template<class T >
RE::GList< T >::GList ( )
inline

Member Function Documentation

◆ back() [1/2]

template<class T >
reference RE::GList< T >::back ( )
inline

◆ back() [2/2]

template<class T >
const_reference RE::GList< T >::back ( ) const
inline

◆ begin() [1/2]

template<class T >
const_iterator RE::GList< T >::begin ( ) const
inlinenoexcept

◆ begin() [2/2]

template<class T >
iterator RE::GList< T >::begin ( )
inlinenoexcept

◆ cbegin()

template<class T >
const_iterator RE::GList< T >::cbegin ( ) const
inlinenoexcept

◆ cend()

template<class T >
const_iterator RE::GList< T >::cend ( ) const
inlinenoexcept

◆ clear()

template<class T >
void RE::GList< T >::clear ( )
inlinenoexcept

◆ crbegin()

template<class T >
const_reverse_iterator RE::GList< T >::crbegin ( ) const
inlinenoexcept

◆ crend()

template<class T >
const_reverse_iterator RE::GList< T >::crend ( ) const
inlinenoexcept

◆ empty()

template<class T >
bool RE::GList< T >::empty ( ) const
inlinenoexcept

◆ end() [1/2]

template<class T >
const_iterator RE::GList< T >::end ( ) const
inlinenoexcept

◆ end() [2/2]

template<class T >
iterator RE::GList< T >::end ( )
inlinenoexcept

◆ erase() [1/2]

template<class T >
iterator RE::GList< T >::erase ( const_iterator  a_first,
const_iterator  a_last 
)
inline

◆ erase() [2/2]

template<class T >
iterator RE::GList< T >::erase ( const_iterator  a_pos)
inline

◆ front() [1/2]

template<class T >
reference RE::GList< T >::front ( )
inline

◆ front() [2/2]

template<class T >
const_reference RE::GList< T >::front ( ) const
inline

◆ insert()

template<class T >
iterator RE::GList< T >::insert ( const_iterator  a_pos,
const T &  a_value 
)
inline

◆ merge()

template<class T >
void RE::GList< T >::merge ( GList< T > &  a_other)
inline

◆ pop_back()

template<class T >
void RE::GList< T >::pop_back ( )
inline

◆ pop_front()

template<class T >
void RE::GList< T >::pop_front ( )
inline

◆ push_back()

template<class T >
void RE::GList< T >::push_back ( const T &  a_value)
inline

◆ push_front()

template<class T >
void RE::GList< T >::push_front ( const T &  a_value)
inline

◆ rbegin() [1/2]

template<class T >
const_reverse_iterator RE::GList< T >::rbegin ( ) const
inlinenoexcept

◆ rbegin() [2/2]

template<class T >
reverse_iterator RE::GList< T >::rbegin ( )
inlinenoexcept

◆ rend() [1/2]

template<class T >
const_reverse_iterator RE::GList< T >::rend ( ) const
inlinenoexcept

◆ rend() [2/2]

template<class T >
reverse_iterator RE::GList< T >::rend ( )
inlinenoexcept

◆ size()

template<class T >
size_type RE::GList< T >::size ( ) const
inlinenoexcept

Member Data Documentation

◆ _root

template<class T >
GListNode<value_type> RE::GList< T >::_root
protected

The documentation for this class was generated from the following file: