Bull DPX/20 Betriebsanweisung Seite 224

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 424
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 223
2-56
SOMobjects Base Toolkit: Programmers Reference Manual
get_count Method
Purpose
Returns the total number of items allocated for a list.
IDL Syntax
ORBStatus get_count (
out long count);
Description
The get_count method returns the total number of allocated items in the specified list.
Parameters
receiver A pointer to the NVList object on which count is desired.
env A pointer to the Environment structure for the method caller.
count A pointer to where the method will store the long integer count value.
Return Value
The get_count method returns an ORBStatus value representing the return code from the
operation.
Example
#include <somd.h>
Environment ev;
long nargs, list_size;
NVList arglist;
ORBStatus rc;
...
rc = _create_list(SOMD_ORBObject, &ev, nargs, &arglist);
...
rc = _get_count(arglist,&ev,&list_size);
Original Class
NVList
Related Information
Methods: add_item, get_item, set_item, create_list
Seitenansicht 223
1 2 ... 219 220 221 222 223 224 225 226 227 228 229 ... 423 424

Kommentare zu diesen Handbüchern

Keine Kommentare