Aleph-w  1.9
General library for algorithms and data structures
Aleph::GenLhashTable< Key, BucketType, Cmp >::Iterator Class Reference

#include <tpl_lhash.H>

Public Types

using Set_Type = GenLhashTable
 El tipo de conjunto sobre el cual se itera.
 
using Item_Type = Bucket *
 El tipo de elemento que retorna get_curr().
 

Public Member Functions

 Iterator (const GenLhashTable &table) noexcept
 Instancia un iterador sobre la tabla hash table.
 
 Iterator () noexcept
 Instancia un iterador vacío.
 
void reset_first () noexcept
 Reinicia el iterador sobre la primera cubeta.
 
void reset_last () noexcept
 Reinicia el iterador sobre la última cubeta.
 
void end () noexcept
 
bool has_curr () const noexcept
 Retorna true si el iterador tiene cubeta actual.
 
Bucket * get_curr_ne () noexcept
 
Bucket * get_curr ()
 Retorna la cubeta actual.
 
long get_pos () const noexcept
 
void next_ne () noexcept
 Avanza el iterador una cubeta.
 
void next ()
 
void prev_ne () noexcept
 Retrocede el iterador una cubeta.
 
void prev ()
 
Bucket * del ()
 

Detailed Description

template<typename Key, class BucketType, class Cmp>
class Aleph::GenLhashTable< Key, BucketType, Cmp >::Iterator

Iterador sobre una tabla hash GenLhasTable.

Note
La secuencia de observación arrojada por el iterador no es ordenada.

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

Leandro Rabindranath León