Poco::UPnP::UPnPGen

class Action

Library: UPnP/UPnPGen
Package: Generator
Header: Poco/UPnP/UPnPGen/Action.h

Description

The Action contains a upnp service description

Member Summary

Member Functions: arguments, getReturnArgument, hasReturnArgument, methodName, name, optional, setReturnArgument

Types

Arguments

typedef std::vector < Argument > Arguments;

Constructors

Action

Action();

Creates the Action.

Destructor

~Action

~Action();

Destroys the Action.

Member Functions

arguments inline

Arguments & arguments();

Returns the in and out arguments without the return parameter

arguments

const Arguments & arguments() const;

Returns the in and out arguments without the return parameter

getReturnArgument inline

const Argument & getReturnArgument() const;

Will throw if no return argument is set

hasReturnArgument inline

bool hasReturnArgument() const;

Returns true if ta return argument exists

methodName

std::string methodName() const;

Returns the name of the method implementing the action.

name inline

const std::string & name() const;

name

void name(
    const std::string & n
);

optional inline

bool optional() const;

optional

void optional(
    bool val
);

setReturnArgument inline

void setReturnArgument(
    const Argument & arg
);

Sets a argument as return argument