Bull DPX/20 Guia do Utilizador Página 240

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 424
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 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
Vista de página 239
1 2 ... 235 236 237 238 239 240 241 242 243 244 245 ... 423 424

Comentários a estes Manuais

Sem comentários