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

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 424
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 239
2-72
SOMobjects Base Toolkit: Programmers Reference Manual
string_to_object Method
Purpose
Converts an externalized (string) form of an object reference into an object reference.
IDL Syntax
SOMDObject string_to_object (
in string str);
Description
The string_to_object method converts the externalized (string) form of an object reference
into an object reference.
Parameters
receiver A pointer to the ORB object.
env A pointer to the Environment structure for the method caller.
str A pointer to a character string representing the externalized form of the
object reference.
Return Value
The string_to_object method returns a SOMDObject object.
Example
#include <somd.h>
#include <car.h>
Environment ev;
Car car;
string objrefstr;
...
/* restore proxy from its string form */
FileRead(”/u/joe/mycar”, &objrefstr);
car = _string_to_object(SOMD_ORBObject, &ev, objrefstr);
Original Class
ORB
Related Information
Methods: object_to_string
Przeglądanie stron 239
1 2 ... 235 236 237 238 239 240 241 242 243 244 245 ... 423 424

Komentarze do niniejszej Instrukcji

Brak uwag