2-2
SOMobjects Base Toolkit Quick Reference Guide
int somCompareIds (
somId id1,
somId id2);
Determines whether two SOM IDs represent the same string. Returns true (1) if they are the same and false (0)
otherwise.
somToken somDataResolve (
SOMObject objPtr,
somDToken dToken);
Supports access to instance data within an object. Used by C and C++ implementation bindings.
void somEndPersistentIds ();
Tells SOM to end a “persistent ID interval.”
void somEnvironmentEnd ( );
Provides general cleanup for applications.
SOMClassMgr somEnvironmentNew ();
Initializes the SOM runtime environment.
void somExceptionFree (
Environment *ev);
Frees the memory held by the Exception structure within an Environment structure.
string somExceptionId (
Environment *ev);
Gets the name of the exception contained in an Environment structure.
somToken somExceptionValue (
Environment *ev);
Gets the value of the exception contained in an Environment structure.
Environment
*somGetGlobalEnvironment ();
Returns a pointer to the current global Environment structure.
somId somIdFromString (string aString);
Returns the SOM ID corresponding to a given text string.
boolean somIsObj (somToken memPtr);
Failsafe routine to determine whether a pointer references a valid SOM object.
long somLPrintf (
long level,
string fmt, ...);
Prints a formatted string in the manner of the C printf function, at the specified indentation level.
SOMClassMgr *somMainProgram ( );
Performs SOM initialization on behalf of a new program.
Comments to this Manuals