Skip navigation.

CORBA Programming Reference

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

 


CORBA::Context::set_one_value

Synopsis

Sets the value for a given attribute in the Context object.

C++ Binding

void CORBA::Context::set_one_value (
const char * AttrName,
const CORBA::Any & AttrValue);

Arguments

AttrName

The name of the attribute to set.

AttrValue

The value of the attribute. Currently, the BEA Tuxedo system supports only the string type; therefore, this parameter must contain a CORBA::Any object with a string inside.

Exceptions

CORBA::BAD_PARAM if AttrName is an empty string or AttrValue does not contain a string type.
CORBA::NO_MEMORY if dynamic memory allocation failed.

Description

This member function sets the value for a given attribute in the Context object. Currently, only string values are supported by the Context object. If the Context object already has an attribute with the given name, it is deleted first.

Return Values

None.

See Also

CORBA::Context::get_values
CORBA::Context::set_values

 

Skip navigation bar  Back to Top Previous Next