Jump to content

SomCheckId: Difference between revisions

From EDM2
Ak120 (talk | contribs)
mNo edit summary
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
This function registers a som ID.  
{{DISPLAYTITLE:somCheckId}}
This function registers a som ID.


==Syntax==
==Syntax==
<PRE>
somId    id;
somId    id;
somId    rc;
somId    rc;
rc = somCheckId(id);


rc = somCheckId(id);
</PRE>
==Parameters==
==Parameters==
; id (somId) : The somId to be registered.  
;id (somId): The somId to be registered.
 


==Return Code==
==Return Code==
; rc (somId) : The registered somId.
;rc (somId) : The registered somId.
 


==Remarks==
==Remarks==
This function registers a SOM ID and converts it into an internal representation. The input SOM ID is returned. If the ID is already registered, this function has no effect.  
This function registers a SOM ID and converts it into an internal representation. The input SOM ID is returned. If the ID is already registered, this function has no effect.


==Example Code==
==Example Code==
Line 23: Line 21:


==Related==
==Related==
===Data Structures===
;Data Structures
*somId (sombtype.h)  
* somId (sombtype.h)  
 
;Methods
===Methods===
* [[somRegisterId]]
* [[somRegisterId]]
* [[somIdFromString]]
* [[somIdFromString]]
Line 37: Line 34:
* [[somEndPersistentIds]]
* [[somEndPersistentIds]]


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

Latest revision as of 02:23, 6 May 2020

This function registers a som ID.

Syntax

somId    id;
somId    rc;

rc = somCheckId(id);

Parameters

id (somId)
The somId to be registered.

Return Code

rc (somId)
The registered somId.

Remarks

This function registers a SOM ID and converts it into an internal representation. The input SOM ID is returned. If the ID is already registered, this function has no effect.

Example Code

See function somBeginPersistentIds().

Related

Data Structures
  • somId (sombtype.h)
Methods