Public Member Functions | Static Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | List of all members
absl::HashState Class Reference

#include <hash.h>

Inheritance diagram for absl::HashState:
Inheritance graph
[legend]

Public Member Functions

 HashState (const HashState &)=delete
 
 HashState (HashState &&)=default
 
HashStateoperator= (const HashState &)=delete
 
HashStateoperator= (HashState &&)=default
 

Static Public Member Functions

static HashState combine_contiguous (HashState hash_state, const unsigned char *first, size_t size)
 
template<typename T >
static HashState Create (T *state)
 
- Static Public Member Functions inherited from absl::hash_internal::HashStateBase< HashState >
static HashState combine (HashState state, const T &value, const Ts &... values)
 
static HashState combine (HashState state)
 
static HashState combine_contiguous (HashState state, const T *data, size_t size)
 

Private Member Functions

 HashState ()=default
 
template<typename T >
void Init (T *state)
 
void Init (HashState *state)
 

Static Private Member Functions

template<typename T >
static void CombineContiguousImpl (void *p, const unsigned char *first, size_t size)
 

Private Attributes

void(* combine_contiguous_ )(void *, const unsigned char *, size_t)
 
void * state_
 

Detailed Description

Definition at line 257 of file hash.h.

Constructor & Destructor Documentation

◆ HashState() [1/3]

absl::HashState::HashState ( const HashState )
delete

◆ HashState() [2/3]

absl::HashState::HashState ( HashState &&  )
default

◆ HashState() [3/3]

absl::HashState::HashState ( )
privatedefault

Member Function Documentation

◆ combine_contiguous()

static HashState absl::HashState::combine_contiguous ( HashState  hash_state,
const unsigned char *  first,
size_t  size 
)
inlinestatic

Definition at line 287 of file hash.h.

◆ CombineContiguousImpl()

template<typename T >
static void absl::HashState::CombineContiguousImpl ( void *  p,
const unsigned char *  first,
size_t  size 
)
inlinestaticprivate

Definition at line 298 of file hash.h.

◆ Create()

template<typename T >
static HashState absl::HashState::Create ( T *  state)
inlinestatic

Definition at line 266 of file hash.h.

◆ Init() [1/2]

template<typename T >
void absl::HashState::Init ( T *  state)
inlineprivate

Definition at line 305 of file hash.h.

◆ Init() [2/2]

void absl::HashState::Init ( HashState state)
inlineprivate

Definition at line 311 of file hash.h.

◆ operator=() [1/2]

HashState& absl::HashState::operator= ( const HashState )
delete

◆ operator=() [2/2]

HashState& absl::HashState::operator= ( HashState &&  )
default

Member Data Documentation

◆ combine_contiguous_

void(* absl::HashState::combine_contiguous_) (void *, const unsigned char *, size_t)
private

Definition at line 317 of file hash.h.

◆ state_

void* absl::HashState::state_
private

Definition at line 316 of file hash.h.


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


abseil_cpp
Author(s):
autogenerated on Mon Feb 28 2022 21:31:22