CORBA Programming Reference
Returns the parent context of the Context object.
CORBA::Context_ptr CORBA::Context::parent () const;
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.
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.