Classes | |
struct | Number |
Types publics | |
typedef Encoding::Ch | Ch |
Fonctions membres publiques | |
Hasher (Allocator *allocator=0, size_t stackCapacity=kDefaultSize) | |
bool | Null () |
bool | Bool (bool b) |
bool | Int (int i) |
bool | Uint (unsigned u) |
bool | Int64 (int64_t i) |
bool | Uint64 (uint64_t u) |
bool | Double (double d) |
bool | RawNumber (const Ch *str, SizeType len, bool) |
bool | String (const Ch *str, SizeType len, bool) |
bool | StartObject () |
bool | Key (const Ch *str, SizeType len, bool copy) |
bool | EndObject (SizeType memberCount) |
bool | StartArray () |
bool | EndArray (SizeType elementCount) |
bool | IsValid () const |
uint64_t | GetHashCode () const |
Fonctions membres privées | |
bool | WriteType (Type type) |
bool | WriteNumber (const Number &n) |
bool | WriteBuffer (Type type, const void *data, size_t len) |
Fonctions membres privées statiques | |
static uint64_t | Hash (uint64_t h, uint64_t d) |
Attributs privés | |
Stack< Allocator > | stack_ |
Attributs privés statiques | |
static const size_t | kDefaultSize = 256 |
typedef Encoding::Ch internal::Hasher< Encoding, Allocator >::Ch |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
staticprivate |
|
private |