Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
Loading...
Searching...
No Matches
Aleph::Snode_Nc< T > Class Template Reference

#include <tpl_snode_nc.H>

Inheritance diagram for Aleph::Snode_Nc< T >:
[legend]
Collaboration diagram for Aleph::Snode_Nc< T >:
[legend]

Classes

class  Iterator
 

Public Member Functions

 Snode_Nc ()
 Constructor vacío.
 
 Snode_Nc (const T &_data)
 Constructor que copia dato.
 
 ~Snode_Nc ()
 
Tget_data ()
 Retorna una referencia al dato contenido en el nodo.
 
Snode_Ncremove_next ()
 Elimina el nodo siguiente a this.
 
Snode_Nc *& get_next ()
 Retorna el nodo siguiente a this.
 

Private Attributes

T data
 

Additional Inherited Members

Detailed Description

template<typename T>
class Aleph::Snode_Nc< T >

Definition at line 46 of file tpl_snode_nc.H.

Constructor & Destructor Documentation

◆ Snode_Nc() [1/2]

template<typename T >
Aleph::Snode_Nc< T >::Snode_Nc ( )
inline

Constructor vacío.

Definition at line 52 of file tpl_snode_nc.H.

◆ Snode_Nc() [2/2]

template<typename T >
Aleph::Snode_Nc< T >::Snode_Nc ( const T _data)
inline

Constructor que copia dato.

Definition at line 55 of file tpl_snode_nc.H.

◆ ~Snode_Nc()

template<typename T >
Aleph::Snode_Nc< T >::~Snode_Nc ( )
inline

Definition at line 57 of file tpl_snode_nc.H.

Member Function Documentation

◆ get_data()

template<typename T >
T & Aleph::Snode_Nc< T >::get_data ( )
inline

◆ get_next()

template<typename T >
Snode_Nc *& Aleph::Snode_Nc< T >::get_next ( )
inline

Retorna el nodo siguiente a this.

Definition at line 75 of file tpl_snode_nc.H.

References Aleph::Slink_Nc::get_next().

Referenced by Aleph::Dyn_Slist_Nc< T >::get_first().

◆ remove_next()

template<typename T >
Snode_Nc * Aleph::Snode_Nc< T >::remove_next ( )
inline

Elimina el nodo siguiente a this.

remove_next() elimina el nodo enlazado después de this y retorna su dirección de memoria.

Returns
el nodo eliminado.

Definition at line 69 of file tpl_snode_nc.H.

References Aleph::Slink_Nc::remove_next().

Referenced by Aleph::Dyn_Slist_Nc< T >::empty(), and Aleph::Dyn_Slist_Nc< T >::remove_first().

Member Data Documentation

◆ data


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