CORBA Programming Reference
Sets the values for given attributes in the Context object.
void CORBA::Context::set_values (
CORBA::NVList_ptr AttrValue);
CORBA::BAD_PARAM
if any of the attribute values has a value that is not a string type.CORBA::NO_MEMORY
if dynamic memory allocation failed.
This member function sets the values for given attributes in the Context object. The CORBA::NVList
member function contains the property name and value pairs to be set.
CORBA::Context::get_values
CORBA::Context::set_one_value
The ContextList allows a client or server application to provide a list of context strings that must be supplied with Request invocation. For a description of the Request member functions, see the section Request Member Functions on page 14-102.
The ContextList differs from the Context in that the former supplies only the context strings whose values are to be looked up and sent with the request invocation (if applicable), while the latter is where those values are obtained. For a description of the Context member functions, see the section Context Member Functions.
The mapping of these member functions to C++ is as follows:
class CORBA
{
class ContextList
{
public:
Ulong count ();
void add(const char* ctxt);
void add_consume(char* ctxt);
const char* item(Ulong index);
Status remove(Ulong index);
}; // ContextList
}// CORBA