Zth (libzth)
zth::Listable< ChildClass > Class Template Reference

#include <list.h>

Public Types

typedef ChildClass type
 

Public Member Functions

constexpr Listable () noexcept
 
constexpr Listable (Listable const &e) noexcept
 
Listableoperator= (Listable const &rhs) noexcept
 
 Listable (Listable &&l) noexcept
 
Listableoperator= (Listable &&l) noexcept
 
typelistNext () const noexcept
 
typelistPrev () const noexcept
 

Friends

class List< type >
 
template<typename T_ , typename Compare >
class SortedList
 

Detailed Description

template<typename ChildClass>
class zth::Listable< ChildClass >

Definition at line 29 of file list.h.

Member Typedef Documentation

◆ type

template<typename ChildClass >
typedef ChildClass zth::Listable< ChildClass >::type

Definition at line 31 of file list.h.

Constructor & Destructor Documentation

◆ Listable() [1/3]

template<typename ChildClass >
constexpr zth::Listable< ChildClass >::Listable ( )
inlineconstexprnoexcept

Definition at line 33 of file list.h.

◆ Listable() [2/3]

template<typename ChildClass >
constexpr zth::Listable< ChildClass >::Listable ( Listable< ChildClass > const &  e)
inlineconstexprnoexcept

Definition at line 39 of file list.h.

◆ Listable() [3/3]

template<typename ChildClass >
zth::Listable< ChildClass >::Listable ( Listable< ChildClass > &&  l)
inlinenoexcept

Definition at line 53 of file list.h.

Member Function Documentation

◆ listNext()

template<typename ChildClass >
type* zth::Listable< ChildClass >::listNext ( ) const
inlinenoexcept

Definition at line 69 of file list.h.

◆ listPrev()

template<typename ChildClass >
type* zth::Listable< ChildClass >::listPrev ( ) const
inlinenoexcept

Definition at line 74 of file list.h.

◆ operator=() [1/2]

template<typename ChildClass >
Listable& zth::Listable< ChildClass >::operator= ( Listable< ChildClass > &&  l)
inlinenoexcept

Definition at line 58 of file list.h.

◆ operator=() [2/2]

template<typename ChildClass >
Listable& zth::Listable< ChildClass >::operator= ( Listable< ChildClass > const &  rhs)
inlinenoexcept

Definition at line 45 of file list.h.

Friends And Related Function Documentation

◆ List< type >

template<typename ChildClass >
friend class List< type >
friend

Definition at line 89 of file list.h.

◆ SortedList

template<typename ChildClass >
template<typename T_ , typename Compare >
friend class SortedList
friend

Definition at line 93 of file list.h.

Member Data Documentation

◆ left

template<typename ChildClass >
Listable* zth::Listable< ChildClass >::left

Definition at line 83 of file list.h.

◆ next

template<typename ChildClass >
Listable* zth::Listable< ChildClass >::next

Definition at line 86 of file list.h.

◆ prev

template<typename ChildClass >
Listable* zth::Listable< ChildClass >::prev

Definition at line 82 of file list.h.

◆ right

template<typename ChildClass >
Listable* zth::Listable< ChildClass >::right

Definition at line 87 of file list.h.


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