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

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 424
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 235
2-68
SOMobjects Base Toolkit: Programmers Reference Manual
create_list Method
Purpose
Creates an NVList of the specified size.
IDL Syntax
ORBStatus create_list (
in long count,
out NVList new_list);
Description
Creates an NVList list of the specified size, typically for use in Requests.
Ownership of the allocated new_list is transferred to the caller.
Parameters
receiver A pointer to the ORB object.
env A pointer to the Environment structure for the method caller.
count An integer representing the number of elements to allocate for the list.
new_list A pointer to the address where the method will store a pointer to the
allocated NVList object.
Return Value
The create_list method returns an ORBStatus value representing the return code of the
operation.
Example
#include <somd.h>
Environment ev;
long nargs = 5;
NVList arglist;
ORBStatus rc;
...
rc = _create_list(SOMD_ORBObject, &ev, nargs, &arglist);
Original Class
ORB
Related Information
Methods: create_operation_list
Przeglądanie stron 235
1 2 ... 231 232 233 234 235 236 237 238 239 240 241 ... 423 424

Komentarze do niniejszej Instrukcji

Brak uwag