Elm  1.0
ELM is a library providing generic data structures, OS-independent interface, plugins and XML.
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
elm::inhstruct::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 usally extended for getting real user nodes.

Constructor & Destructor Documentation

elm::inhstruct::SLNode::SLNode ( void  )

Build a simple not-linked node.

Member Function Documentation

void elm::inhstruct::SLNode::insertAfter ( SLNode node)

Insert a node after the current one.

Parameters
nodeNode to insert after.

Referenced by elm::inhstruct::SLList::addLast().

SLNode * elm::inhstruct::SLNode::next ( void  ) const
void elm::inhstruct::SLNode::removeNext ( void  )

Remove the next node if any.

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

Referenced by elm::inhstruct::SLList::removeLast().


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