Bull DPX/20 Betriebsanweisung Seite 214

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 424
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 213
2-46
SOMobjects Base Toolkit: Programmers Reference Manual
find_impldef_by_class Method
Purpose
Returns a sequence of implementation definitions for servers that are associated with a
specified class.
IDL Syntax
sequence<ImplementationDef> find_impldef_by_class (
in string classname);
Description
Returns a sequence of ImplementationDefs for those servers that have registered an
association with a specified class. Typically, a server will be associated with the classes it
knows how to implement by registering its known classes via the add_class_to_impldef
method.
Parameters
receiver A pointer to the ImplRepository object.
env A pointer to the Environment structure for the method caller.
classname A string whose value is the class name of interest.
Return Value
Copies of all ImplementationDef objects are returned in a sequence. Ownership of the
sequence structure, the object array buffer, and the objects themselves is transferred to the
caller.
An exception is returned if there was an error reading the Implementation Repository.
Example
#include <somd.h>
Environment ev;
sequence(ImplementationDef) impldefs;
...
impldefs =
_find_impldef_by_class(SOMD_ImplRepObject,&ev,”Stack”);
Original Class
ImplRepository
Seitenansicht 213
1 2 ... 209 210 211 212 213 214 215 216 217 218 219 ... 423 424

Kommentare zu diesen Handbüchern

Keine Kommentare