Bull DPX/20 User's Guide Page 240

  • Download
  • Add to my manuals
  • Print
  • Page
    / 424
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 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
Page view 239
1 2 ... 235 236 237 238 239 240 241 242 243 244 245 ... 423 424

Comments to this Manuals

No comments