#include <htlist.H>
Inheritance diagram for Aleph::Snodenc< T >:
Collaboration diagram for Aleph::Snodenc< T >:Public Member Functions | |
| T & | get_data () noexcept |
| const T & | get_data () const noexcept |
| Snodenc (const T &item) noexcept(noexcept(T(item))) | |
| Snodenc (T &&item) noexcept(noexcept(std::swap(data, item))) | |
| Snodenc * | remove_next () noexcept |
| Snodenc *& | get_next () noexcept |
| Snodenc * | remove_first () noexcept |
| Snodenc *& | get_first () const noexcept |
| bool | is_empty () const noexcept |
Return true if this is empty. | |
| void | reset () noexcept |
| void | insert (Slinknc *p) noexcept |
Insert p after this More... | |
| template<typename T > | |
| Snodenc< T > * | to_snodenc () noexcept |
| template<typename T > | |
| const Snodenc< T > * | to_snodenc () const noexcept |
| template<typename T > | |
| T & | to_data () noexcept |
| template<typename T > | |
| const T & | to_data () const noexcept |
Node belonging to a single non-circular linked list without header node.
|
inlinenoexcept |
Construct with copy of item
|
inlinenoexcept |
Costruct by moving item
|
inlinenoexcept |
Return a modifiable reference to the data
Here is the caller graph for this function:
|
inlinenoexcept |
Return a constant reference to the data
|
inlinenoexcept |
Return the node following to this.
In the case where this is a pointer to the first node, returns the first node.
Here is the call graph for this function:
|
inlinenoexcept |
Return the node following to this
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinenoexceptinherited |
Insert p after this
insert(p) inserts the node pointed by p after this.
| [in] | p | pointer to link (or node) |
Here is the caller graph for this function:
|
inlinenoexcept |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
Here is the call graph for this function:
|
inlinenoexcept |
Remove the node following to this.
remove_next()removes the node linked after this and returns its address.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinenoexceptinherited |
Reset the link to nullptr
Here is the caller graph for this function:
|
inlinenoexceptinherited |
Convert this to a `Snodenc<T>.
this is not a valid pointer