MIRA
Public Types | Public Member Functions | Public Attributes | Friends | List of all members
RPCSignature Struct Reference

Stores the signature of an RPC method including the methods name and its parameter types. More...

#include <rpc/RPCSignature.h>

Public Types

typedef std::string ReturnType
 
typedef std::vector< std::string > ParameterTypes
 

Public Member Functions

 RPCSignature ()
 
 RPCSignature (const std::string &iName)
 
 RPCSignature (std::string &&iName)
 
bool operator< (const RPCSignature &rhs) const
 
bool operator== (const RPCSignature &rhs) const
 
template<typename Reflector >
void reflect (Reflector &r)
 

Public Attributes

std::string name
 The method's name. More...
 
ReturnType returnType
 The return type of the method. More...
 
ParameterTypes parameterTypes
 Vector of the type of each parameter. More...
 

Friends

std::ostream & operator<< (std::ostream &s, const RPCSignature &v)
 

Detailed Description

Stores the signature of an RPC method including the methods name and its parameter types.

Member Typedef Documentation

◆ ReturnType

typedef std::string ReturnType

◆ ParameterTypes

typedef std::vector<std::string> ParameterTypes

Constructor & Destructor Documentation

◆ RPCSignature() [1/3]

RPCSignature ( )
inline

◆ RPCSignature() [2/3]

RPCSignature ( const std::string &  iName)
inline

◆ RPCSignature() [3/3]

RPCSignature ( std::string &&  iName)
inline

Member Function Documentation

◆ operator<()

bool operator< ( const RPCSignature rhs) const
inline

◆ operator==()

bool operator== ( const RPCSignature rhs) const
inline

◆ reflect()

void reflect ( Reflector &  r)
inline

Friends And Related Function Documentation

◆ operator<<

std::ostream& operator<< ( std::ostream &  s,
const RPCSignature v 
)
friend

Member Data Documentation

◆ name

std::string name

The method's name.

◆ returnType

ReturnType returnType

The return type of the method.

◆ parameterTypes

ParameterTypes parameterTypes

Vector of the type of each parameter.


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