MIRA
|
Contains information on an existing RPC method: the signature of the method, comments, etc. More...
#include <rpc/RPCServer.h>
Classes | |
class | ReflectMethodParamsDocumentation |
Public Member Functions | |
MethodInfo () | |
MethodInfo (const RPCSignature &iSignature, const std::string &iComment) | |
MethodInfo (const RPCSignature &iSignature, const std::string &iComment, const ParameterDescriptions &iParameterDescriptions) | |
template<typename Reflector > | |
void | reflect (Reflector &r) |
template<typename Reflector > | |
void | reflectBinaryV0 (Reflector &r) |
template<typename Stream > | |
void | reflect (ConcreteBinarySerializer< Stream, 0 > &r) |
template<typename Stream > | |
void | reflect (ConcreteBinaryDeserializer< Stream, 0 > &r) |
bool | operator< (const MethodInfo &rhs) const |
bool | operator== (const MethodInfo &rhs) const |
std::string | extendedSignature () const |
std::string | parameterDescriptions (const std::string &prefix="") const |
std::string | sampleParametersSet (bool formatted=false) const |
Public Attributes | |
RPCSignature | signature |
The signature of the method (including its name) More... | |
std::string | comment |
User comments and description. More... | |
ParameterDescriptions | parameterDesc |
User info on method parameters. More... | |
bool | parameterSamplesDefault |
Sample parameter values. More... | |
std::list< json::Value > | parameterSamples |
Contains information on an existing RPC method: the signature of the method, comments, etc.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
std::string extendedSignature | ( | ) | const |
std::string parameterDescriptions | ( | const std::string & | prefix = "" | ) | const |
prefix | Prefix that is output on the beginning of each line (usable e.g. for indentation) |
std::string sampleParametersSet | ( | bool | formatted = false | ) | const |
RPCSignature signature |
The signature of the method (including its name)
std::string comment |
User comments and description.
ParameterDescriptions parameterDesc |
User info on method parameters.
bool parameterSamplesDefault |
Sample parameter values.
std::list<json::Value> parameterSamples |