NVList::add

Overview Adds an element to the end of a named value list.
Original class CORBA::NVList


Intended Usage

The add method is used by a client program to populate the NVList associated with a DII request. The add method adds an element to the end of a named value list. The newly created named value is empty, except for the flags. See also the add_item, add_item_consume, add_value, and add_value_consume methods, which perform the same task but differ in memory management and how the newly created named value is initialized.

Syntax

  CORBA::NamedValue_ptr add(CORBA::Flags flags);

Input parameters

flags
A bitmask describing the argument. The following standard flag values identify the argument passing mode:
CORBA::ARG_IN
The associated value is an input-only argument.
CORBA::ARG_OUT
The associated value is an output-only argument.
CORBA::ARG_INOUT
The associated value is an in/out argument.

Return values

CORBA::NamedValue_ptr
A pointer to the newly created named value. Ownership of the return value is maintained by the NVList; the return value must not be freed by the caller.

Related reference
CORBA module



Searchable topic ID:   rcor_modnv3
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_modnv3.html

Library | Support | Terms of Use | Feedback