Bull DPX/20 Betriebsanweisung Seite 211

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 424
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 210
2-43
DSOM Framework Reference
find_classes_by_impldef Method
Purpose
Returns a sequence of class names associated with a server.
IDL Syntax
sequence<string> find_classes_by_impldef (
in ImplId implid );
Description
The find_classes_by_impldef method searches the class index and returns the sequence
of class names supported by a server with the specified implid.
Parameters
receiver A pointer to the ImplRepository object.
env A pointer to the Environment structure for the method caller.
implid The ImplId that identifies the server implementation of interest.
Return Value
A sequence of strings is returned. Ownership of the sequence structure, the string array
buffer, and the strings 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;
SOMDServer server;
ImplementationDef impldef;
ImplId implid;
sequence(string) classes;
...
server = _find_server_by_name(SOMD_ObjectMgr,&ev,”stackServer”);
impldef = _get_implementation(server,&ev);
implid = __get_impl_id(impldef,&ev);
classes = _find_classes_by_impldef(SOMD_ImplRepObject,&ev,implid);
Original Class
ImplRepository
Seitenansicht 210
1 2 ... 206 207 208 209 210 211 212 213 214 215 216 ... 423 424

Kommentare zu diesen Handbüchern

Keine Kommentare