![]() |
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.
IDL 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.