bes Updated for version 3.21.1
The Backend Server (BES) is the lower two tiers of the Hyrax data server
internal::Hasher< Encoding, Allocator > Class Template Reference
Inheritance diagram for internal::Hasher< Encoding, Allocator >:
Inheritance graph
Collaboration diagram for internal::Hasher< Encoding, Allocator >:
Collaboration graph

Public Types

typedef Encoding::Ch Ch
 

Public Member Functions

bool Bool (bool b)
 
bool Double (double d)
 
bool EndArray (SizeType elementCount)
 
bool EndObject (SizeType memberCount)
 
uint64_t GetHashCode () const
 
 Hasher (Allocator *allocator=0, size_t stackCapacity=kDefaultSize)
 
bool Int (int i)
 
bool Int64 (int64_t i)
 
bool IsValid () const
 
bool Key (const Ch *str, SizeType len, bool copy)
 
bool Null ()
 
bool RawNumber (const Ch *str, SizeType len, bool)
 
bool StartArray ()
 
bool StartObject ()
 
bool String (const Ch *str, SizeType len, bool)
 
bool Uint (unsigned u)
 
bool Uint64 (uint64_t u)
 

Detailed Description

template<typename Encoding, typename Allocator>
class internal::Hasher< Encoding, Allocator >

Definition at line 220 of file schema.h.

Member Typedef Documentation

◆ Ch

template<typename Encoding, typename Allocator>
typedef Encoding::Ch internal::Hasher< Encoding, Allocator >::Ch

Definition at line 222 of file schema.h.

Constructor & Destructor Documentation

◆ Hasher()

template<typename Encoding, typename Allocator>
internal::Hasher< Encoding, Allocator >::Hasher ( Allocator * allocator = 0,
size_t stackCapacity = kDefaultSize )
inline

Definition at line 224 of file schema.h.

Member Function Documentation

◆ Bool()

template<typename Encoding, typename Allocator>
bool internal::Hasher< Encoding, Allocator >::Bool ( bool b)
inline

Definition at line 227 of file schema.h.

◆ Double()

template<typename Encoding, typename Allocator>
bool internal::Hasher< Encoding, Allocator >::Double ( double d)
inline

Definition at line 232 of file schema.h.

◆ EndArray()

template<typename Encoding, typename Allocator>
bool internal::Hasher< Encoding, Allocator >::EndArray ( SizeType elementCount)
inline

Definition at line 262 of file schema.h.

◆ EndObject()

template<typename Encoding, typename Allocator>
bool internal::Hasher< Encoding, Allocator >::EndObject ( SizeType memberCount)
inline

Definition at line 252 of file schema.h.

◆ GetHashCode()

template<typename Encoding, typename Allocator>
uint64_t internal::Hasher< Encoding, Allocator >::GetHashCode ( ) const
inline

Definition at line 273 of file schema.h.

◆ Int()

template<typename Encoding, typename Allocator>
bool internal::Hasher< Encoding, Allocator >::Int ( int i)
inline

Definition at line 228 of file schema.h.

◆ Int64()

template<typename Encoding, typename Allocator>
bool internal::Hasher< Encoding, Allocator >::Int64 ( int64_t i)
inline

Definition at line 230 of file schema.h.

◆ IsValid()

template<typename Encoding, typename Allocator>
bool internal::Hasher< Encoding, Allocator >::IsValid ( ) const
inline

Definition at line 271 of file schema.h.

◆ Key()

template<typename Encoding, typename Allocator>
bool internal::Hasher< Encoding, Allocator >::Key ( const Ch * str,
SizeType len,
bool copy )
inline

Definition at line 251 of file schema.h.

◆ Null()

template<typename Encoding, typename Allocator>
bool internal::Hasher< Encoding, Allocator >::Null ( )
inline

Definition at line 226 of file schema.h.

◆ RawNumber()

template<typename Encoding, typename Allocator>
bool internal::Hasher< Encoding, Allocator >::RawNumber ( const Ch * str,
SizeType len,
bool  )
inline

Definition at line 240 of file schema.h.

◆ StartArray()

template<typename Encoding, typename Allocator>
bool internal::Hasher< Encoding, Allocator >::StartArray ( )
inline

Definition at line 261 of file schema.h.

◆ StartObject()

template<typename Encoding, typename Allocator>
bool internal::Hasher< Encoding, Allocator >::StartObject ( )
inline

Definition at line 250 of file schema.h.

◆ String()

template<typename Encoding, typename Allocator>
bool internal::Hasher< Encoding, Allocator >::String ( const Ch * str,
SizeType len,
bool  )
inline

Definition at line 245 of file schema.h.

◆ Uint()

template<typename Encoding, typename Allocator>
bool internal::Hasher< Encoding, Allocator >::Uint ( unsigned u)
inline

Definition at line 229 of file schema.h.

◆ Uint64()

template<typename Encoding, typename Allocator>
bool internal::Hasher< Encoding, Allocator >::Uint64 ( uint64_t u)
inline

Definition at line 231 of file schema.h.


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