Kanzi Connect  1.1.10
Kanzi Connect C++ API
kanzi::connect::MethodDescription Class Reference

Represents a method. More...

#include <generic_invoker.hpp>

Public Member Functions

int getArgumentIndex (const string &name) const
 Retrieve argument by name. More...
 
bool hasReturnValue () const
 Does the method define return value. More...
 
bool mergeTypeInformationFrom (const MethodDescription &other)
 Verifies type information and merges relevant stuff from a method description. More...
 
bool valid ()
 Is object valid. More...
 

Public Attributes

vector< ArgumentDescriptionm_arguments
 
string m_name
 
string m_return
 
string m_script
 
string m_servicename
 
string m_type
 

Detailed Description

Represents a method.

Member Function Documentation

◆ getArgumentIndex()

int kanzi::connect::MethodDescription::getArgumentIndex ( const string &  name) const

Retrieve argument by name.

Parameters
namethe name of method to retrieve.

◆ hasReturnValue()

bool kanzi::connect::MethodDescription::hasReturnValue ( ) const

Does the method define return value.

Returns
true if return value is defined.

◆ mergeTypeInformationFrom()

bool kanzi::connect::MethodDescription::mergeTypeInformationFrom ( const MethodDescription other)

Verifies type information and merges relevant stuff from a method description.

Parameters
otherthe other object to compare to /this/
Returns
true if objects are compatible.

◆ valid()

bool kanzi::connect::MethodDescription::valid ( )

Is object valid.

Member Data Documentation

◆ m_arguments

vector<ArgumentDescription> kanzi::connect::MethodDescription::m_arguments

◆ m_name

string kanzi::connect::MethodDescription::m_name

◆ m_return

string kanzi::connect::MethodDescription::m_return

◆ m_script

string kanzi::connect::MethodDescription::m_script

◆ m_servicename

string kanzi::connect::MethodDescription::m_servicename

◆ m_type

string kanzi::connect::MethodDescription::m_type

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