|
| DynSlist () |
| Constructor.
|
|
T & | operator[] (const size_t &i) throw (std::exception, std::out_of_range) |
|
size_t | size () const |
| Retorna la cantidad de elementos que tiene la lista.
|
|
void | insert (const int &pos, const T &data) throw (std::exception, std::bad_alloc, std::out_of_range) |
|
void | remove (const int &pos) throw (std::exception, std::range_error) |
|
| ~DynSlist () |
| Destructor.
|
|
| Slist () |
| Constructor vacío.
|
|
void | insert_first (Node *node) |
|
Node * | remove_first () throw (std::exception, std::underflow_error) |
|
Node * | get_first () Exception_Prototypes(std |
| Retorna el primer nodo de la lista.
|
|
void | insert_first (Node *node) |
|
Node * | remove_first () throw (std::exception, std::underflow_error) |
|
Node * | get_first () throw (std::exception, std::underflow_error) |
|
| MetaSlistNode (const T &_data) |
|
MetaSlistNode * | get_next () |
|
MetaSlistNode * | remove_next () |
|
| Slist_Node (const T &_data) |
|
T & | get_data () |
| Retorna una referencia al dato contenido en el nodo.
|
|
| Snode () |
| Constructor vacío.
|
|
| Snode (const T &_data) |
| Constructor que copia dato.
|
|
| Snode (const T &&_data) |
|
Snode * | remove_next () |
|
Snode *& | get_next () |
| Retorna el nodo siguiente a this.
|
|
Snode * | remove_first () |
|
Snode *& | get_first () const |
| Retorna el nodo siguiente a this.
|
|
| 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 () |
|
template<typename T>
class Aleph::DynSlist< T >
Lista dinámica de elementos de tipo T instrumentada mediante una lista simplemente enlazada.
- Parámetros
-
T | el tipo de dato de los elementos de la lista. |
- Ver también
- Slist Snode Slink