BaseReaderHandler< Encoding, Derived > Struct Template Reference#
BaseReaderHandler< Encoding, Derived > Struct Template Reference
Default implementation of Handler. More...
#include <reader.h>
Public Types | |
typedef Encoding::Ch | Ch |
typedef internal::SelectIf< internal::IsSame< Derived, void >, BaseReaderHandler, Derived >::Type | Override |
Public Member Functions | |
bool | Default () |
bool | Null () |
bool | Bool (bool) |
bool | Int (int) |
bool | Uint (unsigned) |
bool | Int64 (int64_t) |
bool | Uint64 (uint64_t) |
bool | Double (double) |
bool | RawNumber (const Ch *str, SizeType len, bool copy) |
enabled via kParseNumbersAsStringsFlag, string is not null-terminated (use length) More... | |
bool | String (const Ch *, SizeType, bool) |
bool | StartObject () |
bool | Key (const Ch *str, SizeType len, bool copy) |
bool | EndObject (SizeType) |
bool | StartArray () |
bool | EndArray (SizeType) |
Detailed Description
template<typename Encoding = UTF8<>, typename Derived = void>
struct BaseReaderHandler< Encoding, Derived >
Default implementation of Handler.
This can be used as base class of any reader handler.
- Note
- implements Handler concept
Member Typedef Documentation
◆ Ch
template<typename Encoding = UTF8<>, typename Derived = void>
typedef Encoding::Ch BaseReaderHandler< Encoding, Derived >::Ch |
◆ Override
template<typename Encoding = UTF8<>, typename Derived = void>
typedef internal::SelectIf<internal::IsSame<Derived, void>, BaseReaderHandler, Derived>::Type BaseReaderHandler< Encoding, Derived >::Override |
Member Function Documentation
◆ Bool()
template<typename Encoding = UTF8<>, typename Derived = void>
|
inline |
◆ Default()
template<typename Encoding = UTF8<>, typename Derived = void>
|
inline |
◆ Double()
template<typename Encoding = UTF8<>, typename Derived = void>
|
inline |
◆ EndArray()
template<typename Encoding = UTF8<>, typename Derived = void>
|
inline |
◆ EndObject()
template<typename Encoding = UTF8<>, typename Derived = void>
|
inline |
◆ Int()
template<typename Encoding = UTF8<>, typename Derived = void>
|
inline |
◆ Int64()
template<typename Encoding = UTF8<>, typename Derived = void>
|
inline |
◆ Key()
template<typename Encoding = UTF8<>, typename Derived = void>
|
inline |
◆ Null()
template<typename Encoding = UTF8<>, typename Derived = void>
|
inline |
◆ RawNumber()
template<typename Encoding = UTF8<>, typename Derived = void>
|
inline |
enabled via kParseNumbersAsStringsFlag, string is not null-terminated (use length)
◆ StartArray()
template<typename Encoding = UTF8<>, typename Derived = void>
|
inline |
◆ StartObject()
template<typename Encoding = UTF8<>, typename Derived = void>
|
inline |
◆ String()
template<typename Encoding = UTF8<>, typename Derived = void>
|
inline |
◆ Uint()
template<typename Encoding = UTF8<>, typename Derived = void>
|
inline |
◆ Uint64()
template<typename Encoding = UTF8<>, typename Derived = void>
|
inline |
The documentation for this struct was generated from the following files: