3-23
Interface Repository Framework Reference
describe_interface Method
Purpose
Returns (from the Interface Repository) a description of all the methods and attributes of an
interface definition.
IDL Syntax
FullInterfaceDescription describe_interface ( );
Description
The describe_interface method returns a description of all the methods and attributes of
an interface definition that are held in the Interface Repository.
When finished using the FullInterfaceDescription returned by this method, the client code
is responsible for freeing the _buffer fields of the two sequences it contains. In C, this can
be accomplished as follows:
if (fid.operation._length)
SOMFree (fid.operation._buffer); /* Release the buffer
*/
if (fid.attributes._length)
SOMFree (fid.attributes._buffer); /* Release the buffer
*/
Parameters
receiver A pointer to an object of class InterfaceDef representing the Interface
Repository object where an interface definition is stored.
ev A pointer where the method can return exception information if an error is
encountered.
Return Value
The describe_interface method returns a description of all the methods and attributes of
an interface definition that are held in the Interface Repository.
Commenti su questo manuale