BOSS 7.1.2
BESIII Offline Software System
Loading...
Searching...
No Matches
ModerateSizeArrayCheck Class Reference
+ Inheritance diagram for ModerateSizeArrayCheck:

Public Member Functions

 ModerateSizeArrayCheck (XmlRpcServer *s)
 
void execute (XmlRpcValue &params, XmlRpcValue &result)
 Execute the method. Subclasses must provide a definition for this method.
 
- Public Member Functions inherited from XmlRpc::XmlRpcServerMethod
 XmlRpcServerMethod (std::string const &name, XmlRpcServer *server=0)
 Constructor.
 
virtual ~XmlRpcServerMethod ()
 Destructor.
 
std::string & name ()
 Returns the name of the method.
 
virtual std::string help ()
 

Additional Inherited Members

- Protected Attributes inherited from XmlRpc::XmlRpcServerMethod
std::string _name
 
XmlRpcServer_server
 

Detailed Description

Definition at line 131 of file Validator.cpp.

Constructor & Destructor Documentation

◆ ModerateSizeArrayCheck()

ModerateSizeArrayCheck::ModerateSizeArrayCheck ( XmlRpcServer * s)
inline

Definition at line 134 of file Validator.cpp.

134: XmlRpcServerMethod("validator1.moderateSizeArrayCheck", s) {}
XmlRpcServer s
Definition Validator.cpp:9
XmlRpcServerMethod(std::string const &name, XmlRpcServer *server=0)
Constructor.

Member Function Documentation

◆ execute()

void ModerateSizeArrayCheck::execute ( XmlRpcValue & params,
XmlRpcValue & result )
inlinevirtual

Execute the method. Subclasses must provide a definition for this method.

Implements XmlRpc::XmlRpcServerMethod.

Definition at line 136 of file Validator.cpp.

137 {
138 std::cerr << "ModerateSizeArrayCheck\n";
139 std::string s = params[0][0];
140 s += params[0][params[0].size()-1];
141 result = s;
142 }
int size() const
Return the size for string, base64, array, and struct values.

The documentation for this class was generated from the following file: