![]() |
MySQL 9.5.0
Source Code Documentation
|
#include <rapid_json_to_struct.h>
Public Types | |
| using | Handler = RapidReaderHandlerToStruct< UserResult > |
| using | Ch = typename Handler::Ch |
Public Types inherited from helper::json::RapidReaderHandlerToStruct< UserResult > | |
| using | Handler = RapidReaderHandlerToStruct< UserResult > |
| using | Parent = rapidjson::BaseReaderHandler< rapidjson::UTF8<>, RapidReaderHandlerToStruct< UserResult > > |
| using | Ch = typename Parent::Ch |
| using | Result = UserResult |
Public Member Functions | |
| virtual void | handle_object_value (const std::string &key, std::string &&value)=0 |
| virtual void | handle_array_value (const std::string &, std::string &&) |
| void | handle_value (std::string &&vt) |
| bool | String (const Ch *v, rapidjson::SizeType v_len, bool) override |
| bool | RawNumber (const Ch *v, rapidjson::SizeType v_len, bool) override |
| enabled via kParseNumbersAsStringsFlag, string is not null-terminated (use length) More... | |
| bool | Bool (bool v) override |
Public Member Functions inherited from helper::json::RapidReaderHandlerToStruct< UserResult > | |
| RapidReaderHandlerToStruct (const std::string &separator=".") | |
| virtual | ~RapidReaderHandlerToStruct ()=default |
| const UserResult & | get_result () |
| virtual bool | on_new_value () |
| virtual bool | Null () |
| virtual bool | Int (int) |
| virtual bool | Uint (unsigned) |
| virtual bool | Int64 (int64_t) |
| virtual bool | Uint64 (uint64_t) |
| virtual bool | Double (double) |
| virtual void | empty_object () |
| virtual void | empty_array () |
| bool | StartObject () |
| bool | EndObject (rapidjson::SizeType) |
| bool | Key (const Ch *str, rapidjson::SizeType len, bool) |
| bool | StartArray () |
| bool | EndArray (rapidjson::SizeType) |
Additional Inherited Members | |
Static Public Attributes inherited from helper::json::RapidReaderHandlerToStruct< UserResult > | |
| constexpr static rapidjson::ParseFlag | k_parse_flags |
Protected Member Functions inherited from helper::json::RapidReaderHandlerToStruct< UserResult > | |
| bool | is_object_path () |
| bool | is_array_value () |
| int | get_level () const |
| std::string | get_current_key () const |
| std::list< KeyValue > | get_keys () const |
Protected Attributes inherited from helper::json::RapidReaderHandlerToStruct< UserResult > | |
| UserResult | result_ {} |
| const std::string | separator_ |
| using helper::json::RapidReaderHandlerStringValuesToStruct< UserResult >::Ch = typename Handler::Ch |
| using helper::json::RapidReaderHandlerStringValuesToStruct< UserResult >::Handler = RapidReaderHandlerToStruct<UserResult> |
|
inlineoverridevirtual |
Reimplemented from helper::json::RapidReaderHandlerToStruct< UserResult >.
|
inlinevirtual |
|
pure virtual |
|
inline |
|
inlineoverridevirtual |
enabled via kParseNumbersAsStringsFlag, string is not null-terminated (use length)
Reimplemented from helper::json::RapidReaderHandlerToStruct< UserResult >.
|
inlineoverridevirtual |
Reimplemented from helper::json::RapidReaderHandlerToStruct< UserResult >.