en:docs:tk:som

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
en:docs:tk:som [2024/07/25 07:40] – [somtcleanFiles, somtcleanFilesSL function] prokusheven:docs:tk:som [2024/09/18 15:00] (current) – [Include section] prokushev
Line 354: Line 354:
 ===== SOM Object Interface Definition Language ===== ===== SOM Object Interface Definition Language =====
  
-SOM Object Interface Definition Language is a pre-IDL object definition language used before IBM SOM 2.1. Since IBM SOM 2.1 uses CORBA IDL as defined in OMG CORBA 1.1. SOM Object Interface Definition Language (OIDL) is a simple definition language and not recommended to use. SOM Compiler support is only for compatibility with old source code. OIDL support implementation mostly based on [1] and various OIDL source files found on the Web.+SOM Object Interface Definition Language is a pre-IDL object definition language used before IBM SOM 2. Since IBM SOM 2 uses CORBA IDL as defined in OMG CORBA 1.1. SOM Object Interface Definition Language (OIDL) is a simple definition language and not recommended to use. SOM Compiler support is only for compatibility with old source code. OIDL support implementation mostly based on [2] and various OIDL source files found on the Web.
 OIDL consist of sections set: OIDL consist of sections set:
  
Line 361: Line 361:
   * Release order section (optional)   * Release order section (optional)
   * Parent class section (required)   * Parent class section (required)
-  * Passthru section (optionsl)+  * Passthru section (optional)
   * Metaclass section (optional)   * Metaclass section (optional)
   * Data section (optional)   * Data section (optional)
Line 375: Line 375:
 [#include ( <metaclass> | "metaclass" ) ] [#include ( <metaclass> | "metaclass" ) ]
 </code> </code>
 +
 +ancestor is the name of the OIDL file containing the private part of an ancestor class' interface needed in the definition of this class. If ancestor is enclosed in angle brackets (%%<>%%), the search for the file will begin in system-specific locations. If parent is enclosed in double quotation marks (%%""%%), the search for the file will begin in the local context, then move to the system-specific locations.
 +
 +parent is the name of the OIDL file containing the parent class of the class for which the Include statement is provided. If parent is enclosed in angle
 +brackets (%%<>%%), the search for the file will begin in system-specific locations. If parent is enclosed in double quotation marks (%%""%%), the search for the file will begin in the local context, then move to the system-specific locations.
 +
 +metaclass is the OIDL file containing the metaclass of the class for which the include statement is provided. If metaclass is enclosed in angle brackets (%%<>%%), the search for the file will begin in system-specific locations. If metaclass is enclosed in double quotation marks (%%""%%), the search for the file will begin in the local context, then move to the system-specific locations.
  
 ==== Class section ==== ==== Class section ====
Line 2013: Line 2020:
 ==== somtfullComment, somtfullCommentSL function ==== ==== somtfullComment, somtfullCommentSL function ====
  
-<code>+<code c>
 SOMEXTERN void somtfullCommentSL(FILE * fp, char *fmt,...); SOMEXTERN void somtfullCommentSL(FILE * fp, char *fmt,...);
 SOMEXTERN void SOMLINK somtfullCommentSL(FILE * fp, char *fmt,...); SOMEXTERN void SOMLINK somtfullCommentSL(FILE * fp, char *fmt,...);
Line 2040: Line 2047:
 ==== somtoidlComment, somtoidlCommentSL function ==== ==== somtoidlComment, somtoidlCommentSL function ====
  
-<code>+<code c>
 SOMEXTERN void somtoidlComment(FILE * fp, int min, int max, char style, char *comment); SOMEXTERN void somtoidlComment(FILE * fp, int min, int max, char style, char *comment);
 SOMEXTERN void  SOMLINK somtoidlCommentSL(FILE * fp, int min, int max, char style, char *comment); SOMEXTERN void  SOMLINK somtoidlCommentSL(FILE * fp, int min, int max, char style, char *comment);
Line 2090: Line 2097:
 ==== somtobseleteHeaderFile, somtobseleteHeaderFileSL function ==== ==== somtobseleteHeaderFile, somtobseleteHeaderFileSL function ====
  
-<code>+<code c>
 SOMEXTERN FILE * somtobseleteHeaderFile(char *file, Entry *cls, char *ext, char *newext); SOMEXTERN FILE * somtobseleteHeaderFile(char *file, Entry *cls, char *ext, char *newext);
 SOMEXTERN FILE * SOMLINK somtobseleteHeaderFileSL(char *file, Entry *cls, char *ext, char *newext); SOMEXTERN FILE * SOMLINK somtobseleteHeaderFileSL(char *file, Entry *cls, char *ext, char *newext);
Line 2117: Line 2124:
 ==== somtstrictidl, somtstrictidlSL function ==== ==== somtstrictidl, somtstrictidlSL function ====
  
-<code>+<code c>
 SOMEXTERN void somtstrictidl(FILE *fp); SOMEXTERN void somtstrictidl(FILE *fp);
 SOMEXTERN void SOMLINK somtstrictidlSL(FILE *fp); SOMEXTERN void SOMLINK somtstrictidlSL(FILE *fp);
Line 2214: Line 2221:
 ===== somtuniqString, somtuniqStringSL function ===== ===== somtuniqString, somtuniqStringSL function =====
  
-<code>+<code c>
 SOMEXTERN char * somtuniqString(MemBuf *membuf, char *s); SOMEXTERN char * somtuniqString(MemBuf *membuf, char *s);
 SOMEXTERN char * SOMLINK somtuniqStringSL(MemBuf *membuf, char *s); SOMEXTERN char * SOMLINK somtuniqStringSL(MemBuf *membuf, char *s);