Definition at line 153 of file Validator.cpp.
◆ NestedStructTest()
Definition at line 156 of file Validator.cpp.
XmlRpcServerMethod(std::string const &name, XmlRpcServer *server=0)
Constructor.
◆ execute()
Execute the method. Subclasses must provide a definition for this method.
Implements XmlRpc::XmlRpcServerMethod.
Definition at line 158 of file Validator.cpp.
159 {
160 std::cerr << "NestedStructTest\n";
161 XmlRpcValue& dayStruct = params[0][
"2000"][
"04"][
"01"];
162 int sum = int(dayStruct["moe"]) + int(dayStruct["larry"]) + int(dayStruct["curly"]);
163 result = sum;
164 }
RPC method arguments and results are represented by Values.
The documentation for this class was generated from the following file: