top
|
up
|
prev
|
next
MessageLine Struct
Definition at line
84
of
MessageBody.hpp
Constructors
MessageLine
()
MessageLine
(
JsonValue
* value)
Member Functions
std::unique_ptr<
JsonValue
>
ToJson
()
const
Member Variables
std::string
line
Constructor Details
MessageLine Constructor
MessageLine::MessageLine()
Definition at line
189
of
MessageBody.cpp
:
189
:
line
(
)
190
{
191
}
Declaration at line
86
of
MessageBody.hpp
MessageLine Constructor
MessageLine::MessageLine(
JsonValue
* value)
Definition at line
201
of
MessageBody.cpp
:
202
{
203
sngjson
::
json
::
FromJson
(
value
,
"line"
,
line
)
;
204
}
Declaration at line
87
of
MessageBody.hpp
Member Function Details
ToJson Member Function
std::unique_ptr<
JsonValue
> MessageLine::ToJson()
const
Definition at line
193
of
MessageBody.cpp
:
194
{
195
std
::
unique_ptr
<
soulng
::
util
::
JsonObject
>
object
(
new
soulng
::
util
::
JsonObject
(
)
)
;
196
std
::
unique_ptr
<
soulng
::
util
::
JsonValue
>
fieldValue0
=
sngjson
::
json
::
ToJson
(
line
)
;
197
object
->
AddField
(
U"line"
,
std
::
move
(
fieldValue0
)
)
;
198
return
object
;
199
}
Declaration at line
88
of
MessageBody.hpp
top
|
up
|
prev
|
next