Bull DPX/20 Uživatelská příručka Strana 329

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 424
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 328
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.
Zobrazit stránku 328
1 2 ... 324 325 326 327 328 329 330 331 332 333 334 ... 423 424

Komentáře k této Příručce

Žádné komentáře