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

#include <hash.h>

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

Classes

struct  CombineUnorderedInvoker
 

Public Member Functions

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

Static Public Member Functions

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

Private Member Functions

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

Static Private Member Functions

template<typename T >
static void CombineContiguousImpl (void *p, const unsigned char *first, size_t size)
 
template<typename T >
static void CombineContiguousImpl (void *p, const unsigned char *first, size_t size)
 
template<typename CombinerT >
static HashState RunCombineUnordered (HashState state, CombinerT combiner)
 
template<typename T >
static HashState RunCombineUnorderedImpl (HashState state, absl::FunctionRef< void(HashState, absl::FunctionRef< void(HashState &)>)> f)
 

Private Attributes

void(* combine_contiguous_ )(void *, const unsigned char *, size_t)
 
HashState(* run_combine_unordered_ )(HashState state, absl::FunctionRef< void(HashState, absl::FunctionRef< void(HashState &)>)>)
 
void * state_
 

Friends

class HashState::HashStateBase
 

Additional Inherited Members

- Public Types inherited from absl::hash_internal::HashStateBase< HashState >
using AbslInternalPiecewiseCombiner = PiecewiseCombiner
 
using AbslInternalPiecewiseCombiner = PiecewiseCombiner
 
using is_hashable = absl::hash_internal::is_hashable< T >
 

Detailed Description

Definition at line 312 of file abseil-cpp/absl/hash/hash.h.

Constructor & Destructor Documentation

◆ HashState() [1/6]

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

◆ HashState() [2/6]

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

◆ HashState() [3/6]

absl::HashState::HashState ( )
privatedefault

◆ HashState() [4/6]

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

◆ HashState() [5/6]

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

◆ HashState() [6/6]

absl::HashState::HashState ( )
privatedefault

Member Function Documentation

◆ combine_contiguous() [1/2]

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

◆ combine_contiguous() [2/2]

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

Definition at line 342 of file abseil-cpp/absl/hash/hash.h.

◆ CombineContiguousImpl() [1/2]

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

◆ CombineContiguousImpl() [2/2]

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

Definition at line 355 of file abseil-cpp/absl/hash/hash.h.

◆ Create() [1/2]

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

◆ Create() [2/2]

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

Definition at line 321 of file abseil-cpp/absl/hash/hash.h.

◆ Init() [1/4]

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

◆ Init() [2/4]

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

Definition at line 400 of file abseil-cpp/absl/hash/hash.h.

◆ Init() [3/4]

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

◆ Init() [4/4]

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

Definition at line 362 of file abseil-cpp/absl/hash/hash.h.

◆ operator=() [1/4]

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

◆ operator=() [2/4]

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

◆ operator=() [3/4]

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

◆ operator=() [4/4]

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

◆ Real()

template<typename T >
T& absl::HashState::Real ( )
inlineprivate

Definition at line 407 of file abseil-cpp/absl/hash/hash.h.

◆ RunCombineUnordered()

template<typename CombinerT >
static HashState absl::HashState::RunCombineUnordered ( HashState  state,
CombinerT  combiner 
)
inlinestaticprivate

Definition at line 394 of file abseil-cpp/absl/hash/hash.h.

◆ RunCombineUnorderedImpl()

template<typename T >
static HashState absl::HashState::RunCombineUnorderedImpl ( HashState  state,
absl::FunctionRef< void(HashState, absl::FunctionRef< void(HashState &)>)>  f 
)
inlinestaticprivate

Definition at line 380 of file abseil-cpp/absl/hash/hash.h.

Friends And Related Function Documentation

◆ HashState::HashStateBase

friend class HashState::HashStateBase
friend

Definition at line 352 of file abseil-cpp/absl/hash/hash.h.

Member Data Documentation

◆ combine_contiguous_

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

Definition at line 412 of file abseil-cpp/absl/hash/hash.h.

◆ run_combine_unordered_

HashState(* absl::HashState::run_combine_unordered_) (HashState state, absl::FunctionRef< void(HashState, absl::FunctionRef< void(HashState &)>)>)
private

Definition at line 413 of file abseil-cpp/absl/hash/hash.h.

◆ state_

void * absl::HashState::state_
private

Definition at line 411 of file abseil-cpp/absl/hash/hash.h.


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


grpc
Author(s):
autogenerated on Fri May 16 2025 03:02:17