atlas  0.6
Public Member Functions | Private Types | List of all members
atlas::containers::mirrored_sl_list< T, Alloc > Class Template Reference

#include <sl_list.h>

Inheritance diagram for atlas::containers::mirrored_sl_list< T, Alloc >:
Inheritance graph
[legend]
Collaboration diagram for atlas::containers::mirrored_sl_list< T, Alloc >:
Collaboration graph
[legend]

Public Member Functions

 mirrored_sl_list ()
 
 mirrored_sl_list (const Alloc &a)
 
 mirrored_sl_list (Alloc &&a)
 
 mirrored_sl_list (const Base &x)
 
 mirrored_sl_list (Base &&x)
 
 mirrored_sl_list (sl_node< T, Alloc > *raw_list)
 
template<typename InputIt , typename = typename std::enable_if< std::is_base_of<std::input_iterator_tag, typename std::iterator_traits<InputIt>::iterator_category >::value>::type>
 mirrored_sl_list (InputIt first, InputIt last, const alloc_type &a=alloc_type())
 
 mirrored_sl_list (typename Base::size_type n, const T &x, const alloc_type &a=alloc_type())
 
template<typename... Args>
void push_back (Args &&...args)
 
template<typename... Args>
void pop_back (Args &&...args)
 
template<typename... Args>
void emplace_back (Args &&...args)
 
template<typename... Args>
const T & back (Args &&...args) const
 
template<typename... Args>
T & back (Args &&...args)
 
template<typename... Args>
Base::iterator push_front (Args &&...args)
 
template<typename... Args>
Base::iterator emplace_front (Args &&...args)
 
- Public Member Functions inherited from atlas::containers::sl_list< T, Alloc >
 sl_list ()
 
 sl_list (const alloc_type &a)
 
 sl_list (alloc_type &&a)
 
 sl_list (const sl_list &x)
 
 sl_list (sl_list &&x)
 
 sl_list (simple_list< T, Alloc > &&x)
 
template<typename InputIt , typename = typename std::enable_if< std::is_base_of<std::input_iterator_tag, typename std::iterator_traits<InputIt>::iterator_category >::value>::type>
 sl_list (InputIt first, InputIt last, const alloc_type &a=alloc_type())
 
 sl_list (size_type n, const alloc_type &a=alloc_type())
 
 sl_list (size_type n, const T &x, const alloc_type &a=alloc_type())
 
 sl_list (std::initializer_list< T > l, const alloc_type &a=alloc_type())
 
 ~sl_list ()
 
sl_listoperator= (const sl_list &x)
 
sl_listoperator= (sl_list &&x)
 
void swap (sl_list &other)
 
const alloc_typeget_node_allocator () const
 
alloc_typenode_allocator ()
 
iterator begin ()
 
iterator end ()
 
weak_iterator wbegin ()
 
weak_iterator wend ()
 
T & front ()
 
void pop_front ()
 
void push_front (const T &val)
 
void push_front (T &&val)
 
template<typename... Args>
void emplace_front (Args &&...args)
 
iterator push_back (const T &val)
 
iterator push_back (T &&val)
 
template<typename... Args>
iterator emplace_back (Args &&...args)
 
bool empty () const
 
bool singleton () const
 
size_type size () const
 
iterator insert (const_iterator pos, const T &val)
 
iterator insert (const_iterator pos, T &&val)
 
iterator insert (const_iterator pos, size_type n, const T &val)
 
template<typename InputIt , typename = typename std::enable_if< std::is_base_of<std::input_iterator_tag, typename std::iterator_traits<InputIt>::iterator_category >::value>::type>
iterator insert (const_iterator pos, InputIt first, InputIt last)
 
template<typename InputIt >
void move_insert (const_iterator pos, InputIt first, InputIt last)
 
iterator erase (const_iterator pos)
 
iterator erase (const_iterator first, const_iterator last)
 
void append (sl_list &&other)
 
iterator splice (const_iterator pos, sl_list &&other)
 
void clear ()
 
void assign (size_type n, const T &x)
 
template<typename InputIt , typename = typename std::enable_if< std::is_base_of<std::input_iterator_tag, typename std::iterator_traits<InputIt>::iterator_category >::value>::type>
void assign (InputIt first, InputIt last)
 
template<typename InputIt >
void move_assign (InputIt first, InputIt last)
 
void reverse ()
 
void reverse (const_iterator from, const_iterator to)
 
simple_list< T, Alloc > undress ()
 
const T & front () const
 
const_iterator begin () const
 
const_iterator end () const
 
const_iterator cbegin () const
 
const_iterator cend () const
 
weak_const_iterator wbegin () const
 
weak_const_iterator wcbegin () const
 
weak_const_iterator wend () const
 
weak_const_iterator wcend () const
 

