top
|
up
|
prev
|
next
JsonBool Class
Definition at line
65
of
Json.hpp
Constructors
JsonBool
()
JsonBool
(
bool
value_)
Member Functions
JsonValue
*
Clone
()
const override
std::string
ToString
()
const override
bool
Value
()
const
Member Variables
bool
value
Constructor Details
JsonBool Constructor
soulng::util::JsonBool::JsonBool()
Definition at line
112
of
Json.cpp
:
112
:
JsonValue
(
JsonValueType
::
boolean
)
,
value
(
false
)
113
{
114
}
Declaration at line
68
of
Json.hpp
JsonBool Constructor
soulng::util::JsonBool::JsonBool(
bool
value_)
Definition at line
116
of
Json.cpp
:
116
:
JsonValue
(
JsonValueType
::
boolean
)
,
value
(
value_
)
117
{
118
}
Declaration at line
69
of
Json.hpp
Member Function Details
Clone Member Function
JsonValue
* soulng::util::JsonBool::Clone()
const override
Definition at line
120
of
Json.cpp
:
121
{
122
return
new
JsonBool
(
value
)
;
123
}
Declaration at line
70
of
Json.hpp
Base class overridden functions:
soulng::util::JsonValue::Clone
ToString Member Function
std::string soulng::util::JsonBool::ToString()
const override
Definition at line
125
of
Json.cpp
:
126
{
127
return
value
?
"true"
:
"false"
;
128
}
Declaration at line
72
of
Json.hpp
Base class overridden functions:
soulng::util::JsonValue::ToString
Value Member Function
bool
soulng::util::JsonBool::Value()
const
Definition at line
71
of
Json.hpp
:
71
{
return
value
;
}
top
|
up
|
prev
|
next