top
|
up
|
prev
|
next
MessageShown Struct
Definition at line
92
of
MessageBody.hpp
Constructors
MessageShown
()
MessageShown
(
JsonValue
* value)
Member Functions
std::unique_ptr<
JsonValue
>
ToJson
()
const
Member Variables
std::string
error
Constructor Details
MessageShown Constructor
MessageShown::MessageShown()
Definition at line
206
of
MessageBody.cpp
:
206
:
error
(
)
207
{
208
}
Declaration at line
94
of
MessageBody.hpp
MessageShown Constructor
MessageShown::MessageShown(
JsonValue
* value)
Definition at line
218
of
MessageBody.cpp
:
219
{
220
sngjson
::
json
::
FromJson
(
value
,
"error"
,
error
)
;
221
}
Declaration at line
95
of
MessageBody.hpp
Member Function Details
ToJson Member Function
std::unique_ptr<
JsonValue
> MessageShown::ToJson()
const
Definition at line
210
of
MessageBody.cpp
:
211
{
212
std
::
unique_ptr
<
soulng
::
util
::
JsonObject
>
object
(
new
soulng
::
util
::
JsonObject
(
)
)
;
213
std
::
unique_ptr
<
soulng
::
util
::
JsonValue
>
fieldValue0
=
sngjson
::
json
::
ToJson
(
error
)
;
214
object
->
AddField
(
U"error"
,
std
::
move
(
fieldValue0
)
)
;
215
return
object
;
216
}
Declaration at line
96
of
MessageBody.hpp
top
|
up
|
prev
|
next