Bull DPX/20 Guida Utente Pagina 285

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 424
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 284
2-117
DSOM Framework Reference
somdGetClassObj Method
Purpose
Creates a class object for the specified class.
IDL Syntax
SOMClass somdGetClassObj (
in Identifier objclass);
Description
The somdGetClassObj method creates a class object of the specified type.
Parameters
receiver A pointer to a SOMDServer object.
env A pointer to the Environment structure for the method caller.
objclass An identifier specifying the type of the class object to be created.
Return Value
The somdGetClassObj method returns a SOMClass object of the type specified.
Example
#include <somd.h>
#include <stack.h> /* provided by user */
SOMClass stkclass;
Environment ev;
SOMDServer server;
SOM_InitEnvironment(&ev);
SOMD_Init(&ev);
StackNewClass(0,0);
server =
_somdFindServerByName(SOMD_ObjectMgr, &ev,”stackServer”);
stkclass = _somdGetClassObj(server, &ev, ”Stack”, ””);
Original Class
SOMDServer
Vedere la pagina 284
1 2 ... 280 281 282 283 284 285 286 287 288 289 290 ... 423 424

Commenti su questo manuale

Nessun commento