Bull DPX/20 User's Guide Page 201

  • Download
  • Add to my manuals
  • Print
  • Page
    / 424
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 200
2-33
DSOM Framework Reference
Example
#include <somd.h>
Environment ev;
Context cxt1, cxt2;
string *cxt1props;
long rc, i, numprops;
NVList nvp;
...
for (i= numprops; i > 0; i––) {
/* get the value of the *cxt1props property from cxt1 */
rc = _get_values(cxt1, &ev, NULL, (Flags) 0, *cxt1props, &nvp);
/* and if found then update cxt2 with that name–value pair */
if (rc == 0) rc = _set_values(cxt2, &ev, nvp);
_free(nvp,&ev);
cxt1props++;
}
Original Class
Context
Related Information
Methods: set_one_value, set_values, delete_values
Page view 200
1 2 ... 196 197 198 199 200 201 202 203 204 205 206 ... 423 424

Comments to this Manuals

No comments