Bull DPX/20 Guida Utente Pagina 306

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 424
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 305
2-138
SOMobjects Base Toolkit: Programmers Reference Manual
get_SOM_object Method
Purpose
Get the SOM object associated with a simple DSOM reference.
IDL Syntax
SOMObject get_SOM_object (
in SOMDObject somref);
Description
The get_SOM_object method returns the SOM object associated with a reference created
by the create_SOM_ref method.
Parameters
receiver A pointer to the SOMOA object managing the implementation.
env A pointer to the Environment structure for the method caller.
somref A pointer to a SOMDObject created by the create_SOM_ref method.
Return Value
The get_SOM_object method returns the SOM object associated with the reference.
Example
#include <somd.h>
SOMDObject objref;
Environment ev;
SOMObject obj;
...
if (_is_SOM_ref(objref, &ev))
/* we know objref is a simple reference, so we can ... */
obj = _get_SOM_object(SOMD_SOMOAObject, &ev, objref);
...
Original Class
SOMOA
Related Information
Methods: create_SOM_ref, is_SOM_ref
Vedere la pagina 305
1 2 ... 301 302 303 304 305 306 307 308 309 310 311 ... 423 424

Commenti su questo manuale

Nessun commento