#include <parse_file_sharing_options.h>
|
template<typename ValueType , typename Container > |
bool | push_value_when_matches (const std::string &starts, const std::string &key, const ValueType &vt, Container *push_to) |
|
template<typename ValueType > |
void | handle_array_value (const std::string &key, const ValueType &vt) |
|
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< FileSharing > |
| RapidReaderHandlerToStruct (const std::string &separator=".") |
|
virtual | ~RapidReaderHandlerToStruct ()=default |
|
const FileSharing & | 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) |
|
|
template<typename T > |
std::string | to_string (const T &v) |
|
std::string | to_string (const std::string &str) |
|
template<typename T > |
std::string | from_base64 (const T &str) |
|
std::string | from_base64 (const std::string &str) |
|
template<typename Container > |
void | push_key_value (Container *c, const std::string &, const std::string &value) |
|
void | push_key_value (std::map< std::string, std::string > *c, const std::string &key, const std::string &value) |
|
◆ Bool()
bool mrs::json::ParseFileSharingOptions::Bool |
( |
bool |
v | ) |
|
|
inlineoverridevirtual |
◆ from_base64() [1/2]
std::string mrs::json::ParseFileSharingOptions::from_base64 |
( |
const std::string & |
str | ) |
|
|
inlineprivate |
◆ from_base64() [2/2]
std::string mrs::json::ParseFileSharingOptions::from_base64 |
( |
const T & |
str | ) |
|
|
inlineprivate |
◆ handle_array_value()
template<typename ValueType >
void mrs::json::ParseFileSharingOptions::handle_array_value |
( |
const std::string & |
key, |
|
|
const ValueType & |
vt |
|
) |
| |
|
inline |
◆ handle_object_value()
template<typename ValueType >
void mrs::json::ParseFileSharingOptions::handle_object_value |
( |
const std::string & |
key, |
|
|
const ValueType & |
vt |
|
) |
| |
|
inline |
◆ handle_value()
template<typename ValueType >
void mrs::json::ParseFileSharingOptions::handle_value |
( |
const ValueType & |
vt | ) |
|
|
inline |
◆ push_key_value() [1/2]
template<typename Container >
void mrs::json::ParseFileSharingOptions::push_key_value |
( |
Container * |
c, |
|
|
const std::string & |
, |
|
|
const std::string & |
value |
|
) |
| |
|
inlineprivate |
◆ push_key_value() [2/2]
void mrs::json::ParseFileSharingOptions::push_key_value |
( |
std::map< std::string, std::string > * |
c, |
|
|
const std::string & |
key, |
|
|
const std::string & |
value |
|
) |
| |
|
inlineprivate |
◆ push_value_when_matches()
template<typename ValueType , typename Container >
bool mrs::json::ParseFileSharingOptions::push_value_when_matches |
( |
const std::string & |
starts, |
|
|
const std::string & |
key, |
|
|
const ValueType & |
vt, |
|
|
Container * |
push_to |
|
) |
| |
|
inline |
◆ RawNumber()
◆ String()
◆ to_string() [1/2]
std::string mrs::json::ParseFileSharingOptions::to_string |
( |
const std::string & |
str | ) |
|
|
inlineprivate |
◆ to_string() [2/2]
std::string mrs::json::ParseFileSharingOptions::to_string |
( |
const T & |
v | ) |
|
|
inlineprivate |
The documentation for this class was generated from the following file: