11#ifndef _EMBEDDED_LIST_H
12#define _EMBEDDED_LIST_H
37template <
class TYPE >
class embedded_list;
51template <
class TYPE >
63 std::size_t count_up=0;
64 for(TYPE* walker=
m_first; walker!=
nullptr && count_up<=
m_size ; walker=walker->m_next)
69 std::size_t count_down=0;
70 for(TYPE* walker=
m_last; walker!=
nullptr && count_down<=
m_size ; walker=walker->m_prev)
80 for(TYPE* walker=
m_first; walker!=
nullptr; walker=walker->m_next)
172 if (e.m_next==
nullptr)
179 assert(e.m_next->m_prev!=
nullptr);
180 e.m_next->m_prev = e.m_prev;
183 if (e.m_prev==
nullptr)
190 assert(e.m_prev->m_next!=
nullptr);
191 e.m_prev->m_next = e.m_next;
285 return !(*
this==other);
bool operator==(const iterator &other) const
bool operator!=(const iterator &other) const
embedded_list(const embedded_list &other)=default
embedded_list & operator=(const embedded_list &other)=default
bool check_this_embedded_list() const
void append(embedded_list &l)
bool check_presence(const TYPE &e) const
A class that takes a linear process specification and checks all tau-summands of that LPS for conflue...