MySQL 9.3.0
Source Code Documentation
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
mrs::rest::ParseOptions Class Reference
Inheritance diagram for mrs::rest::ParseOptions:
[legend]

Public Member Functions

template<typename ValueType >
void handle_object_value (const std::string &key, const ValueType &vt)
 
template<typename ValueType >
void handle_array_value (const std::string &key, const ValueType &vt)
 
template<typename ValueType >
void handle_value (const ValueType &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< mrs::interface::Options >
 RapidReaderHandlerToStruct (const std::string &separator=".")
 
virtual ~RapidReaderHandlerToStruct ()=default
 
const mrs::interface::Optionsget_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

- Public Types inherited from helper::json::RapidReaderHandlerToStruct< mrs::interface::Options >
using Handler = RapidReaderHandlerToStruct< mrs::interface::Options >
 
using Parent = rapidjson::BaseReaderHandler< rapidjson::UTF8<>, RapidReaderHandlerToStruct< mrs::interface::Options > >
 
using Ch = typename Parent::Ch
 
using Result = mrs::interface::Options
 
- Static Public Attributes inherited from helper::json::RapidReaderHandlerToStruct< mrs::interface::Options >
constexpr static rapidjson::ParseFlag k_parse_flags
 
- Protected Member Functions inherited from helper::json::RapidReaderHandlerToStruct< mrs::interface::Options >
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< mrs::interface::Options >
mrs::interface::Options result_
 
const std::string separator_
 

Member Function Documentation

◆ Bool()

bool mrs::rest::ParseOptions::Bool ( bool  v)
inlineoverridevirtual

◆ handle_array_value()

template<typename ValueType >
void mrs::rest::ParseOptions::handle_array_value ( const std::string &  key,
const ValueType &  vt 
)
inline

◆ handle_object_value()

template<typename ValueType >
void mrs::rest::ParseOptions::handle_object_value ( const std::string &  key,
const ValueType &  vt 
)
inline

◆ handle_value()

template<typename ValueType >
void mrs::rest::ParseOptions::handle_value ( const ValueType &  vt)
inline

◆ RawNumber()

bool mrs::rest::ParseOptions::RawNumber ( const Ch ,
rapidjson::SizeType  ,
bool   
)
inlineoverridevirtual

enabled via kParseNumbersAsStringsFlag, string is not null-terminated (use length)

Reimplemented from helper::json::RapidReaderHandlerToStruct< mrs::interface::Options >.

◆ String()

bool mrs::rest::ParseOptions::String ( const Ch v,
rapidjson::SizeType  v_len,
bool   
)
inlineoverridevirtual

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