Main Page
+
Namespaces
Namespace List
+
Namespace Members
+
All
a
b
d
f
g
i
m
n
p
r
s
t
v
x
Functions
Variables
Enumerations
Enumerator
+
Classes
Class List
Class Hierarchy
+
Class Members
+
All
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
v
w
x
~
+
Functions
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
v
w
x
~
+
Variables
_
a
b
c
d
e
f
h
i
l
m
p
r
s
Typedefs
Enumerations
Enumerator
+
Files
File List
+
File Members
+
All
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
w
x
+
Functions
_
a
b
c
e
h
i
l
m
n
o
p
s
t
+
Variables
a
b
c
d
e
f
g
h
l
n
p
r
s
x
Enumerations
Enumerator
Macros
standalone-tests
bool_test.cpp
Go to the documentation of this file.
1
// bool_test.cpp : make sure bool variables copy around ok
2
#include "
xmlrpcpp/XmlRpc.h
"
3
#include <iostream>
4
#include <stdlib.h>
5
6
using namespace
XmlRpc
;
7
using namespace
std
;
8
9
int
main
(
int
argc,
char
* argv[])
10
{
11
XmlRpcValue
v(
bool
(
false
));
12
cout << v.
toXml
() << endl;
13
XmlRpcValue
v2;
14
v2[0] = int(1);
15
v2[1] = string();
16
v2[2] =
XmlRpcValue
(
false
);
17
cout << v2.
toXml
() << endl;
18
19
return
0;
20
}
21
XmlRpc
Definition:
XmlRpcClient.h:20
XmlRpc.h
XmlRpc::XmlRpcValue
RPC method arguments and results are represented by Values.
Definition:
XmlRpcValue.h:24
std
XmlRpc::XmlRpcValue::toXml
std::string toXml() const
Encode the Value in xml.
Definition:
XmlRpcValue.cpp:277
main
int main(int argc, char *argv[])
Definition:
bool_test.cpp:9
xmlrpcpp
Author(s): Chris Morley, Konstantin Pilipchuk, Morgan Quigley, Austin Hendrix, Dirk Thomas
autogenerated on Mon Feb 28 2022 23:33:22