MySQL 9.6.0
Source Code Documentation
collector::anonymous_namespace{mysql_cache_manager.cc}::ParseCacheOptions Class Reference
Inheritance diagram for collector::anonymous_namespace{mysql_cache_manager.cc}::ParseCacheOptions:
[legend]

Public Member Functions

template<typename ValueType >
std::optional< uint32_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...
 
- Public Member Functions inherited from helper::json::RapidReaderHandlerToStruct< CacheOptions >
 RapidReaderHandlerToStruct (const std::string &separator=".")
 
virtual ~RapidReaderHandlerToStruct ()=default
 
const CacheOptions & get_result ()
 
virtual bool on_new_value ()
 
virtual bool Null ()
 
virtual bool Bool (bool)
 
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< CacheOptions >
using Handler = RapidReaderHandlerToStruct< CacheOptions >
 
using Parent = rapidjson::BaseReaderHandler< rapidjson::UTF8<>, RapidReaderHandlerToStruct< CacheOptions > >
 
using Ch = typename Parent::Ch
 
using Result = CacheOptions
 
- Static Public Attributes inherited from helper::json::RapidReaderHandlerToStruct< CacheOptions >
constexpr static rapidjson::ParseFlag k_parse_flags
 
- Protected Member Functions inherited from helper::json::RapidReaderHandlerToStruct< CacheOptions >
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< CacheOptions >
CacheOptions result_
 
const std::string separator_
 

Member Function Documentation

◆ handle_object_value()

template<typename ValueType >
void collector::anonymous_namespace{mysql_cache_manager.cc}::ParseCacheOptions::handle_object_value ( const std::string &  key,
const ValueType &  vt 
)
inline

◆ handle_value()

template<typename ValueType >
void collector::anonymous_namespace{mysql_cache_manager.cc}::ParseCacheOptions::handle_value ( const ValueType &  vt)
inline

◆ RawNumber()

bool collector::anonymous_namespace{mysql_cache_manager.cc}::ParseCacheOptions::RawNumber ( const Ch ,
rapidjson::SizeType  ,
bool   
)
inlineoverridevirtual

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

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

◆ String()

bool collector::anonymous_namespace{mysql_cache_manager.cc}::ParseCacheOptions::String ( const Ch v,
rapidjson::SizeType  v_len,
bool   
)
inlineoverridevirtual

◆ to_uint()

template<typename ValueType >
std::optional< uint32_t > collector::anonymous_namespace{mysql_cache_manager.cc}::ParseCacheOptions::to_uint ( const ValueType &  value)
inline

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