NCBI C++ ToolKit
Classes | Public Types | Static Public Member Functions | List of all members
compile_time_bits::ct_crc32< poly > Struct Template Reference

Search Toolkit Book for compile_time_bits::ct_crc32

#include <util/impl/ct_crc32.hpp>

Classes

class  MakeCRC32Table
 

Public Types

using type = uint32_t
 

Static Public Member Functions

static constexpr type update (type crc, uint8_t b)
 
static constexpr type update4 (type crc, type d32)
 
template<bool _lowercase, size_t N>
static constexpr type SaltedHash (const char(&s)[N]) noexcept
 

Detailed Description

template<uint32_t poly>
struct compile_time_bits::ct_crc32< poly >

Definition at line 51 of file ct_crc32.hpp.

Member Typedef Documentation

◆ type

template<uint32_t poly>
using compile_time_bits::ct_crc32< poly >::type = uint32_t

Definition at line 53 of file ct_crc32.hpp.

Member Function Documentation

◆ SaltedHash()

template<uint32_t poly>
template<bool _lowercase, size_t N>
static constexpr type compile_time_bits::ct_crc32< poly >::SaltedHash ( const char(&)  s[N])
inlinestaticconstexprnoexcept

◆ update()

template<uint32_t poly>
static constexpr type compile_time_bits::ct_crc32< poly >::update ( type  crc,
uint8_t  b 
)
inlinestaticconstexpr

◆ update4()

template<uint32_t poly>
static constexpr type compile_time_bits::ct_crc32< poly >::update4 ( type  crc,
type  d32 
)
inlinestaticconstexpr

The documentation for this struct was generated from the following file:
Modified on Thu Feb 22 17:14:27 2024 by modify_doxy.py rev. 669887