67 char csxml[] =
"<value><string>Now is the time <&</string></value>";
68 std::string ssxml = csxml;
80 std::string emptyStringXml(
"<value></value>");
82 XmlRpcValue emptyStringVal1(emptyStringXml, &offset);
84 assert(emptyStringVal1 == emptyStringVal2);
86 emptyStringXml =
"<value> </value>";
88 XmlRpcValue blankStringVal(emptyStringXml, &offset);
89 assert(std::string(blankStringVal) ==
" ");
135 struct1[
"str"] =
"two";
141 a[1] = std::string(
"two");
145 assert(struct1[
"d"] == a[2]);
150 " <name>i4</name> \n"
151 " <value><i4>1</i4></value> \n"
155 " <value><double>43.7</double></value>\n"
158 " <name>str</name> \n"
159 " <value> <string>two</string></value>\n"
165 assert(struct1 == structXml);
168 astruct[
"array"] = a;
169 assert(astruct[
"array"][2] == struct1[
"d"]);
171 for (
int i=0; i<10; i++) {
173 Event[
"Name"] =
"string";
177 const int NELMTS = 100;
180 for (ii=0; ii< NELMTS; ++ii) {
188 for (ii=0; ii< NELMTS; ++ii) {
194 for (
int jj=0; jj< NELMTS; ++jj) {
197 Event[buf][bufj] = bufj;
201 for (ii=0; ii< NELMTS; ++ii) {
207 assert(
Event[buf].size() == NELMTS);
sprintf(cut,"kal_costheta0_em>-0.93&&kal_costheta0_em<0.93&&kal_pxy0_em>=0.05+%d*0.1&&kal_pxy0_em<0.15+%d*0.1&&NGch>=2", j, j)