Skip navigation.

CORBA Programming Reference

  Previous Next vertical dots separating previous/next from contents/index/pdf Contents View as PDF   Get Adobe Reader

 


CORBA::NVList::add

Synopsis

Constructs a NamedValue object with an unnamed item, setting only the flags attribute.

C++ Binding

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

Argument

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 with an unnamed item, setting only the flags attribute. 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, a CORBA::NO_MEMORY exception is thrown.

See Also

CORBA::NVList::add
CORBA::NVList::add_item
CORBA::NVList::add_value
CORBA::NVList::count
CORBA::NVList::remove

 

Skip navigation bar  Back to Top Previous Next