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

interface XAggregation
Developers Guide
WritingUNO - Core Interfaces to Implement
WritingUNO - 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 xDelegator
specifies the object which handles the calls to XInterface::queryInterface(). If xDelegator 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