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

#include <spy_hash_state.h>

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

Public Types

enum  CompareResult { CompareResult::kEqual, CompareResult::kASuffixB, CompareResult::kBSuffixA, CompareResult::kUnequal }
 

Public Member Functions

absl::optional< std::string > error () const
 
SpyHashStateImploperator= (const SpyHashStateImpl &)=delete
 
SpyHashStateImploperator= (SpyHashStateImpl &&other) noexcept
 
 SpyHashStateImpl ()
 
 SpyHashStateImpl (const SpyHashStateImpl &)=delete
 
 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 ()
 
- Static Public Member Functions inherited from absl::hash_internal::HashStateBase< SpyHashStateImpl< T > >
static SpyHashStateImpl< T > combine (SpyHashStateImpl< T >state, const T &value, const Ts &...values)
 
static SpyHashStateImpl< T > combine (SpyHashStateImpl< T >state)
 
static SpyHashStateImpl< T > combine_contiguous (SpyHashStateImpl< T >state, const T *data, size_t size)
 

Private Attributes

std::shared_ptr< absl::optional< std::string > > error_
 
std::vector< std::string > hash_representation_
 
bool moved_from_ = false
 

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)
 
template<typename U >
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

template<typename T >
enum absl::hash_internal::SpyHashStateImpl::CompareResult
strong
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 > &  )
delete
template<typename T >
absl::hash_internal::SpyHashStateImpl< T >::SpyHashStateImpl ( SpyHashStateImpl< T > &&  other)
inlinenoexcept

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 
)
inlinestatic

Definition at line 71 of file spy_hash_state.h.

template<typename T >
static SpyHashStateImpl absl::hash_internal::SpyHashStateImpl< T >::combine ( SpyHashStateImpl< T >  s)
inlinestatic

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 
)
inlinestatic

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 
)
inlinestatic

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 > &  )
delete
template<typename T >
SpyHashStateImpl& absl::hash_internal::SpyHashStateImpl< T >::operator= ( SpyHashStateImpl< T > &&  other)
inlinenoexcept

Definition at line 54 of file spy_hash_state.h.

template<typename T >
static void absl::hash_internal::SpyHashStateImpl< T >::SetDirectAbslHashValueError ( )
inlinestatic

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 >
template<typename U >
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_
staticprivate

Definition at line 170 of file spy_hash_state.h.

template<typename T >
std::shared_ptr<absl::optional<std::string> > absl::hash_internal::SpyHashStateImpl< T >::error_
private

Definition at line 176 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.

template<typename T >
bool absl::hash_internal::SpyHashStateImpl< T >::moved_from_ = false
private

Definition at line 177 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:19:59