Definition at line 124 of file fl_json_message_codec.cc.
◆ FlValueHandler()
FlValueHandler::FlValueHandler |
( |
| ) |
|
|
inline |
◆ ~FlValueHandler()
FlValueHandler::~FlValueHandler |
( |
| ) |
|
|
inline |
◆ add()
bool FlValueHandler::add |
( |
FlValue * |
value | ) |
|
|
inline |
Definition at line 161 of file fl_json_message_codec.cc.
164 if (head ==
nullptr) {
173 "Can't add value to non container");
References error, FL_MESSAGE_CODEC_ERROR, FL_MESSAGE_CODEC_ERROR_FAILED, fl_value_append(), fl_value_get_type(), fl_value_ref(), fl_value_set_take(), FL_VALUE_TYPE_LIST, FL_VALUE_TYPE_MAP, get_head(), key, push(), and value.
Referenced by Bool(), Double(), Int(), Int64(), Null(), StartArray(), StartObject(), String(), Uint(), and Uint64().
◆ Bool()
bool FlValueHandler::Bool |
( |
bool |
b | ) |
|
|
inline |
◆ Double()
bool FlValueHandler::Double |
( |
double |
d | ) |
|
|
inline |
◆ EndArray()
bool FlValueHandler::EndArray |
( |
rapidjson::SizeType |
elementCount | ) |
|
|
inline |
◆ EndObject()
bool FlValueHandler::EndObject |
( |
rapidjson::SizeType |
memberCount | ) |
|
|
inline |
◆ get_head()
FlValue* FlValueHandler::get_head |
( |
| ) |
|
|
inline |
◆ Int()
bool FlValueHandler::Int |
( |
int |
i | ) |
|
|
inline |
◆ Int64()
bool FlValueHandler::Int64 |
( |
int64_t |
i | ) |
|
|
inline |
◆ Key()
bool FlValueHandler::Key |
( |
const char * |
str, |
|
|
rapidjson::SizeType |
length, |
|
|
bool |
copy |
|
) |
| |
|
inline |
◆ Null()
bool FlValueHandler::Null |
( |
| ) |
|
|
inline |
◆ pop()
void FlValueHandler::pop |
( |
| ) |
|
|
inline |
◆ push()
void FlValueHandler::push |
( |
FlValue * |
value | ) |
|
|
inline |
◆ RawNumber()
bool FlValueHandler::RawNumber |
( |
const char * |
str, |
|
|
rapidjson::SizeType |
length, |
|
|
bool |
copy |
|
) |
| |
|
inline |
◆ StartArray()
bool FlValueHandler::StartArray |
( |
| ) |
|
|
inline |
◆ StartObject()
bool FlValueHandler::StartObject |
( |
| ) |
|
|
inline |
◆ String()
bool FlValueHandler::String |
( |
const char * |
str, |
|
|
rapidjson::SizeType |
length, |
|
|
bool |
copy |
|
) |
| |
|
inline |
◆ Uint()
bool FlValueHandler::Uint |
( |
unsigned |
i | ) |
|
|
inline |
◆ Uint64()
bool FlValueHandler::Uint64 |
( |
uint64_t |
i | ) |
|
|
inline |
◆ error
GError* FlValueHandler::error |
◆ key
◆ stack
GPtrArray* FlValueHandler::stack |
The documentation for this struct was generated from the following file: