#include <spy_hash_state.h>
Public Types | |
enum | CompareResult { CompareResult::kEqual, CompareResult::kASuffixB, CompareResult::kBSuffixA, CompareResult::kUnequal } |
Public Member Functions | |
absl::optional< std::string > | error () const |
SpyHashStateImpl & | operator= (const SpyHashStateImpl &)=delete |
SpyHashStateImpl & | operator= (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 |
Definition at line 40 of file spy_hash_state.h.
|
strong |
Enumerator | |
---|---|
kEqual | |
kASuffixB | |
kBSuffixA | |
kUnequal |
Definition at line 105 of file spy_hash_state.h.
|
inline |
Definition at line 42 of file spy_hash_state.h.
|
delete |
|
inlinenoexcept |
Definition at line 50 of file spy_hash_state.h.
|
inline |
Definition at line 63 of file spy_hash_state.h.
|
inlinestatic |
Definition at line 71 of file spy_hash_state.h.
|
inlinestatic |
Definition at line 80 of file spy_hash_state.h.
|
inlinestatic |
Definition at line 146 of file spy_hash_state.h.
|
inlinestatic |
Definition at line 112 of file spy_hash_state.h.
|
inline |
Definition at line 156 of file spy_hash_state.h.
|
delete |
|
inlinenoexcept |
Definition at line 54 of file spy_hash_state.h.
|
inlinestatic |
Definition at line 89 of file spy_hash_state.h.
|
friend |
Definition at line 100 of file spy_hash_state.h.
|
friend |
Definition at line 124 of file spy_hash_state.h.
|
friend |
Definition at line 95 of file spy_hash_state.h.
Definition at line 165 of file spy_hash_state.h.
|
staticprivate |
Definition at line 170 of file spy_hash_state.h.
|
private |
Definition at line 176 of file spy_hash_state.h.
|
private |
Definition at line 172 of file spy_hash_state.h.
|
private |
Definition at line 177 of file spy_hash_state.h.