Jump to content

SomIdFromString

From EDM2
Revision as of 17:17, 10 October 2017 by Martini (talk | contribs) (Created page with "This function returns the SOM ID corresponding to a given text string. ==Syntax== <PRE> string aString; somId rc; rc = somIdFromString(aString); </PRE> ==Parameter...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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

  • somCheckId
  • somRegisterId
  • somStringFromId
  • somCompareIds
  • somTotalRegIds
  • somSetExpectedIds
  • somUniqueKey
  • somBeginPersistentIds
  • somEndPersistentIds