Private Types

typedef sl_list< T, Alloc > Base
 
typedef sl_node< T, Alloc > node_type
 
typedef Alloc::template rebind< node_type >::other alloc_type
 

Additional Inherited Members

- Public Types inherited from atlas::containers::sl_list< T, Alloc >
typedef T value_type
 
typedef std::size_t size_type
 
typedef std::ptrdiff_t difference_type
 
typedef value_typereference
 
typedef const value_typeconst_reference
 
typedef value_typepointer
 
typedef const value_typeconst_pointer
 
typedef sl_list_const_iterator< T, Alloc > const_iterator
 
typedef sl_list_iterator< T, Alloc > iterator
 
typedef weak_sl_list_const_iterator< T, Alloc > weak_const_iterator
 
typedef weak_sl_list_iterator< T, Alloc > weak_iterator
 
- Static Public Member Functions inherited from atlas::containers::sl_list< T, Alloc >
static bool at_end (const_iterator p)
 
static bool at_end (weak_const_iterator p)
 

Member Typedef Documentation

template<typename T, typename Alloc = std::allocator<T>>
typedef Alloc::template rebind<node_type>::other atlas::containers::mirrored_sl_list< T, Alloc >::alloc_type
private
template<typename T, typename Alloc = std::allocator<T>>
typedef sl_list<T,Alloc> atlas::containers::mirrored_sl_list< T, Alloc >::Base
private
template<typename T, typename Alloc = std::allocator<T>>
typedef sl_node<T, Alloc> atlas::containers::mirrored_sl_list< T, Alloc >::node_type
private

Constructor & Destructor Documentation

template<typename T, typename Alloc = std::allocator<T>>
atlas::containers::mirrored_sl_list< T, Alloc >::mirrored_sl_list ( )
inline
template<typename T, typename Alloc = std::allocator<T>>
atlas::containers::mirrored_sl_list< T, Alloc >::mirrored_sl_list ( const Alloc &  a)
inlineexplicit
template<typename T, typename Alloc = std::allocator<T>>
atlas::containers::mirrored_sl_list< T, Alloc >::mirrored_sl_list ( Alloc &&  a)
inlineexplicit
template<typename T, typename Alloc = std::allocator<T>>
atlas::containers::mirrored_sl_list< T, Alloc >::mirrored_sl_list ( const Base x)
inline
template<typename T, typename Alloc = std::allocator<T>>
atlas::containers::mirrored_sl_list< T, Alloc >::mirrored_sl_list ( Base &&  x)
inline
template<typename T, typename Alloc = std::allocator<T>>
atlas::containers::mirrored_sl_list< T, Alloc >::mirrored_sl_list ( sl_node< T, Alloc > *  raw_list)
inline
template<typename T, typename Alloc = std::allocator<T>>
template<typename InputIt , typename = typename std::enable_if< std::is_base_of<std::input_iterator_tag, typename std::iterator_traits<InputIt>::iterator_category >::value>::type>
atlas::containers::mirrored_sl_list< T, Alloc >::mirrored_sl_list ( InputIt  first,
InputIt  last,
const alloc_type a = alloc_type() 
)
inline
template<typename T, typename Alloc = std::allocator<T>>
atlas::containers::mirrored_sl_list< T, Alloc >::mirrored_sl_list ( typename Base::size_type  n,
const T &  x,
const alloc_type a = alloc_type() 
)
inline

Member Function Documentation

template<typename T, typename Alloc = std::allocator<T>>
template<typename... Args>
const T& atlas::containers::mirrored_sl_list< T, Alloc >::back ( Args &&...  args) const
inline
template<typename T, typename Alloc = std::allocator<T>>
template<typename... Args>
T& atlas::containers::mirrored_sl_list< T, Alloc >::back ( Args &&...  args)
inline
template<typename T, typename Alloc = std::allocator<T>>
template<typename... Args>
void atlas::containers::mirrored_sl_list< T, Alloc >::emplace_back ( Args &&...  args)
inline
template<typename T, typename Alloc = std::allocator<T>>
template<typename... Args>
Base::iterator atlas::containers::mirrored_sl_list< T, Alloc >::emplace_front ( Args &&...  args)
inline
template<typename T, typename Alloc = std::allocator<T>>
template<typename... Args>
void atlas::containers::mirrored_sl_list< T, Alloc >::pop_back ( Args &&...  args)
inline
template<typename T, typename Alloc = std::allocator<T>>
template<typename... Args>
void atlas::containers::mirrored_sl_list< T, Alloc >::push_back ( Args &&...  args)
inline
template<typename T, typename Alloc = std::allocator<T>>
template<typename... Args>
Base::iterator atlas::containers::mirrored_sl_list< T, Alloc >::push_front ( Args &&...  args)
inline

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