#include <Pt/JsonRpc/ServiceDeclaration.h>
Declares named parameter mappings for JSON-RPC procedures. More...
Public Member Functions | |
| ServiceDeclaration () | |
| Default constructor. | |
| void | addProcedure (const std::string &procedure, const ProcedureDeclaration &decl) |
| Associates a ProcedureDeclaration with a procedure name. | |
| const ProcedureDeclaration * | getProcedure (const std::string &procedure) const |
| Returns the ProcedureDeclaration for a procedure, or nullptr. | |
Associates a ProcedureDeclaration (name-to-position mapping) with each procedure name. Used together with a Remoting::ServiceDefinition which provides the runtime procedure registration.