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 (HashStatestate, const T &value, const Ts &...values)
 
static HashState combine (HashStatestate)
 
static HashState combine_contiguous (HashStatestate, 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

absl::HashState::HashState ( const HashState )
delete
absl::HashState::HashState ( HashState &&  )
default
absl::HashState::HashState ( )
privatedefault

Member Function Documentation

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.

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.

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

Definition at line 266 of file hash.h.

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

Definition at line 305 of file hash.h.

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

Definition at line 311 of file hash.h.

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

Member Data Documentation

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

Definition at line 317 of file hash.h.

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 Wed Jun 19 2019 19:19:59