Jump to content

SomIdFromString: Difference between revisions

From EDM2
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..."
 
No edit summary
Line 1: Line 1:
{{DISPLAYTITLE:somIdFromString}}
This function returns the SOM ID corresponding to a given text string.
This function returns the SOM ID corresponding to a given text string.


Line 29: Line 30:
* string (somcorba.h)  
* string (somcorba.h)  
===Functions===
===Functions===
* somCheckId  
* [[somCheckId]]
* somRegisterId  
* [[somRegisterId]]
* somStringFromId  
* [[somStringFromId]]
* somCompareIds  
* [[somCompareIds]]
* somTotalRegIds  
* [[somTotalRegIds]]
* somSetExpectedIds  
* [[somSetExpectedIds]]
* somUniqueKey  
* [[somUniqueKey]]
* somBeginPersistentIds  
* [[somBeginPersistentIds]]
* somEndPersistentIds  
* [[somEndPersistentIds]]


[[Category:SOM Kernel]]
[[Category:SOM Kernel]]

Revision as of 20:08, 12 October 2017

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