Hash function for the tuples used in unordered_maps. More...
#include "wifi-tx-stats-helper.h"
Public Member Functions | |
| template<typename T > | |
| void | hash_combine (size_t &seed, const T &value) const |
| Combines two hash values into one (similar to boost::hash_combine) | |
| template<typename... Args> | |
| size_t | operator() (const std::tuple< Args... > &tuple) const |
| Operator overload for calculating hash of tuple. | |
| template<typename Tuple , size_t Index = 0> | |
| size_t | tuple_hash (const Tuple &tuple) const |
| Hash function for tuples of arbitrary size. | |
Hash function for the tuples used in unordered_maps.
Definition at line 140 of file wifi-tx-stats-helper.h.
|
inline |
Combines two hash values into one (similar to boost::hash_combine)
| seed | the starting hash point |
| value | the value to combine to the hash |
Definition at line 148 of file wifi-tx-stats-helper.h.
References ns3::Create(), and ns3::value().
Referenced by tuple_hash().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Operator overload for calculating hash of tuple.
| tuple | the input Tuple |
Definition at line 179 of file wifi-tx-stats-helper.h.
References ns3::Create(), and tuple_hash().
Here is the call graph for this function:
|
inline |
Hash function for tuples of arbitrary size.
| tuple | the input Tuple |
Definition at line 159 of file wifi-tx-stats-helper.h.
References ns3::Create(), and hash_combine().
Referenced by operator()().
Here is the call graph for this function:
Here is the caller graph for this function: