Tuxedo
0

Administering a Tuxedo Application at Run Time

 Previous Next Contents View as PDF  

CORBA::NVList::add_value

Synopsis

Constructs a NamedValue object, initializing the name, value, and flags attribute.

C++ Binding

CORBA::NamedValue_ptr CORBA::NVList::add_value (
const char * Name,
const CORBA::Any & Value,
CORBA::Flags Flags);

Arguments

Name

The name of the list item.

Value

The value of the list item.

Flags

Flags to determine argument passing. Valid values are:

           CORBA::ARG_IN 
CORBA::ARG_INOUT
CORBA::ARG_OUT

Description

This member function constructs a NamedValue object, initializing the name, value, and flags attributes. The NamedValue object is added to the NVList object that the call was invoked upon.

The NVList object grows dynamically; your application does not need to track its size.

Return Values

If the function succeeds, the return value is a pointer to the newly created NamedValue object. The returned NamedValue object reference is owned by the NVList and should not be released.

If the member function does not succeed, an exception is raised.

See Also

CORBA::NVList::add
CORBA::NVList::add_item
CORBA::NVList::count
CORBA::NVList::item
CORBA::NVList::remove

 

Back to Top Previous Next
Contact e-docsContact BEAwebmasterprivacy