MySQL 9.3.0
Source Code Documentation
mrs::GtidManager::ParseGtidOptions Class Reference
Inheritance diagram for mrs::GtidManager::ParseGtidOptions:
[legend]

Public Member Functions

template<typename ValueType , bool default_value = false>
bool to_bool (const ValueType &value)
 
template<typename ValueType >
uint64_t to_uint (const ValueType &value)
 
template<typename ValueType >
void handle_object_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< GtidOptions >
 RapidReaderHandlerToStruct (const std::string &separator=".")
 
virtual ~RapidReaderHandlerToStruct ()=default
 
const GtidOptions & 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

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

Member Function Documentation

◆ Bool()

bool mrs::GtidManager::ParseGtidOptions::Bool ( bool  v)
inlineoverridevirtual

◆ handle_object_value()

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

◆ handle_value()

template<typename ValueType >
void mrs::GtidManager::ParseGtidOptions::handle_value ( const ValueType &  vt)
inline

◆ RawNumber()

bool mrs::GtidManager::ParseGtidOptions::RawNumber ( const Ch ,
rapidjson::SizeType  ,
bool   
)
inlineoverridevirtual

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

Reimplemented from helper::json::RapidReaderHandlerToStruct< GtidOptions >.

◆ String()

bool mrs::GtidManager::ParseGtidOptions::String ( const Ch v,
rapidjson::SizeType  v_len,
bool   
)
inlineoverridevirtual

◆ to_bool()

template<typename ValueType , bool default_value = false>
bool mrs::GtidManager::ParseGtidOptions::to_bool ( const ValueType &  value)
inline

◆ to_uint()

template<typename ValueType >
uint64_t mrs::GtidManager::ParseGtidOptions::to_uint ( const ValueType &  value)
inline

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