|
| MessageHandler () |
|
bool | StartObject () |
|
bool | String (const char *str, SizeType length, bool) |
|
bool | EndObject (SizeType) |
|
bool | Default () |
|
Public Member Functions inherited from BaseReaderHandler< UTF8<>, MessageHandler > |
bool | Default () |
|
bool | Null () |
|
bool | Bool (bool) |
|
bool | Int (int) |
|
bool | Uint (unsigned) |
|
bool | Int64 (int64_t) |
|
bool | Uint64 (uint64_t) |
|
bool | Double (double) |
|
bool | RawNumber (const Ch *str, SizeType len, bool copy) |
| enabled via kParseNumbersAsStringsFlag, string is not null-terminated (use length)
|
|
bool | String (const Ch *, SizeType, bool) |
|
bool | StartObject () |
|
bool | Key (const Ch *str, SizeType len, bool copy) |
|
bool | EndObject (SizeType) |
|
bool | StartArray () |
|
bool | EndArray (SizeType) |
|
Definition at line 25 of file messagereader.cpp.
◆ State
Enumerator |
---|
kExpectObjectStart | |
kExpectNameOrObjectEnd | |
kExpectValue | |
Definition at line 59 of file messagereader.cpp.
59 {
enum MessageHandler::State state_
◆ MessageHandler()
MessageHandler::MessageHandler |
( |
| ) |
|
|
inline |
◆ Default()
bool MessageHandler::Default |
( |
| ) |
|
|
inline |
◆ EndObject()
bool MessageHandler::EndObject |
( |
SizeType | | ) |
|
|
inline |
◆ StartObject()
bool MessageHandler::StartObject |
( |
| ) |
|
|
inline |
Definition at line 29 of file messagereader.cpp.
29 {
33 return true;
34 default:
35 return false;
36 }
37 }
◆ String()
bool MessageHandler::String |
( |
const char * | str, |
|
|
SizeType | length, |
|
|
bool | ) |
|
inline |
Definition at line 39 of file messagereader.cpp.
39 {
42 name_ = string(str, length);
44 return true;
46 messages_.insert(MessageMap::value_type(
name_,
string(str, length)));
48 return true;
49 default:
50 return false;
51 }
52 }
◆ messages_
◆ name_
std::string MessageHandler::name_ |
◆ state_
The documentation for this struct was generated from the following file: