SoftFilters  0.1.0
Arduino framework and library of software data filters.
LinkedList< VAL_T > Class Template Reference

Public Types

typedef NodeIterator< VAL_T > iterator
 

Public Member Functions

void append (VAL_T const &v)
 Append an element. More...
 
bool isEmpty ()
 Tell whether the linked list is empty.
 
NodeIterator< VAL_T > begin ()
 An iterator pointing at the beginning of the linked list. More...
 
NodeIterator< VAL_T > end ()
 An iterator pointing at the end of the linked list. More...
 
NodeIterator< VAL_T > last ()
 An iterator pointing at the last node.
 

Private Attributes

LinkedListNode< VAL_T > * head
 
LinkedListNode< VAL_T > ** tail
 
LinkedListNode< VAL_T > * last_ptr
 

Member Function Documentation

◆ append()

template<typename VAL_T>
void LinkedList< VAL_T >::append ( VAL_T const &  v)
inline

Append an element.

The value of the argument is copied.

◆ begin()

template<typename VAL_T>
NodeIterator<VAL_T> LinkedList< VAL_T >::begin ( )
inline

An iterator pointing at the beginning of the linked list.

Essentially pointing at the first node.

◆ end()

template<typename VAL_T>
NodeIterator<VAL_T> LinkedList< VAL_T >::end ( )
inline

An iterator pointing at the end of the linked list.

Essentially pointing at NULL.


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