![]()  | 
  
    PUMA Library Reference Manual
    
   | 
 
#include <Puma/Chain.h>
 Inheritance diagram for Puma::Chain:Simple single-linked chain implementation.
A chain consists of elements each linked to its direct follower element.
Public Member Functions | |
| Chain () | |
| Construct a single chain element.   | |
| void | select (Chain *element) | 
| Select an element as the next element.   | |
| Chain * | select () const | 
| Get the next element.   | |
| Chain * | unlink () | 
| Unlink the next element from the chain.   | |
| void | insert (Chain *element) | 
| Insert an element in the chain as the next element.   | |
      
  | 
  inline | 
Construct a single chain element.
      
  | 
  inline | 
Insert an element in the chain as the next element.
| element | The element to insert. | 
      
  | 
  inline | 
Get the next element.
      
  | 
  inline | 
Select an element as the next element.
| element | The next element. | 
      
  | 
  inline | 
Unlink the next element from the chain.