Elm  2
ELM is a library providing generic data structures, OS-independent interface, plugins and XML.
SLNode Class Reference

#include <>>

Public Member Functions

 SLNode (void)
 
SLNodenext (void) const
 
void insertAfter (SLNode *node)
 
void removeNext (void)
 

Detailed Description

Single link node for SLList. It represents the nodes of the SLList implementation. It is usually extended for getting real user nodes.

Constructor & Destructor Documentation

◆ SLNode()

SLNode ( void  )
inline

Build a simple not-linked node.

Member Function Documentation

◆ insertAfter()

void insertAfter ( SLNode node)
inline

Insert a node after the current one.

Parameters
nodeNode to insert after.

Referenced by SLList::addLast().

◆ next()

SLNode * next ( void  ) const
inline

Get the following next node.

Returns
Next node.

Referenced by SLList::count(), SLList::last(), SLList::removeFirst(), and SLList::removeLast().

◆ removeNext()

void removeNext ( void  )
inline

Remove the next node if any.

Warning
It is an error to call this method if there is no next node.

Referenced by SLList::removeLast().


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