Antkeeper  0.0.1
Public Types | Public Member Functions | Public Attributes | List of all members
hash::types::fnv1a64_t Struct Reference

64-bit FNV-1a hash value. More...

#include <fnv1a.hpp>

Public Types

using value_type = std::uint64_t
 Hash value type. More...
 

Public Member Functions

constexpr operator value_type () const noexcept
 Converts a 64-bit FNV-1a hash value to its underlying type. More...
 
constexpr explicit (false) fnv1a64_t(value_type value) noexcept
 Constructs a 64-bit FNV-1a hash value. More...
 
 fnv1a64_t ()=default
 Constructs a 64-bit FNV-1a hash value. More...
 
constexpr explicit (false) fnv1a64_t(const char *string) noexcept
 Constructs a 64-bit FNV-1a hash value from a string. More...
 
constexpr explicit (false) fnv1a64_t(const wchar_t *string) noexcept
 Constructs a 64-bit FNV-1a hash value from a string. More...
 
constexpr explicit (false) fnv1a64_t(const char8_t *string) noexcept
 Constructs a 64-bit FNV-1a hash value from a string. More...
 
constexpr explicit (false) fnv1a64_t(const char16_t *string) noexcept
 Constructs a 64-bit FNV-1a hash value from a string. More...
 
constexpr explicit (false) fnv1a64_t(const char32_t *string) noexcept
 Constructs a 64-bit FNV-1a hash value from a string. More...
 

Public Attributes

value_type value {0}
 64-bit FNV-1a hash value. More...
 

Detailed Description

64-bit FNV-1a hash value.

Definition at line 174 of file fnv1a.hpp.

Member Typedef Documentation

◆ value_type

using hash::types::fnv1a64_t::value_type = std::uint64_t

Hash value type.

Definition at line 177 of file fnv1a.hpp.

Constructor & Destructor Documentation

◆ fnv1a64_t()

hash::types::fnv1a64_t::fnv1a64_t ( )
default

Constructs a 64-bit FNV-1a hash value.

Member Function Documentation

◆ explicit() [1/6]

constexpr hash::types::fnv1a64_t::explicit ( false  ) const
inlineconstexprnoexcept

Constructs a 64-bit FNV-1a hash value from a string.

Parameters
stringString to hash.

Definition at line 195 of file fnv1a.hpp.

◆ explicit() [2/6]

constexpr hash::types::fnv1a64_t::explicit ( false  ) const
inlineconstexprnoexcept

Constructs a 64-bit FNV-1a hash value from a string.

Parameters
stringString to hash.

Definition at line 204 of file fnv1a.hpp.

◆ explicit() [3/6]

constexpr hash::types::fnv1a64_t::explicit ( false  ) const
inlineconstexprnoexcept

Constructs a 64-bit FNV-1a hash value from a string.

Parameters
stringString to hash.

Definition at line 207 of file fnv1a.hpp.

◆ explicit() [4/6]

constexpr hash::types::fnv1a64_t::explicit ( false  ) const
inlineconstexprnoexcept

Constructs a 64-bit FNV-1a hash value from a string.

Parameters
stringString to hash.

Definition at line 201 of file fnv1a.hpp.

◆ explicit() [5/6]

constexpr hash::types::fnv1a64_t::explicit ( false  ) const
inlineconstexprnoexcept

Constructs a 64-bit FNV-1a hash value from a string.

Parameters
stringString to hash.

Definition at line 198 of file fnv1a.hpp.

◆ explicit() [6/6]

constexpr hash::types::fnv1a64_t::explicit ( false  )
inlineconstexprnoexcept

Constructs a 64-bit FNV-1a hash value.

Definition at line 183 of file fnv1a.hpp.

◆ operator value_type()

constexpr hash::types::fnv1a64_t::operator value_type ( ) const
inlineconstexprnoexcept

Converts a 64-bit FNV-1a hash value to its underlying type.

Returns
64-bit FNV-1a hash value.

Definition at line 217 of file fnv1a.hpp.

Member Data Documentation

◆ value

value_type hash::types::fnv1a64_t::value {0}

64-bit FNV-1a hash value.

Definition at line 223 of file fnv1a.hpp.


The documentation for this struct was generated from the following file: