GraphLab: Distributed Graph-Parallel API  2.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
graphlab::hopscotch_table< T, Synchronized, Hash, KeyEqual >::iterator Struct Reference

#include <graphlab/util/hopscotch_table.hpp>

List of all members.

Public Types

typedef std::forward_iterator_tag iterator_category
typedef hopscotch_table::value_type value_type
typedef size_t difference_type
typedef value_type * pointer
typedef value_type & reference

Public Member Functions

 operator const_iterator () const
iterator operator++ ()
iterator operator++ (int)
reference operator* ()
pointer operator-> ()
bool operator== (const iterator it) const
bool operator!= (const iterator iter) const

Public Attributes

hopscotch_tableptr
std::vector< element >::iterator iter

Detailed Description

template<typename T, bool Synchronized = true, typename Hash = _HOPSCOTCH_TABLE_DEFAULT_HASH, typename KeyEqual = std::equal_to<T>>
struct graphlab::hopscotch_table< T, Synchronized, Hash, KeyEqual >::iterator

A const iterator which allows iteration over the hash table entries. Insertions may disrupt the iterator order. Deletions invalidate the iterator.

Definition at line 218 of file hopscotch_table.hpp.


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