OCCT 8.0.1
OCCT documentation

Search guides and API reference

Enter at least two characters.

    Open CASCADE Technology Reference Manual 8.0.1
    Standard_HashUtils.hxx File Reference
    #include <Standard_Macro.hxx>
    #include <cstdint>
    #include <cstddef>
    #include <functional>
    #include <type_traits>
    #include <Standard_HashUtils.lxx>

    Namespaces

    namespace  opencascade
     Namespace opencascade is intended for low-level template classes and functions.
    namespace  opencascade::MurmurHash
     Implementation of Murmur hash with autodetect of sizeof(size_t).
    namespace  opencascade::FNVHash
     Implementation of FNV-1a with autodetect of sizeof(size_t). This function should work on unsigned char, otherwise it does not correctly implement the FNV-1a algorithm. The existing behaviour is retained for backwards compatibility.

    Functions

    uint32_t opencascade::MurmurHash::MurmurHash2A (const void *theKey, int theLen, uint32_t theSeed) noexcept
    uint64_t opencascade::MurmurHash::MurmurHash64A (const void *theKey, int theLen, uint64_t theSeed) noexcept
    template<typename T1, typename T = size_t>
    std::enable_if< sizeof(T)==8, uint64_t >::type opencascade::MurmurHash::hash_combine (const T1 &theValue, const int theLen=sizeof(T1), const T theSeed=0xA329F1D3A586ULL) noexcept
    template<typename T1, typename T = size_t>
    std::enable_if< sizeof(T)!=8, T >::type opencascade::MurmurHash::hash_combine (const T1 &theValue, const int theLen=sizeof(T1), const T theSeed=0xc70f6907U) noexcept
    template<typename T = size_t>
    constexpr T opencascade::MurmurHash::optimalSeed () noexcept
    uint32_t opencascade::FNVHash::FNVHash1A (const void *theKey, int theLen, uint32_t theSeed) noexcept
    uint64_t opencascade::FNVHash::FNVHash64A (const void *theKey, int theLen, uint64_t theSeed) noexcept
    template<typename T = size_t>
    constexpr T opencascade::FNVHash::optimalSeed () noexcept
    template<typename T1, typename T = size_t>
    T opencascade::hash (const T1 &theValue) noexcept
    template<typename T1, typename T = size_t>
    T opencascade::hashBytes (const T1 *theKey, int theLen) noexcept
    template<typename T1, typename T = size_t>
    T opencascade::hash_combine (const T1 &theValue, const int theLen, const T theSeed) noexcept