somIdFromString

From EDM2
Jump to: navigation, search

This function returns the SOM ID corresponding to a given text string.

Syntax

string     aString;
somId      rc;

rc = somIdFromString(aString);

Parameters

aString (string)
The string to be converted to a SOM ID.

Return Code

rc (somId)
Returns the SOM ID corresponding to the given text string.

Remarks

This function returns the SOM ID that corresponds to a given text string.

Ownership of the somId returned by this function passes to the caller, which has the responsibility to subsequently free the somId using SOMFree.

Example Code

See function somBeginPersistentIds.

Related

Data Structures
  • somId (sombtype.h)
  • string (somcorba.h)
Functions