A Discrete-Event Network Simulator
API
Classes | Namespaces | Functions
hash.h File Reference

ns3::Hasher, ns3::Hash32() and ns3::Hash64() function declarations. More...

#include <string>
#include "assert.h"
#include "ptr.h"
#include "hash-function.h"
#include "hash-murmur3.h"
#include "hash-fnv.h"

Go to the source code of this file.

Classes

class  ns3::Hasher
 Generic Hash function interface. More...
 

Namespaces

 ns3
 Every class exported by the ns3 library is enclosed in the ns3 namespace.
 

Functions

uint32_t ns3::Hash32 (const char *buffer, const std::size_t size)
 Compute 32-bit hash of a byte buffer, using the default hash function. More...
 
uint32_t ns3::Hash32 (const std::string s)
 Compute 32-bit hash of a string, using the default hash function. More...
 
uint64_t ns3::Hash64 (const char *buffer, const std::size_t size)
 Compute 64-bit hash of a byte buffer, using the default hash function. More...
 
uint64_t ns3::Hash64 (const std::string s)
 Compute 64-bit hash of a string, using the default hash function. More...
 

Detailed Description

ns3::Hasher, ns3::Hash32() and ns3::Hash64() function declarations.

Definition in file hash.h.