Bull DPX/20 Podręcznik Użytkownika Strona 191

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 424
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 190
2-23
DSOM Framework Reference
get_id Method
Purpose
Returns reference data associated with the referenced object.
IDL Syntax
ReferenceData get_id (
in SOMDObject obj);
Description
The get_id method returns the reference data associated with the referenced object.
Parameters
receiver A pointer to a BOA (SOMOA) object for the server.
env A pointer to the Environment structure for the method caller.
obj A pointer to a SOMDObject object for which to return the ReferenceData.
Return Value
The get_id method returns a ReferenceData structure associated with the referenced
object.
Example
#include <somd.h>
#include <repostry.h>
#include <intfacdf.h>
SOMDObject objref;
ReferenceData id1, id2;
InterfaceDef intfdef;
...
objref =
_create(SOMD_SOMOAObject,&ev, id1, intfdef, SOMD_ImplDefObject);
...
/* get the ReferenceData from a SOMDObject */
id2 = _get_id(SOMD_SOMOAObject, &ev, objref);
Original Class
BOA
Related Information
Methods: create, create_constant, dispose
Przeglądanie stron 190
1 2 ... 186 187 188 189 190 191 192 193 194 195 196 ... 423 424

Komentarze do niniejszej Instrukcji

Brak uwag