Request::add_out_arg

Overview Adds an output argument to the named value list of a DII request.
Original class CORBA::Request


Intended Usage

The add_out_arg method is used by a client program to populate the named value list associated with a CORBA::Request, which was created by calling CORBA::Object::_request. When called without a parameter, the add_out_arg method adds an element to the end of a CORBA::NVList by calling CORBA::NVList::add with argument passing mode CORBA::ARG_OUT. When passed a string, the add_out_arg method adds an element to the end of a CORBA::NVList by calling CORBA::NVList::add_item with the input argument name and argument passing mode CORBA::ARG_OUT.

Syntax

  CORBA::Any &add_out_arg();
  CORBA::Any &add_out_arg(const char *name);

Input parameters

name
The name of the argument to be added. It is legal to pass a null pointer. If specified, the input name should match the argument name specified in the IDL definition for the operation.

Return values

CORBA::Any &
The value associated with the newly created named value, to be set by the caller with the value of the output argument.

Related reference
CORBA module



Searchable topic ID:   rcor_modrq5
Last updated: Jun 21, 2007 8:07:48 PM CDT    WebSphere Business Integration Server Foundation, Version 5.0.2
http://publib.boulder.ibm.com/infocenter/wasinfo/index.jsp?topic=/com.ibm.wasee.doc/info/ee/corba/ref/rcor_modrq5.html

Library | Support | Terms of Use | Feedback