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::parent

Synopsis

Returns the parent context of the Context object.

C++ Binding

CORBA::Context_ptr CORBA::Context::parent () const;

Arguments

None.

Description

This member function returns the parent context of the Context object. The parent of the Context object is an attribute owned by the Context and should not be modified or freed by the caller. This parent is nil unless the Context object was created using the CORBA::Context::create_child member function.

Return Values

If the member function succeeds, the parent context of the Context object is returned. The parent context may be nil. Use the CORBA::is_nil member function to test for a nil object reference.

If the member function does not succeed, an exception is thrown. Use the CORBA::is_nil member function to test for a nil object reference.

 

Skip navigation bar  Back to Top Previous Next