MethodDescription

class kanzi::connect::MethodDescription

Represents a method.

Public Functions

int getArgumentIndex(const string &name) const

Retrieve argument by name.

Parameters
  • name: the name of method to retrieve.

bool hasReturnValue() const

Does the method define return value.

Return

true if return value is defined.

bool mergeTypeInformationFrom(const MethodDescription &other)

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

Return

true if objects are compatible.

Parameters
  • other: the other object to compare to /this/

bool valid()

Is object valid.

Public Members

vector<ArgumentDescription> m_arguments
string m_name
string m_return
string m_script
string m_servicename
string m_type