6 # include <tpl_snode.H>
52 throw(std::exception, std::underflow_error)
57 throw std::underflow_error (
"list is empty");
64 Exception_Prototypes(std::underflow_error)
69 throw std::underflow_error (
"list is empty");
114 throw(std::exception, std::overflow_error)
119 throw std::overflow_error (
"");
135 throw(std::exception, std::overflow_error)
140 throw std::overflow_error (
"");
Definition: tpl_slist.H:81
Snode * remove_next()
Definition: tpl_snode.H:48
void insert_next(Slink *p)
Definition: slink.H:59
Node * get_first() Exception_Prototypes(std
Retorna el primer nodo de la lista.
Definition: tpl_slist.H:62
bool is_empty() const
Retorna true si this está vacío (apunta a sí mismo)
Definition: slink.H:38
Definition: tpl_snode.H:22
Iterator(Slist &_list)
Definition: tpl_slist.H:101
Snode< T > * Item_Type
El tipo de elemento que retorna get_current().
Definition: tpl_slist.H:93
bool has_current() const
Retorna true si el iterador tiene nodo actual.
Definition: tpl_slist.H:104
void reset_first()
Coloca el iterador en el primer elemento de la lista.
Definition: tpl_slist.H:145
Definition: tpl_slist.H:20
Snode *& get_next()
Retorna el nodo siguiente a this.
Definition: tpl_snode.H:51
void insert_first(Node *node)
Definition: tpl_slist.H:35
Slist()
Constructor vacío.
Definition: tpl_slist.H:27
Node * get_current()
Definition: tpl_slist.H:112
Snode< T > Set_Type
El tipo de conjunto sobre el cual se itera.
Definition: tpl_slist.H:91
Node * remove_first()
Definition: tpl_slist.H:50
void next()
Definition: tpl_slist.H:133