Bull DPX/20 Guia do Utilizador Página 201

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 424
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 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
Vista de página 200
1 2 ... 196 197 198 199 200 201 202 203 204 205 206 ... 423 424

Comentários a estes Manuais

Sem comentários