aGrUM  0.16.0
tupleHashFunc.h
Go to the documentation of this file.
1 
30 #ifndef GUM_TUPLE_HASH_FUNC_H
31 #define GUM_TUPLE_HASH_FUNC_H
32 
33 #include <agrum/core/hashFunc.h>
34 #include <tuple>
35 
36 namespace gum {
37 
39  template <>
40  class HashFunc< std::tuple< unsigned int, unsigned int, unsigned int > >
41  : public HashFuncBase<
42  std::tuple< unsigned int, unsigned int, unsigned int > > {
43  public:
49  static Size castToSize(
50  const std::tuple< unsigned int, unsigned int, unsigned int >& key);
51 
53  virtual Size operator()(
54  const std::tuple< unsigned int, unsigned int, unsigned int >& key)
55  const override final;
56  };
57 } // namespace gum
58 
59 #endif
STL namespace.
Copyright 2005-2019 Pierre-Henri WUILLEMIN et Christophe GONZALES (LIP6) {prenom.nom}_at_lip6.fr.
Class template representing hashing function of LpCol.
Definition: hashFunc.h:471
Copyright 2005-2019 Pierre-Henri WUILLEMIN et Christophe GONZALES (LIP6) {prenom.nom}_at_lip6.fr.
Definition: agrum.h:25
All hash functions should inherit from this class.
Definition: hashFunc.h:149
std::size_t Size
In aGrUM, hashed values are unsigned long int.
Definition: types.h:48