MIRA
Classes | Public Member Functions | Public Attributes | List of all members
MethodMeta Struct Reference

Meta information for RPC methods. More...

#include <serialization/MetaSerializer.h>

Classes

struct  Parameter
 

Public Member Functions

 MethodMeta ()
 
 MethodMeta (const std::string &iName, const std::string &iComment)
 
template<typename Reflector >
void reflect (Reflector &r)
 

Public Attributes

std::string name
 The name of the method. More...
 
std::string comment
 The user defined comment as specified in the r.method() call. More...
 
TypeMetaPtr returnType
 The meta type info of the return type. More...
 
std::list< Parameterparameters
 A list with info for each parameter. More...
 

Detailed Description

Meta information for RPC methods.

Constructor & Destructor Documentation

◆ MethodMeta() [1/2]

MethodMeta ( )
inline

◆ MethodMeta() [2/2]

MethodMeta ( const std::string &  iName,
const std::string &  iComment 
)
inline

Member Function Documentation

◆ reflect()

void reflect ( Reflector &  r)
inline

Member Data Documentation

◆ name

std::string name

The name of the method.

◆ comment

std::string comment

The user defined comment as specified in the r.method() call.

◆ returnType

TypeMetaPtr returnType

The meta type info of the return type.

◆ parameters

std::list<Parameter> parameters

A list with info for each parameter.


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