1-18 SOMobjects Base Toolkit: Programmer’s Reference Manual
somIdFromString Function
Purpose
Returns the SOM ID corresponding to a given text string.
Syntax
somId somIdFromString (string aString);
Description
The somIdFromString function returns the SOM ID that corresponds to a given text string.
Ownership of the somId returned by somIdFromString passes to the caller, which has the
responsibility to subsequently free the somId using SOMFree.
Parameters
aString The string to be converted to a SOM ID.
Return Value
Returns the SOM ID corresponding to the given text string.
Example
See the somBeginPersistentIds function.
Related Information
Functions: somCheckId, somRegisterId, somStringFromId, somCompareIds,
somTotalRegIds, somSetExpectedIds, somUniqueKey, somBeginPersistentIds,
somEndPersistentIds
Data Structures: somId (sombtype.h), string (somcorba.h)
Komentarze do niniejszej Instrukcji