Bull DPX/20 Guida Utente Pagina 256

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 424
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 255
2-88
SOMobjects Base Toolkit: Programmers Reference Manual
somdProxyGetClass Method
Purpose
Returns the class object for the local proxy object.
IDL Syntax
SOMClass somdProxyGetClass ( );
Description
The somdProxyGetClass method executes the somGetClass method call on the local
proxy object and returns a pointer to the proxy’s class object. This method has been
provided when the application program wants to be explicit about getting the class object
for the proxy object vs. the target object.
Parameters
receiver A pointer to the SOMDClientProxy object.
env A pointer to the Environment structure for the method caller.
Return Value
The somdProxyGetClass method returns a pointer to the class object for the local proxy
object.
Example
#include <somd.h>
#include <car.h>
Environment ev;
Car car;
SOMClass carProxyClass;
string somdObjectId;
...
/* restore proxy from its string form */
FileRead(”/u/joe/mycar”, &somdObjectId);
car = _somdGetObjectFromId(SOMD_ObjectMgr, &ev, somdObjectId);
...
carProxyClass = _somdProxyGetClass(car, &ev);
Original Class
SOMDClientProxy
Vedere la pagina 255
1 2 ... 251 252 253 254 255 256 257 258 259 260 261 ... 423 424

Commenti su questo manuale

Nessun commento