Bull DPX/20 Guida Utente Pagina 213

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 424
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 212
2-45
DSOM Framework Reference
find_impldef_by_alias Method
Purpose
Returns a server implementation definition, given its user-friendly alias.
IDL Syntax
ImplementationDef find_impldef_by_alias (
in string alias_name);
Description
Finds and returns the ImplementationDef object whose alias is alias_name.
Parameters
receiver A pointer to the ImplRepository object.
env A pointer to the Environment structure for the method caller.
alias_name User-friendly name used to identify the implementation.
Return Value
A copy of the desired ImplementationDef object is returned, and ownership of the object is
transferred to the caller. Or, if the specified alias is not found in the Implementation
Repository, NULL is returned.
An exception is returned if there was an error reading the Implementation Repository.
Example
#include <somd.h>
Environment ev;
ImplementationDef impldef;
...
impldef =
_find_impldef_by_name(SOMD_ImplRepObject,&ev,”stackServer”);
_delete_impldef(SOMD_ImplRepObject,&ev,__get_impl_id(impldef,&ev));
Original Class
ImplRepository
Vedere la pagina 212
1 2 ... 208 209 210 211 212 213 214 215 216 217 218 ... 423 424

Commenti su questo manuale

Nessun commento