Zth (libzth)
Loading...
Searching...
No Matches
zth::Listable Class Reference

#include <list.h>

Inheritance diagram for zth::Listable:
zth::Fiber zth::TimedWaitable zth::TypedFiber< void > zth::TypedFiber< R > zth::PolledWaiting< PolledMemberWaitingHelper< C > > zth::PolledWaiting< F > zth::SynchronizerBase::AlarmClock zth::TypedFiberN< F, void, Args > zth::TypedFiberN< F, R, Args > zth::PolledMemberWaiting< C >

Public Types

typedef void * user_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
 

Friends

template<typename T >
class List
 
template<typename T , typename Compare >
class SortedList
 

Detailed Description

Definition at line 29 of file list.h.

Member Typedef Documentation

◆ user_type

typedef void* zth::Listable::user_type

Definition at line 31 of file list.h.

Constructor & Destructor Documentation

◆ Listable() [1/3]

constexpr zth::Listable::Listable ( )
inlineconstexprnoexcept

Definition at line 33 of file list.h.

◆ Listable() [2/3]

constexpr zth::Listable::Listable ( Listable const &  e)
inlineconstexprnoexcept

Definition at line 39 of file list.h.

◆ Listable() [3/3]

zth::Listable::Listable ( Listable &&  l)
inlinenoexcept

Definition at line 53 of file list.h.

Member Function Documentation

◆ operator=() [1/2]

Listable & zth::Listable::operator= ( Listable &&  l)
inlinenoexcept

Definition at line 58 of file list.h.

◆ operator=() [2/2]

Listable & zth::Listable::operator= ( Listable const &  rhs)
inlinenoexcept

Definition at line 45 of file list.h.

Friends And Related Symbol Documentation

◆ List

template<typename T >
friend class List
friend

Definition at line 84 of file list.h.

◆ SortedList

template<typename T , typename Compare >
friend class SortedList
friend

Definition at line 86 of file list.h.

Member Data Documentation

◆ left

Listable* zth::Listable::left

Definition at line 72 of file list.h.

◆ level

uint_fast8_t zth::Listable::level

Definition at line 80 of file list.h.

◆ next

Listable* zth::Listable::next

Definition at line 75 of file list.h.

◆ prev

Listable* zth::Listable::prev

Definition at line 71 of file list.h.

◆ right

Listable* zth::Listable::right

Definition at line 76 of file list.h.

◆ user

user_type zth::Listable::user

Definition at line 79 of file list.h.


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