#include <schema.h>
Classes | |
| struct | Number |
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) |
Private Member Functions | |
| bool | WriteBuffer (Type type, const void *data, size_t len) |
| bool | WriteNumber (const Number &n) |
| bool | WriteType (Type type) |
Static Private Member Functions | |
| static uint64_t | Hash (uint64_t h, uint64_t d) |
Private Attributes | |
| Stack< Allocator > | stack_ |
Static Private Attributes | |
| static const size_t | kDefaultSize = 256 |
| typedef Encoding::Ch internal::Hasher< Encoding, Allocator >::Ch |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinestaticprivate |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
staticprivate |
|
private |