Bull DPX/20 Guia do Utilizador Página 208

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

Comentários a estes Manuais

Sem comentários