Bull DPX/20 Guia do Utilizador Página 213

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 424
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 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
Vista de página 212
1 2 ... 208 209 210 211 212 213 214 215 216 217 218 ... 423 424

Comentários a estes Manuais

Sem comentários