Zserio C++17 runtime library  0.5.0
Built for Zserio 2.17.0
HashCodeUtil.h File Reference
#include <memory>
#include <string>
#include <string_view>
#include <type_traits>
#include <variant>
#include <vector>
#include "zserio/Bytes.h"
#include "zserio/FloatUtil.h"
#include "zserio/Traits.h"
#include "zserio/Types.h"
#include "zserio/Vector.h"

Go to the source code of this file.

Namespaces

 zserio
 

Functions

uint32_t zserio::calcHashCodeFirstTerm (uint32_t seedValue)
 
template<typename T >
std::enable_if< std::is_integral< T >::value &&(sizeof(T)<=4), uint32_t >::type zserio::calcHashCode (uint32_t seedValue, T value)
 
template<typename T >
std::enable_if< std::is_integral< T >::value &&(sizeof(T) > 4), uint32_t >::type zserio::calcHashCode (uint32_t seedValue, T value)
 
uint32_t zserio::calcHashCode (uint32_t seedValue, float value)
 
uint32_t zserio::calcHashCode (uint32_t seedValue, double value)
 
uint32_t zserio::calcHashCode (uint32_t seedValue, Bool value)
 
template<BitSize BIT_SIZE, bool IS_SIGNED>
uint32_t zserio::calcHashCode (uint32_t seedValue, detail::FixedIntWrapper< BIT_SIZE, IS_SIGNED > value)
 
template<typename VALUE_TYPE >
uint32_t zserio::calcHashCode (uint32_t seedValue, detail::DynIntWrapper< VALUE_TYPE > value)
 
template<typename VALUE_TYPE , detail::VarIntType VAR_TYPE>
uint32_t zserio::calcHashCode (uint32_t seedValue, detail::VarIntWrapper< VALUE_TYPE, VAR_TYPE > value)
 
template<typename VALUE_TYPE , detail::FloatType FLOAT_TYPE>
uint32_t zserio::calcHashCode (uint32_t seedValue, detail::FloatWrapper< VALUE_TYPE, FLOAT_TYPE > value)
 
template<typename ALLOC >
uint32_t zserio::calcHashCode (uint32_t seedValue, const BasicString< ALLOC > &stringValue)
 
uint32_t zserio::calcHashCode (uint32_t seedValue, std::string_view stringValue)
 
template<typename T >
std::enable_if_t< std::is_enum_v< T >||is_bitmask_v< T >, uint32_t > zserio::calcHashCode (uint32_t seedValue, T value)
 
template<typename OBJECT >
std::enable_if_t<!std::is_enum_v< OBJECT > &&!is_bitmask_v< OBJECT > &&!std::is_integral_v< OBJECT >, uint32_t > zserio::calcHashCode (uint32_t seedValue, const OBJECT &object)
 
uint32_t zserio::calcHashCode (uint32_t seedValue, const BytesView &bytes)
 
template<typename ARRAY_ELEMENT , typename ALLOC >
uint32_t zserio::calcHashCode (uint32_t seedValue, const Vector< ARRAY_ELEMENT, ALLOC > &array)
 
uint32_t zserio::calcHashCode (uint32_t seedValue, std::monostate)