Public Types | Public Member Functions | Static Public Member Functions | Private Attributes | Static Private Attributes | Friends
absl::hash_internal::SpyHashStateImpl< T > Class Template Reference

#include <spy_hash_state.h>

Inheritance diagram for absl::hash_internal::SpyHashStateImpl< T >:
Inheritance graph
[legend]

List of all members.

Public Types

enum  CompareResult { kEqual, kASuffixB, kBSuffixA, kUnequal }

Public Member Functions

absl::optional< std::string > error () const
SpyHashStateImploperator= (const SpyHashStateImpl &)
SpyHashStateImploperator= (SpyHashStateImpl &&other) noexcept
 SpyHashStateImpl ()
 SpyHashStateImpl (const SpyHashStateImpl &)
 SpyHashStateImpl (SpyHashStateImpl &&other) noexcept
template<typename U >
 SpyHashStateImpl (SpyHashStateImpl< U > &&other)

Static Public Member Functions

template<typename A , typename... Args>
static SpyHashStateImpl combine (SpyHashStateImpl s, const A &a, const Args &...args)
static SpyHashStateImpl combine (SpyHashStateImpl s)
static SpyHashStateImpl combine_contiguous (SpyHashStateImpl hash_state, const unsigned char *begin, size_t size)
static CompareResult Compare (const SpyHashStateImpl &a, const SpyHashStateImpl &b)
static void SetDirectAbslHashValueError ()

Private Attributes

std::vector< std::string > hash_representation_

Static Private Attributes

static bool direct_absl_hash_value_error_

Friends

bool operator!= (const SpyHashStateImpl &lhs, const SpyHashStateImpl &rhs)
std::ostream & operator<< (std::ostream &out, const SpyHashStateImpl &hash_state)
bool operator== (const SpyHashStateImpl &lhs, const SpyHashStateImpl &rhs)
class SpyHashStateImpl

Detailed Description

template<typename T>
class absl::hash_internal::SpyHashStateImpl< T >

Definition at line 40 of file spy_hash_state.h.


Member Enumeration Documentation

Enumerator:
kEqual 
kASuffixB 
kBSuffixA 
kUnequal 

Definition at line 105 of file spy_hash_state.h.


Constructor & Destructor Documentation

template<typename T >
absl::hash_internal::SpyHashStateImpl< T >::SpyHashStateImpl ( ) [inline]

Definition at line 42 of file spy_hash_state.h.

template<typename T >
absl::hash_internal::SpyHashStateImpl< T >::SpyHashStateImpl ( const SpyHashStateImpl< T > &  )
template<typename T >
absl::hash_internal::SpyHashStateImpl< T >::SpyHashStateImpl ( SpyHashStateImpl< T > &&  other) [inline]

Definition at line 50 of file spy_hash_state.h.

template<typename T >
template<typename U >
absl::hash_internal::SpyHashStateImpl< T >::SpyHashStateImpl ( SpyHashStateImpl< U > &&  other) [inline]

Definition at line 63 of file spy_hash_state.h.


Member Function Documentation

template<typename T >
template<typename A , typename... Args>
static SpyHashStateImpl absl::hash_internal::SpyHashStateImpl< T >::combine ( SpyHashStateImpl< T >  s,
const A &  a,
const Args &...  args 
) [inline, static]

Definition at line 71 of file spy_hash_state.h.

template<typename T >
static SpyHashStateImpl absl::hash_internal::SpyHashStateImpl< T >::combine ( SpyHashStateImpl< T >  s) [inline, static]

Reimplemented from absl::hash_internal::HashStateBase< SpyHashStateImpl< T > >.

Definition at line 80 of file spy_hash_state.h.

template<typename T >
static SpyHashStateImpl absl::hash_internal::SpyHashStateImpl< T >::combine_contiguous ( SpyHashStateImpl< T >  hash_state,
const unsigned char *  begin,
size_t  size 
) [inline, static]

Definition at line 146 of file spy_hash_state.h.

template<typename T >
static CompareResult absl::hash_internal::SpyHashStateImpl< T >::Compare ( const SpyHashStateImpl< T > &  a,
const SpyHashStateImpl< T > &  b 
) [inline, static]

Definition at line 112 of file spy_hash_state.h.

template<typename T >
absl::optional<std::string> absl::hash_internal::SpyHashStateImpl< T >::error ( ) const [inline]

Definition at line 156 of file spy_hash_state.h.

template<typename T >
SpyHashStateImpl& absl::hash_internal::SpyHashStateImpl< T >::operator= ( const SpyHashStateImpl< T > &  )
template<typename T >
SpyHashStateImpl& absl::hash_internal::SpyHashStateImpl< T >::operator= ( SpyHashStateImpl< T > &&  other) [inline]

Definition at line 54 of file spy_hash_state.h.

template<typename T >
static void absl::hash_internal::SpyHashStateImpl< T >::SetDirectAbslHashValueError ( ) [inline, static]

Definition at line 89 of file spy_hash_state.h.


Friends And Related Function Documentation

template<typename T >
bool operator!= ( const SpyHashStateImpl< T > &  lhs,
const SpyHashStateImpl< T > &  rhs 
) [friend]

Definition at line 100 of file spy_hash_state.h.

template<typename T >
std::ostream& operator<< ( std::ostream &  out,
const SpyHashStateImpl< T > &  hash_state 
) [friend]

Definition at line 124 of file spy_hash_state.h.

template<typename T >
bool operator== ( const SpyHashStateImpl< T > &  lhs,
const SpyHashStateImpl< T > &  rhs 
) [friend]

Definition at line 95 of file spy_hash_state.h.

template<typename T >
friend class SpyHashStateImpl [friend]

Definition at line 165 of file spy_hash_state.h.


Member Data Documentation

template<typename T >
bool absl::hash_internal::SpyHashStateImpl< T >::direct_absl_hash_value_error_ [static, private]

Definition at line 170 of file spy_hash_state.h.

template<typename T >
std::vector<std::string> absl::hash_internal::SpyHashStateImpl< T >::hash_representation_ [private]

Definition at line 172 of file spy_hash_state.h.


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


abseil_cpp
Author(s):
autogenerated on Wed Jun 19 2019 19:42:16