MySQL 9.3.0
Source Code Documentation
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
mrs::anonymous_namespace{response_cache.cc}::ParseResponseCacheOptions Class Reference
Inheritance diagram for mrs::anonymous_namespace{response_cache.cc}::ParseResponseCacheOptions:
[legend]

Public Member Functions

 ParseResponseCacheOptions (const std::string &group_key)
 
uint64_t to_uint (const std::string &value)
 
void handle_object_value (const std::string &key, std::string &&vt) override
 
- Public Member Functions inherited from helper::json::RapidReaderHandlerStringValuesToStruct< ResponseCacheOptions >
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)
 

Public Attributes

std::string group_key_
 

Additional Inherited Members

- Public Types inherited from helper::json::RapidReaderHandlerStringValuesToStruct< ResponseCacheOptions >
using Handler = RapidReaderHandlerToStruct< ResponseCacheOptions >
 
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
 
- 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< KeyValueget_keys () const
 
- Protected Attributes inherited from helper::json::RapidReaderHandlerToStruct< UserResult >
UserResult result_ {}
 
const std::string separator_
 

Constructor & Destructor Documentation

◆ ParseResponseCacheOptions()

mrs::anonymous_namespace{response_cache.cc}::ParseResponseCacheOptions::ParseResponseCacheOptions ( const std::string &  group_key)
inlineexplicit

Member Function Documentation

◆ handle_object_value()

void mrs::anonymous_namespace{response_cache.cc}::ParseResponseCacheOptions::handle_object_value ( const std::string &  key,
std::string &&  vt 
)
inlineoverridevirtual

◆ to_uint()

uint64_t mrs::anonymous_namespace{response_cache.cc}::ParseResponseCacheOptions::to_uint ( const std::string &  value)
inline

Member Data Documentation

◆ group_key_

std::string mrs::anonymous_namespace{response_cache.cc}::ParseResponseCacheOptions::group_key_

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