[Enterprise Extensions only]

Request::add_inout_arg

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


Intended Usage

The add_inout_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_in_arg method adds an element to the end of a CORBA::NVList by calling CORBA::NVList::add with argument passing mode CORBA::ARG_INOUT. When passed a string, the add_inout_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_INOUT.

IDL Syntax

  CORBA::Any &add_inout_arg();
  CORBA::Any &add_inout_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 input/output argument.