Bull DPX/20 User's Guide Page 224

  • Download
  • Add to my manuals
  • Print
  • Page
    / 424
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 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
Page view 223
1 2 ... 219 220 221 222 223 224 225 226 227 228 229 ... 423 424

Comments to this Manuals

No comments