bool_test.cpp
Go to the documentation of this file.
00001 // bool_test.cpp : make sure bool variables copy around ok
00002 #include "XmlRpc.h"
00003 #include <iostream>
00004 #include <stdlib.h>
00005 
00006 using namespace XmlRpc;
00007 using namespace std;
00008 
00009 int main(int argc, char* argv[])
00010 {
00011   XmlRpcValue v(bool(false));
00012   cout << v.toXml() << endl;
00013   XmlRpcValue v2;
00014   v2[0] = int(1);
00015   v2[1] = string();
00016   v2[2] = XmlRpcValue(false);
00017   cout << v2.toXml() << endl;
00018 
00019   return 0;
00020 }
00021 


xmlrpcpp
Author(s): Chris Morley and Konstantin Pilipchuk, slight modifications and ROS wrapping by Morgan Quigley
autogenerated on Sat Dec 28 2013 17:42:59