Arduino Helpers master
Utility library for Arduino
Protected Member Functions | Protected Attributes | List of all members
DoublyLinkable< Node > Class Template Reference

#include <AH/Containers/LinkedList.hpp>

Detailed Description

template<class Node>
class DoublyLinkable< Node >

A class that can be inherited from to allow inserting into a DoublyLinkedList.

Template Parameters
NodeThe type of the nodes of the list.

Definition at line 317 of file LinkedList.hpp.

+ Collaboration diagram for DoublyLinkable< Node >:

Protected Member Functions

virtual ~DoublyLinkable ()=default
 
 DoublyLinkable ()=default
 
 DoublyLinkable (const DoublyLinkable &)
 
DoublyLinkableoperator= (const DoublyLinkable &)
 
 DoublyLinkable (DoublyLinkable &&)
 
DoublyLinkableoperator= (DoublyLinkable &&)
 

Protected Attributes

Node * next = nullptr
 
Node * previous = nullptr
 

Constructor & Destructor Documentation

◆ ~DoublyLinkable()

virtual ~DoublyLinkable ( )
protectedvirtualdefault

◆ DoublyLinkable() [1/3]

DoublyLinkable ( )
protecteddefault

◆ DoublyLinkable() [2/3]

DoublyLinkable ( const DoublyLinkable< Node > &  )
inlineprotected

Definition at line 325 of file LinkedList.hpp.

◆ DoublyLinkable() [3/3]

DoublyLinkable ( DoublyLinkable< Node > &&  )
inlineprotected

Definition at line 332 of file LinkedList.hpp.

Member Function Documentation

◆ operator=() [1/2]

DoublyLinkable & operator= ( const DoublyLinkable< Node > &  )
inlineprotected

Definition at line 328 of file LinkedList.hpp.

◆ operator=() [2/2]

DoublyLinkable & operator= ( DoublyLinkable< Node > &&  )
inlineprotected

Definition at line 335 of file LinkedList.hpp.

Member Data Documentation

◆ next

Node* next = nullptr
protected

Definition at line 320 of file LinkedList.hpp.

◆ previous

Node* previous = nullptr
protected

Definition at line 321 of file LinkedList.hpp.


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