2-102
SOMobjects Base Toolkit: Programmer’s Reference Manual
get_interface Method
Purpose
Returns the interface definition object for the referenced object.
IDL Syntax
InterfaceDef get_interface ( );
Description
The get_interface method returns the interface definition object for the referenced object.
Parameters
receiver A pointer to a SOMDObject object.
env A pointer to the Environment structure for the method caller.
Return Value
The get_interface method returns a pointer to the InterfaceDef object associated with the
reference receiver. Ownership of the InterfaceDef object is passed to the caller.
Example
#include <somd.h>
#include <repostry.h>
#include <intfacdf.h>
Environment ev;
SOMDObject objref;
InterfaceDef intf;
...
intf = _get_interface(objref,&ev);
Original Class
SOMDObject
Related Information
Methods: get_implementation
Komentáře k této Příručce