#include <slink.H>
Inheritance diagram for Aleph::Slink:
Collaboration diagram for Aleph::Slink:Public Member Functions | |
| Slink () | |
| Constructor vacÃo. | |
| void | reset () |
| Reinicia enlace a que apunte a sà mismo. | |
| bool | is_empty () const |
| Retorna true si this está vacÃo (apunta a sà mismo) | |
| Slink *& | get_next () |
| Retorna el siguiente enlace. | |
| void | insert_next (Slink *p) |
| Slink * | remove_next () |
Protected Attributes | |
| Slink * | next |
Enlace simple a lista de nodos.
Slink modeliza un puntero a un nodo dentro de una lista simplemente enlazada.
|
inline |
Inserta en enlace p después de this.
insert_next(p) inserta un nodo simple cuyo enlace es p después del nodo cuyo enlace es this.
| [in] | p | el enlace simple a insertar. |
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Elimina el enlace siguiente a this.
remove_next() elimina el nodo simple situado después del nodo cuyo enlace es this y retorna la dirección del enlace eliminado.
Here is the call graph for this function:
Here is the caller graph for this function: