发明名称 METHOD AND SYSTEM FOR AGGREGATING OBJECTS
摘要 A method and system for aggregating objects within a computer system are provided. In a preferred embodiment, the method aggregates an enclosed object within an enclosing object. The enclosed object has an object management interface and an external interface, while the enclosing object has a controlling object management interface. Each interface exposed to a client by the aggregate object has a query function member for receiving an identifier of an interface and for returning a reference to the identified interface. A preferred method creates an instance of the enclosing object. The query function member of the controlling object management interface of the enclosing object receives an identifier of an interface exposed by the enclosing object and returns a reference to the exposed interface. A preferred method also creates an instance of the enclosed object. The query function member of the external interface of the enclosed object receives an identifier of an interface, invokes the query function member of the controlling object management interface of the enclosing object passing the received identifier, and returns the reference returned by the invoked query function member of the controlling object management interface of the enclosing object as a reference to the identified interface.
申请公布号 CA2113417(C) 申请公布日期 2000.02.22
申请号 CA19932113417 申请日期 1993.12.17
申请人 MICROSOFT CORPORATION 发明人 HODGES, C. DOUGLAS;KOPPOLU, SRINIVASA R.;MACKICHAN, BARRY B.;WITTENBERG, CRAIG
分类号 G06F9/06;G06F9/42;G06F9/44;(IPC1-7):G06F7/00 主分类号 G06F9/06
代理机构 代理人
主权项
地址