Bull DPX/20 Guida Utente Pagina 48

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 424
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 47
1-36 SOMobjects Base Toolkit: Programmers Reference Manual
somTotalRegIds Function
Purpose
Returns the total number of SOM IDs that have been registered.
Syntax
unsigned long somTotalRegIds ( );
Description
The somTotalRegIds function returns the total number of SOM IDs that have been
registered so far. This value can be used as a parameter to the somSetExpectedIds
function to advise SOM about expected ID usage in later executions of a client program.
Return Value
Returns the total number of SOM IDs that have been registered.
C Example
#include <som.h>
main()
{ int i;
somId id;
somEnvironmentNew();
id = somIdFromString(”abc”)
i = somTotalRegIds();
id = somIdFromString(”abc”);
SOM_Test(i == somTotalRegIds);
}
Related Information
Functions: somCheckId, somRegisterId, somIdFromString, somStringFromId,
somCompareIds, somSetExpectedIds, somUniqueKey, somBeginPersistentIds,
somEndPersistentIds
Vedere la pagina 47
1 2 ... 43 44 45 46 47 48 49 50 51 52 53 ... 423 424

Commenti su questo manuale

Nessun commento