aGrUM 2.3.2
a C++ library for (probabilistic) graphical models
hashTable.h File Reference

Class hash tables iterators. More...

#include <cstddef>
#include <iostream>
#include <limits>
#include <string>
#include <utility>
#include <vector>
#include <agrum/agrum.h>
#include <agrum/base/core/hashFunc.h>
#include <agrum/base/core/staticInitializer.h>
#include <initializer_list>
#include <agrum/base/core/hashTable_tpl.h>
Include dependency graph for hashTable.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  gum::HashTableConst
 Parameters specifying the default behavior of the hashtables. More...
class  gum::HashTableBucket< Key, Val >
 A recipient for a pair of key value in a gum::HashTableList. More...
class  gum::HashTableList< Key, Val >
 A chained list used by gum::HashTable. More...
class  gum::HashTable< Key, Val >
 The class for generic Hash Tables. More...
class  gum::HashTableConstIteratorSafe< Key, Val >
 Safe Const Iterators for hashtables. More...
class  HashTableConstIterator< Key, Val >
 Unsafe Const Iterators for hashtables. More...
class  HashTableIterator< Key, Val >
 Unsafe Iterators for hashtables. More...

Namespaces

namespace  gum
 gum is the global namespace for all aGrUM entities

Functions

template<typename Key, typename Val>
std::ostream & gum::operator<< (std::ostream &s, const HashTableList< Key, Val > &list)
 Prints the content of a gum::HashTableList in the stream.
template<typename Key, typename Val>
std::ostream & gum::operator<< (std::ostream &s, const HashTableList< Key *, Val > &list)
 Prints the content of a gum::HashTableList with pointers key in the stream.
template<typename Key, typename Val>
std::ostream & gum::operator<< (std::ostream &s, const HashTable< Key, Val > &table)
 Prints the content of a gum::HashTable in the stream.
template<typename Key, typename Val>
std::ostream & gum::operator<< (std::ostream &s, const HashTable< Key *, Val > &table)
 Prints the content of a gum::HashTable with pointers key in the stream.
HashTableIteratorSafe< Key, Val > & gum::operator++ () noexcept
HashTableIteratorSafe< Key, Val > & gum::operator+= (Size i) noexcept
 Makes the iterator point to i elements further in the hashtable.
HashTableIteratorSafe< Key, Val > gum::operator+ (Size i) const
 Returns a new iterator pointing to i elements further in the hashtable.
bool gum::operator!= (const HashTableIteratorSafe< Key, Val > &from) const noexcept
 Checks whether two iterators are pointing toward different elements.
bool gum::operator== (const HashTableIteratorSafe< Key, Val > &from) const noexcept
 Checks whether two iterators are pointing toward equal elements.
value_type & gum::operator* ()
 Returns the value pointed to by the iterator.

Detailed Description

Class hash tables iterators.

Author
Christophe GONZALES(_at_AMU) and Pierre-Henri WUILLEMIN(_at_LIP6)

Definition in file hashTable.h.