:: com :: sun :: star :: uno ::

interface XAggregation

Methods' Summary
setDelegator sets the object to which all calls to the method XInterface::queryInterface() have to be forwarded.  
queryAggregation is similar to XInterface::queryInterface(), but it is to be processed directly without being forwarded to the delegator.  
Methods' Details
setDelegator
void
setDelegator( [in] XInterface  pDelegator );

Description
sets the object to which all calls to the method XInterface::queryInterface() have to be forwarded.
Parameter pDelegator
specifies the object which handles the calls to XInterface::queryInterface(). If pDelegator is NULL, the delegator is removed and thus the object becomes its own delegator and has to handle calls to the method XInterface::queryInterface() itself.
See also
XAggregation::queryAggregation
queryAggregation
any
queryAggregation( [in] type  aType );

Description
is similar to XInterface::queryInterface(), but it is to be processed directly without being forwarded to the delegator.

This method is only called from within an implementation of XInterface::queryInterface() or XAggregation::queryAggregation(). This method is to be called by the delegator if it does not implement the interface itself. An object which got aggregated cannot depend on getting its own interface when it calls the method XInterface::queryInterface().

See also
XAggregation::setDelegator
Top of Page