Library: UPnP/UPnPGen
Package: Generator
Header: Poco/UPnP/UPnPGen/Action.h
The Action contains a upnp service description
Member Functions: arguments, getReturnArgument, hasReturnArgument, methodName, name, optional, setReturnArgument
typedef std::vector < Argument > Arguments;
Action();
Creates the Action.
~Action();
Destroys the Action.
Arguments & arguments();
Returns the in and out arguments without the return parameter
const Arguments & arguments() const;
Returns the in and out arguments without the return parameter
const Argument & getReturnArgument() const;
Will throw if no return argument is set
bool hasReturnArgument() const;
Returns true if ta return argument exists
std::string methodName() const;
Returns the name of the method implementing the action.
const std::string & name() const;
void name(
const std::string & n
);
bool optional() const;
void optional(
bool val
);
void setReturnArgument(
const Argument & arg
);
Sets a argument as return argument