Bull DPX/20 Betriebsanweisung Seite 208

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 424
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 207
2-40
SOMobjects Base Toolkit: Programmers Reference Manual
add_impldef Method
Purpose
Adds an implementation definition to the Implementation Repository.
IDL Syntax
void add_impldef (
in ImplementationDef impldef);
Description
Adds the specified ImplementationDef object to the Implementation Repository.
Note: the impl_id field of the ImplementationDef is ignored. A new impl_id value will be
created for the newly added ImplementationDef.
Parameters
receiver A pointer to the ImplRepository object.
env A pointer to the Environment structure for the method caller.
impldef A pointer to the ImplementationDef object to add to the Implementation
Repository.
Return Value
An exception is returned if there was an error updating the Implementation Repository.
Example
#include <somd.h>
Environment ev;
ImplementationDef impldef;
...
impldef = ImplementationDefNew();
__set_impl_program(impldef,&ev,”/u/servers/myserver”);
/* set more of the impldef’s attributes here */
...
_add_impldef(SOMD_ImplRepObject,&ev,impldef);
Original Class
ImplRepository
Seitenansicht 207
1 2 ... 203 204 205 206 207 208 209 210 211 212 213 ... 423 424

Kommentare zu diesen Handbüchern

Keine Kommentare