Definition at line 45 of file HelloServer.cpp.
◆ Sum()
Definition at line 48 of file HelloServer.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 50 of file HelloServer.cpp.
51 {
52 int nArgs = params.
size();
53 double sum = 0.0;
54 for (int i=0; i<nArgs; ++i)
55 sum += double(params[i]);
56 result = sum;
57 }
int size() const
Return the size for string, base64, array, and struct values.
The documentation for this class was generated from the following file: