home *** CD-ROM | disk | FTP | other *** search
/ Power GUI Programming with VisualAge C++ / powergui.iso / trialva / ibmcppw / include / sctmplt.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-02-22  |  24.3 KB  |  596 lines

  1.  
  2. /*
  3.  * This file was generated by the SOM Compiler.
  4.  * FileName: h:\somnt\include\sctmplt.h.
  5.  * Generated using:
  6.  *     SOM Precompiler somipc: Development
  7.  *     SOM Emitter emith.dll: Development
  8.  */
  9.  
  10. /*
  11.  * 
  12.  *    COMPONENT_NAME: some
  13.  * 
  14.  *    ORIGINS: 27
  15.  * 
  16.  * 
  17.  *    10H9767, 10H9769  (C) COPYRIGHT International Business Machines Corp. 1992,1994
  18.  *    All Rights Reserved
  19.  *    Licensed Materials - Property of IBM
  20.  *    US Government Users Restricted Rights - Use, duplication or
  21.  *    disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  22.  * 
  23.  */
  24.  
  25.  
  26. #ifndef SOM_SOMTTemplateOutputC_h
  27. #define SOM_SOMTTemplateOutputC_h
  28.  
  29.  
  30. /*
  31.  * Passthru lines: File: "C.h", "before"
  32.  */
  33. #include <stdio.h>
  34. typedef enum somtCommentStyleT { somtDashesE, somtCPPE, somtCSimpleE, somtCBlockE } somtCommentStyleT;
  35.  
  36. #include <som.h>
  37.  
  38. /*
  39.  * -- This emitter treats Method Tokens as Thunks by default.
  40.  * -- Use the sc modifier "nothunks" to change this default
  41.  */
  42. #undef somresolve_
  43. #define somresolve_(obj,mToken) ((somMethodProc*)((void)obj, mToken))
  44.  
  45. /*
  46.  * Define the class name as an object type
  47.  */
  48. #ifndef SOMTTemplateOutputC
  49. #define SOMTTemplateOutputC SOMObject
  50. #endif
  51. #include <somobj.h>
  52.  
  53. /*
  54.  * Start of user-defined types:
  55.  */
  56. #ifndef SOMClass
  57.     #define SOMClass SOMObject
  58. #endif /* SOMClass */
  59. #ifndef SOMStringTableC
  60.     #define SOMStringTableC SOMObject
  61. #endif /* SOMStringTableC */
  62. #define SOMTTemplateOutputC_MAX_INPUT_LINE_LENGTH 1024 /* 1024 */
  63. #define SOMTTemplateOutputC_MAX_OUTPUT_LINE_LENGTH 4096 /* 4096 */
  64.  
  65. #ifndef SOM_DONT_USE_SHORT_NAMES
  66. #ifndef SOMTGD_MAX_INPUT_LINE_LENGTH
  67.     #ifdef MAX_INPUT_LINE_LENGTH
  68.         #undef MAX_INPUT_LINE_LENGTH
  69.         #define SOMTGD_MAX_INPUT_LINE_LENGTH 1
  70.     #else
  71.         #define MAX_INPUT_LINE_LENGTH SOMTTemplateOutputC_MAX_INPUT_LINE_LENGTH
  72.     #endif /* MAX_INPUT_LINE_LENGTH */
  73. #endif /* SOMTGD_MAX_INPUT_LINE_LENGTH */
  74. #ifndef SOMTGD_MAX_OUTPUT_LINE_LENGTH
  75.     #ifdef MAX_OUTPUT_LINE_LENGTH
  76.         #undef MAX_OUTPUT_LINE_LENGTH
  77.         #define SOMTGD_MAX_OUTPUT_LINE_LENGTH 1
  78.     #else
  79.         #define MAX_OUTPUT_LINE_LENGTH SOMTTemplateOutputC_MAX_OUTPUT_LINE_LENGTH
  80.     #endif /* MAX_OUTPUT_LINE_LENGTH */
  81. #endif /* SOMTGD_MAX_OUTPUT_LINE_LENGTH */
  82. #endif /* SOM_DONT_USE_SHORT_NAMES */
  83.  
  84. /*
  85.  * End of user-defined types.
  86.  */
  87.  
  88. #define SOMTTemplateOutputC_MajorVersion 2
  89. #define SOMTTemplateOutputC_MinorVersion 1
  90.  
  91. /*
  92.  * External name shortening if required
  93.  */
  94. #ifdef SOM_USE_SHORT_EXTERNAL_NAMES
  95. #define SOMTTemplateOutputCNewClass c
  96. #define SOMTTemplateOutputCClassData d
  97. #define SOMTTemplateOutputCCClassData x
  98. #endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
  99. /*--------------Migration------------*/
  100. #define SOMTTemplateOutputC_classObj SOMTTemplateOutputCClassData.classObject
  101. #define _SOMTTemplateOutputC SOMTTemplateOutputC_classObj
  102.  
  103. /*
  104.  * Declare the class creation procedure
  105.  */
  106. SOMEXTERN
  107. #if (defined(SOM_Module_sctmplt_Source) || defined(SOMTTemplateOutputC_Class_Source) || defined (SOM_DONT_IMPORT_CLASS_SOMTTemplateOutputC))
  108. WIN32_DLLEXPORT
  109. #else
  110. WIN32_DLLIMPORT
  111. #endif
  112. SOMClass * SOMLINK SOMTTemplateOutputCNewClass(integer4 somntmajorVersion,
  113.         integer4 somntminorVersion);
  114.  
  115. /*
  116.  * Declare the class data structure
  117.  */
  118. SOMEXTERN struct SOMTTemplateOutputCClassDataStructure {
  119.     SOMClass *classObject;
  120.     somMToken _get_somtCommentStyle;
  121.     somMToken _set_somtCommentStyle;
  122.     somMToken _get_somtLineLength;
  123.     somMToken _set_somtLineLength;
  124.     somMToken _set_somtCommentNewline;
  125.     somMToken _get_somtCommentNewline;
  126.     somMToken somtGetSymbol;
  127.     somMToken somtSetSymbol;
  128.     somMToken somtSetSymbolCopyName;
  129.     somMToken somtSetSymbolCopyValue;
  130.     somMToken somtSetSymbolCopyBoth;
  131.     somMToken somtCheckSymbol;
  132.     somMToken somtSetOutputFile;
  133.     somMToken somto;
  134.     somMToken somtOutputComment;
  135.     somMToken somtOutputSection;
  136.     somMToken somtAddSectionDefinitions;
  137.     somMToken somtReadSectionDefinitions;
  138.     somMToken somtExpandSymbol;
  139. #if (defined(SOM_Module_sctmplt_Source) || defined(SOMTTemplateOutputC_Class_Source) || defined (SOM_DONT_IMPORT_CLASS_SOMTTemplateOutputC))
  140. } WIN32_DLLEXPORT SOMDLINK SOMTTemplateOutputCClassData;
  141. #else
  142. } WIN32_DLLIMPORT SOMDLINK SOMTTemplateOutputCClassData;
  143. #endif
  144.  
  145. /*
  146.  * Declare the C specific class data structure
  147.  */
  148. SOMEXTERN struct SOMTTemplateOutputCCClassDataStructure {
  149.     somMethodTabs parentMtab;
  150.     somDToken instanceDataToken;
  151. #if (defined(SOM_Module_sctmplt_Source) || defined(SOMTTemplateOutputC_Class_Source) || defined (SOM_DONT_IMPORT_CLASS_SOMTTemplateOutputC))
  152. } WIN32_DLLEXPORT SOMDLINK SOMTTemplateOutputCCClassData;
  153. #else
  154. } WIN32_DLLIMPORT SOMDLINK SOMTTemplateOutputCCClassData;
  155. #endif
  156.  
  157. /*
  158.  * New and Renew macros for SOMTTemplateOutputC
  159.  */
  160. #define SOMTTemplateOutputCNew() \
  161.    (_somNew(_SOMTTemplateOutputC ? _SOMTTemplateOutputC : SOMTTemplateOutputCNewClass(SOMTTemplateOutputC_MajorVersion, SOMTTemplateOutputC_MinorVersion)))
  162. #define SOMTTemplateOutputCRenew(buf) \
  163.    (_somRenew(_SOMTTemplateOutputC ? _SOMTTemplateOutputC : SOMTTemplateOutputCNewClass(SOMTTemplateOutputC_MajorVersion, SOMTTemplateOutputC_MinorVersion), buf))
  164.  
  165. /*
  166.  * Override method: somInit
  167.  */
  168. #define SOMTTemplateOutputC_somInit(somSelf) \
  169.     SOMObject_somInit(somSelf)
  170.  
  171. /*
  172.  * Override method: somUninit
  173.  */
  174. #define SOMTTemplateOutputC_somUninit(somSelf) \
  175.     SOMObject_somUninit(somSelf)
  176.  
  177. /*
  178.  * Override method: somPrintSelf
  179.  */
  180. #define SOMTTemplateOutputC_somPrintSelf(somSelf) \
  181.     SOMObject_somPrintSelf(somSelf)
  182.  
  183. /*
  184.  * Override method: somDumpSelfInt
  185.  */
  186. #define SOMTTemplateOutputC_somDumpSelfInt(somSelf,level) \
  187.     SOMObject_somDumpSelfInt(somSelf,level)
  188.  
  189. /*
  190.  * New Method: _get_somtCommentStyle
  191.  */
  192. typedef somtCommentStyleT   SOMLINK somTP_SOMTTemplateOutputC__get_somtCommentStyle(SOMTTemplateOutputC *somSelf);
  193. typedef somTP_SOMTTemplateOutputC__get_somtCommentStyle *somTD_SOMTTemplateOutputC__get_somtCommentStyle;
  194. #define somMD_SOMTTemplateOutputC__get_somtCommentStyle "::SOMTTemplateOutputC::_get_somtCommentStyle"
  195. #define SOMTTemplateOutputC__get_somtCommentStyle(somSelf) \
  196.     (SOM_Resolve(somSelf, SOMTTemplateOutputC, _get_somtCommentStyle) \
  197.     (somSelf))
  198. #ifndef SOMGD_get_somtCommentStyle
  199.     #if (defined(_get_somtCommentStyle) || defined(__get_somtCommentStyle))
  200.         #undef _get_somtCommentStyle
  201.         #undef __get_somtCommentStyle
  202.         #define SOMGD_get_somtCommentStyle 1
  203.     #else
  204.         #define __get_somtCommentStyle SOMTTemplateOutputC__get_somtCommentStyle
  205.     #endif /* __get_somtCommentStyle */
  206. #endif /* SOMGD_get_somtCommentStyle */
  207.  
  208. /*
  209.  * New Method: _set_somtCommentStyle
  210.  */
  211. typedef void   SOMLINK somTP_SOMTTemplateOutputC__set_somtCommentStyle(SOMTTemplateOutputC *somSelf,
  212.         somtCommentStyleT somtCommentStyle);
  213. typedef somTP_SOMTTemplateOutputC__set_somtCommentStyle *somTD_SOMTTemplateOutputC__set_somtCommentStyle;
  214. #define somMD_SOMTTemplateOutputC__set_somtCommentStyle "::SOMTTemplateOutputC::_set_somtCommentStyle"
  215. #define SOMTTemplateOutputC__set_somtCommentStyle(somSelf,somtCommentStyle) \
  216.     (SOM_Resolve(somSelf, SOMTTemplateOutputC, _set_somtCommentStyle) \
  217.     (somSelf,somtCommentStyle))
  218. #ifndef SOMGD_set_somtCommentStyle
  219.     #if (defined(_set_somtCommentStyle) || defined(__set_somtCommentStyle))
  220.         #undef _set_somtCommentStyle
  221.         #undef __set_somtCommentStyle
  222.         #define SOMGD_set_somtCommentStyle 1
  223.     #else
  224.         #define __set_somtCommentStyle SOMTTemplateOutputC__set_somtCommentStyle
  225.     #endif /* __set_somtCommentStyle */
  226. #endif /* SOMGD_set_somtCommentStyle */
  227.  
  228. /*
  229.  * New Method: _get_somtLineLength
  230.  */
  231. typedef long   SOMLINK somTP_SOMTTemplateOutputC__get_somtLineLength(SOMTTemplateOutputC *somSelf);
  232. typedef somTP_SOMTTemplateOutputC__get_somtLineLength *somTD_SOMTTemplateOutputC__get_somtLineLength;
  233. #define somMD_SOMTTemplateOutputC__get_somtLineLength "::SOMTTemplateOutputC::_get_somtLineLength"
  234. #define SOMTTemplateOutputC__get_somtLineLength(somSelf) \
  235.     (SOM_Resolve(somSelf, SOMTTemplateOutputC, _get_somtLineLength) \
  236.     (somSelf))
  237. #ifndef SOMGD_get_somtLineLength
  238.     #if (defined(_get_somtLineLength) || defined(__get_somtLineLength))
  239.         #undef _get_somtLineLength
  240.         #undef __get_somtLineLength
  241.         #define SOMGD_get_somtLineLength 1
  242.     #else
  243.         #define __get_somtLineLength SOMTTemplateOutputC__get_somtLineLength
  244.     #endif /* __get_somtLineLength */
  245. #endif /* SOMGD_get_somtLineLength */
  246.  
  247. /*
  248.  * New Method: _set_somtLineLength
  249.  */
  250. typedef void   SOMLINK somTP_SOMTTemplateOutputC__set_somtLineLength(SOMTTemplateOutputC *somSelf,
  251.         long somtLineLength);
  252. typedef somTP_SOMTTemplateOutputC__set_somtLineLength *somTD_SOMTTemplateOutputC__set_somtLineLength;
  253. #define somMD_SOMTTemplateOutputC__set_somtLineLength "::SOMTTemplateOutputC::_set_somtLineLength"
  254. #define SOMTTemplateOutputC__set_somtLineLength(somSelf,somtLineLength) \
  255.     (SOM_Resolve(somSelf, SOMTTemplateOutputC, _set_somtLineLength) \
  256.     (somSelf,somtLineLength))
  257. #ifndef SOMGD_set_somtLineLength
  258.     #if (defined(_set_somtLineLength) || defined(__set_somtLineLength))
  259.         #undef _set_somtLineLength
  260.         #undef __set_somtLineLength
  261.         #define SOMGD_set_somtLineLength 1
  262.     #else
  263.         #define __set_somtLineLength SOMTTemplateOutputC__set_somtLineLength
  264.     #endif /* __set_somtLineLength */
  265. #endif /* SOMGD_set_somtLineLength */
  266.  
  267. /*
  268.  * New Method: _get_somtCommentNewline
  269.  */
  270. typedef boolean   SOMLINK somTP_SOMTTemplateOutputC__get_somtCommentNewline(SOMTTemplateOutputC *somSelf);
  271. typedef somTP_SOMTTemplateOutputC__get_somtCommentNewline *somTD_SOMTTemplateOutputC__get_somtCommentNewline;
  272. #define somMD_SOMTTemplateOutputC__get_somtCommentNewline "::SOMTTemplateOutputC::_get_somtCommentNewline"
  273. #define SOMTTemplateOutputC__get_somtCommentNewline(somSelf) \
  274.     (SOM_Resolve(somSelf, SOMTTemplateOutputC, _get_somtCommentNewline) \
  275.     (somSelf))
  276. #ifndef SOMGD_get_somtCommentNewline
  277.     #if (defined(_get_somtCommentNewline) || defined(__get_somtCommentNewline))
  278.         #undef _get_somtCommentNewline
  279.         #undef __get_somtCommentNewline
  280.         #define SOMGD_get_somtCommentNewline 1
  281.     #else
  282.         #define __get_somtCommentNewline SOMTTemplateOutputC__get_somtCommentNewline
  283.     #endif /* __get_somtCommentNewline */
  284. #endif /* SOMGD_get_somtCommentNewline */
  285.  
  286. /*
  287.  * New Method: _set_somtCommentNewline
  288.  */
  289. typedef void   SOMLINK somTP_SOMTTemplateOutputC__set_somtCommentNewline(SOMTTemplateOutputC *somSelf,
  290.         boolean somtCommentNewline);
  291. typedef somTP_SOMTTemplateOutputC__set_somtCommentNewline *somTD_SOMTTemplateOutputC__set_somtCommentNewline;
  292. #define somMD_SOMTTemplateOutputC__set_somtCommentNewline "::SOMTTemplateOutputC::_set_somtCommentNewline"
  293. #define SOMTTemplateOutputC__set_somtCommentNewline(somSelf,somtCommentNewline) \
  294.     (SOM_Resolve(somSelf, SOMTTemplateOutputC, _set_somtCommentNewline) \
  295.     (somSelf,somtCommentNewline))
  296. #ifndef SOMGD_set_somtCommentNewline
  297.     #if (defined(_set_somtCommentNewline) || defined(__set_somtCommentNewline))
  298.         #undef _set_somtCommentNewline
  299.         #undef __set_somtCommentNewline
  300.         #define SOMGD_set_somtCommentNewline 1
  301.     #else
  302.         #define __set_somtCommentNewline SOMTTemplateOutputC__set_somtCommentNewline
  303.     #endif /* __set_somtCommentNewline */
  304. #endif /* SOMGD_set_somtCommentNewline */
  305.  
  306. /*
  307.  * New Method: somtGetSymbol
  308.  */
  309. typedef string   SOMLINK somTP_SOMTTemplateOutputC_somtGetSymbol(SOMTTemplateOutputC *somSelf,
  310.         string name);
  311. typedef somTP_SOMTTemplateOutputC_somtGetSymbol *somTD_SOMTTemplateOutputC_somtGetSymbol;
  312. #define somMD_SOMTTemplateOutputC_somtGetSymbol "::SOMTTemplateOutputC::somtGetSymbol"
  313. #define SOMTTemplateOutputC_somtGetSymbol(somSelf,name) \
  314.     (SOM_Resolve(somSelf, SOMTTemplateOutputC, somtGetSymbol) \
  315.     (somSelf,name))
  316. #ifndef SOMGD_somtGetSymbol
  317.     #if (defined(_somtGetSymbol) || defined(__somtGetSymbol))
  318.         #undef _somtGetSymbol
  319.         #undef __somtGetSymbol
  320.         #define SOMGD_somtGetSymbol 1
  321.     #else
  322.         #define _somtGetSymbol SOMTTemplateOutputC_somtGetSymbol
  323.     #endif /* _somtGetSymbol */
  324. #endif /* SOMGD_somtGetSymbol */
  325.  
  326. /*
  327.  * New Method: somtSetSymbol
  328.  */
  329. typedef void   SOMLINK somTP_SOMTTemplateOutputC_somtSetSymbol(SOMTTemplateOutputC *somSelf,
  330.         string name,
  331.         string value);
  332. typedef somTP_SOMTTemplateOutputC_somtSetSymbol *somTD_SOMTTemplateOutputC_somtSetSymbol;
  333. #define somMD_SOMTTemplateOutputC_somtSetSymbol "::SOMTTemplateOutputC::somtSetSymbol"
  334. #define SOMTTemplateOutputC_somtSetSymbol(somSelf,name,value) \
  335.     (SOM_Resolve(somSelf, SOMTTemplateOutputC, somtSetSymbol) \
  336.     (somSelf,name,value))
  337. #ifndef SOMGD_somtSetSymbol
  338.     #if (defined(_somtSetSymbol) || defined(__somtSetSymbol))
  339.         #undef _somtSetSymbol
  340.         #undef __somtSetSymbol
  341.         #define SOMGD_somtSetSymbol 1
  342.     #else
  343.         #define _somtSetSymbol SOMTTemplateOutputC_somtSetSymbol
  344.     #endif /* _somtSetSymbol */
  345. #endif /* SOMGD_somtSetSymbol */
  346.  
  347. /*
  348.  * New Method: somtSetSymbolCopyName
  349.  */
  350. typedef void   SOMLINK somTP_SOMTTemplateOutputC_somtSetSymbolCopyName(SOMTTemplateOutputC *somSelf,
  351.         string name,
  352.         string value);
  353. typedef somTP_SOMTTemplateOutputC_somtSetSymbolCopyName *somTD_SOMTTemplateOutputC_somtSetSymbolCopyName;
  354. #define somMD_SOMTTemplateOutputC_somtSetSymbolCopyName "::SOMTTemplateOutputC::somtSetSymbolCopyName"
  355. #define SOMTTemplateOutputC_somtSetSymbolCopyName(somSelf,name,value) \
  356.     (SOM_Resolve(somSelf, SOMTTemplateOutputC, somtSetSymbolCopyName) \
  357.     (somSelf,name,value))
  358. #ifndef SOMGD_somtSetSymbolCopyName
  359.     #if (defined(_somtSetSymbolCopyName) || defined(__somtSetSymbolCopyName))
  360.         #undef _somtSetSymbolCopyName
  361.         #undef __somtSetSymbolCopyName
  362.         #define SOMGD_somtSetSymbolCopyName 1
  363.     #else
  364.         #define _somtSetSymbolCopyName SOMTTemplateOutputC_somtSetSymbolCopyName
  365.     #endif /* _somtSetSymbolCopyName */
  366. #endif /* SOMGD_somtSetSymbolCopyName */
  367.  
  368. /*
  369.  * New Method: somtSetSymbolCopyValue
  370.  */
  371. typedef void   SOMLINK somTP_SOMTTemplateOutputC_somtSetSymbolCopyValue(SOMTTemplateOutputC *somSelf,
  372.         string name,
  373.         string value);
  374. typedef somTP_SOMTTemplateOutputC_somtSetSymbolCopyValue *somTD_SOMTTemplateOutputC_somtSetSymbolCopyValue;
  375. #define somMD_SOMTTemplateOutputC_somtSetSymbolCopyValue "::SOMTTemplateOutputC::somtSetSymbolCopyValue"
  376. #define SOMTTemplateOutputC_somtSetSymbolCopyValue(somSelf,name,value) \
  377.     (SOM_Resolve(somSelf, SOMTTemplateOutputC, somtSetSymbolCopyValue) \
  378.     (somSelf,name,value))
  379. #ifndef SOMGD_somtSetSymbolCopyValue
  380.     #if (defined(_somtSetSymbolCopyValue) || defined(__somtSetSymbolCopyValue))
  381.         #undef _somtSetSymbolCopyValue
  382.         #undef __somtSetSymbolCopyValue
  383.         #define SOMGD_somtSetSymbolCopyValue 1
  384.     #else
  385.         #define _somtSetSymbolCopyValue SOMTTemplateOutputC_somtSetSymbolCopyValue
  386.     #endif /* _somtSetSymbolCopyValue */
  387. #endif /* SOMGD_somtSetSymbolCopyValue */
  388.  
  389. /*
  390.  * New Method: somtSetSymbolCopyBoth
  391.  */
  392. typedef void   SOMLINK somTP_SOMTTemplateOutputC_somtSetSymbolCopyBoth(SOMTTemplateOutputC *somSelf,
  393.         string name,
  394.         string value);
  395. typedef somTP_SOMTTemplateOutputC_somtSetSymbolCopyBoth *somTD_SOMTTemplateOutputC_somtSetSymbolCopyBoth;
  396. #define somMD_SOMTTemplateOutputC_somtSetSymbolCopyBoth "::SOMTTemplateOutputC::somtSetSymbolCopyBoth"
  397. #define SOMTTemplateOutputC_somtSetSymbolCopyBoth(somSelf,name,value) \
  398.     (SOM_Resolve(somSelf, SOMTTemplateOutputC, somtSetSymbolCopyBoth) \
  399.     (somSelf,name,value))
  400. #ifndef SOMGD_somtSetSymbolCopyBoth
  401.     #if (defined(_somtSetSymbolCopyBoth) || defined(__somtSetSymbolCopyBoth))
  402.         #undef _somtSetSymbolCopyBoth
  403.         #undef __somtSetSymbolCopyBoth
  404.         #define SOMGD_somtSetSymbolCopyBoth 1
  405.     #else
  406.         #define _somtSetSymbolCopyBoth SOMTTemplateOutputC_somtSetSymbolCopyBoth
  407.     #endif /* _somtSetSymbolCopyBoth */
  408. #endif /* SOMGD_somtSetSymbolCopyBoth */
  409.  
  410. /*
  411.  * New Method: somtCheckSymbol
  412.  */
  413. typedef boolean   SOMLINK somTP_SOMTTemplateOutputC_somtCheckSymbol(SOMTTemplateOutputC *somSelf,
  414.         string name);
  415. typedef somTP_SOMTTemplateOutputC_somtCheckSymbol *somTD_SOMTTemplateOutputC_somtCheckSymbol;
  416. #define somMD_SOMTTemplateOutputC_somtCheckSymbol "::SOMTTemplateOutputC::somtCheckSymbol"
  417. #define SOMTTemplateOutputC_somtCheckSymbol(somSelf,name) \
  418.     (SOM_Resolve(somSelf, SOMTTemplateOutputC, somtCheckSymbol) \
  419.     (somSelf,name))
  420. #ifndef SOMGD_somtCheckSymbol
  421.     #if (defined(_somtCheckSymbol) || defined(__somtCheckSymbol))
  422.         #undef _somtCheckSymbol
  423.         #undef __somtCheckSymbol
  424.         #define SOMGD_somtCheckSymbol 1
  425.     #else
  426.         #define _somtCheckSymbol SOMTTemplateOutputC_somtCheckSymbol
  427.     #endif /* _somtCheckSymbol */
  428. #endif /* SOMGD_somtCheckSymbol */
  429.  
  430. /*
  431.  * New Method: somtSetOutputFile
  432.  */
  433. typedef void   SOMLINK somTP_SOMTTemplateOutputC_somtSetOutputFile(SOMTTemplateOutputC *somSelf,
  434.         FILE* fp);
  435. typedef somTP_SOMTTemplateOutputC_somtSetOutputFile *somTD_SOMTTemplateOutputC_somtSetOutputFile;
  436. #define somMD_SOMTTemplateOutputC_somtSetOutputFile "::SOMTTemplateOutputC::somtSetOutputFile"
  437. #define SOMTTemplateOutputC_somtSetOutputFile(somSelf,fp) \
  438.     (SOM_Resolve(somSelf, SOMTTemplateOutputC, somtSetOutputFile) \
  439.     (somSelf,fp))
  440. #ifndef SOMGD_somtSetOutputFile
  441.     #if (defined(_somtSetOutputFile) || defined(__somtSetOutputFile))
  442.         #undef _somtSetOutputFile
  443.         #undef __somtSetOutputFile
  444.         #define SOMGD_somtSetOutputFile 1
  445.     #else
  446.         #define _somtSetOutputFile SOMTTemplateOutputC_somtSetOutputFile
  447.     #endif /* _somtSetOutputFile */
  448. #endif /* SOMGD_somtSetOutputFile */
  449.  
  450. /*
  451.  * New Method: somto
  452.  */
  453. typedef void   SOMLINK somTP_SOMTTemplateOutputC_somto(SOMTTemplateOutputC *somSelf,
  454.         string tmplt);
  455. typedef somTP_SOMTTemplateOutputC_somto *somTD_SOMTTemplateOutputC_somto;
  456. #define somMD_SOMTTemplateOutputC_somto "::SOMTTemplateOutputC::somto"
  457. #define SOMTTemplateOutputC_somto(somSelf,tmplt) \
  458.     (SOM_Resolve(somSelf, SOMTTemplateOutputC, somto) \
  459.     (somSelf,tmplt))
  460. #ifndef SOMGD_somto
  461.     #if (defined(_somto) || defined(__somto))
  462.         #undef _somto
  463.         #undef __somto
  464.         #define SOMGD_somto 1
  465.     #else
  466.         #define _somto SOMTTemplateOutputC_somto
  467.     #endif /* _somto */
  468. #endif /* SOMGD_somto */
  469.  
  470. /*
  471.  * New Method: somtOutputComment
  472.  */
  473. typedef void   SOMLINK somTP_SOMTTemplateOutputC_somtOutputComment(SOMTTemplateOutputC *somSelf,
  474.         string comment);
  475. typedef somTP_SOMTTemplateOutputC_somtOutputComment *somTD_SOMTTemplateOutputC_somtOutputComment;
  476. #define somMD_SOMTTemplateOutputC_somtOutputComment "::SOMTTemplateOutputC::somtOutputComment"
  477. #define SOMTTemplateOutputC_somtOutputComment(somSelf,comment) \
  478.     (SOM_Resolve(somSelf, SOMTTemplateOutputC, somtOutputComment) \
  479.     (somSelf,comment))
  480. #ifndef SOMGD_somtOutputComment
  481.     #if (defined(_somtOutputComment) || defined(__somtOutputComment))
  482.         #undef _somtOutputComment
  483.         #undef __somtOutputComment
  484.         #define SOMGD_somtOutputComment 1
  485.     #else
  486.         #define _somtOutputComment SOMTTemplateOutputC_somtOutputComment
  487.     #endif /* _somtOutputComment */
  488. #endif /* SOMGD_somtOutputComment */
  489.  
  490. /*
  491.  * New Method: somtOutputSection
  492.  */
  493. typedef void   SOMLINK somTP_SOMTTemplateOutputC_somtOutputSection(SOMTTemplateOutputC *somSelf,
  494.         string sectionName);
  495. typedef somTP_SOMTTemplateOutputC_somtOutputSection *somTD_SOMTTemplateOutputC_somtOutputSection;
  496. #define somMD_SOMTTemplateOutputC_somtOutputSection "::SOMTTemplateOutputC::somtOutputSection"
  497. #define SOMTTemplateOutputC_somtOutputSection(somSelf,sectionName) \
  498.     (SOM_Resolve(somSelf, SOMTTemplateOutputC, somtOutputSection) \
  499.     (somSelf,sectionName))
  500. #ifndef SOMGD_somtOutputSection
  501.     #if (defined(_somtOutputSection) || defined(__somtOutputSection))
  502.         #undef _somtOutputSection
  503.         #undef __somtOutputSection
  504.         #define SOMGD_somtOutputSection 1
  505.     #else
  506.         #define _somtOutputSection SOMTTemplateOutputC_somtOutputSection
  507.     #endif /* _somtOutputSection */
  508. #endif /* SOMGD_somtOutputSection */
  509.  
  510. /*
  511.  * New Method: somtAddSectionDefinitions
  512.  */
  513. typedef void   SOMLINK somTP_SOMTTemplateOutputC_somtAddSectionDefinitions(SOMTTemplateOutputC *somSelf,
  514.         string defString);
  515. typedef somTP_SOMTTemplateOutputC_somtAddSectionDefinitions *somTD_SOMTTemplateOutputC_somtAddSectionDefinitions;
  516. #define somMD_SOMTTemplateOutputC_somtAddSectionDefinitions "::SOMTTemplateOutputC::somtAddSectionDefinitions"
  517. #define SOMTTemplateOutputC_somtAddSectionDefinitions(somSelf,defString) \
  518.     (SOM_Resolve(somSelf, SOMTTemplateOutputC, somtAddSectionDefinitions) \
  519.     (somSelf,defString))
  520. #ifndef SOMGD_somtAddSectionDefinitions
  521.     #if (defined(_somtAddSectionDefinitions) || defined(__somtAddSectionDefinitions))
  522.         #undef _somtAddSectionDefinitions
  523.         #undef __somtAddSectionDefinitions
  524.         #define SOMGD_somtAddSectionDefinitions 1
  525.     #else
  526.         #define _somtAddSectionDefinitions SOMTTemplateOutputC_somtAddSectionDefinitions
  527.     #endif /* _somtAddSectionDefinitions */
  528. #endif /* SOMGD_somtAddSectionDefinitions */
  529.  
  530. /*
  531.  * New Method: somtReadSectionDefinitions
  532.  */
  533. typedef void   SOMLINK somTP_SOMTTemplateOutputC_somtReadSectionDefinitions(SOMTTemplateOutputC *somSelf,
  534.         FILE* fp);
  535. typedef somTP_SOMTTemplateOutputC_somtReadSectionDefinitions *somTD_SOMTTemplateOutputC_somtReadSectionDefinitions;
  536. #define somMD_SOMTTemplateOutputC_somtReadSectionDefinitions "::SOMTTemplateOutputC::somtReadSectionDefinitions"
  537. #define SOMTTemplateOutputC_somtReadSectionDefinitions(somSelf,fp) \
  538.     (SOM_Resolve(somSelf, SOMTTemplateOutputC, somtReadSectionDefinitions) \
  539.     (somSelf,fp))
  540. #ifndef SOMGD_somtReadSectionDefinitions
  541.     #if (defined(_somtReadSectionDefinitions) || defined(__somtReadSectionDefinitions))
  542.         #undef _somtReadSectionDefinitions
  543.         #undef __somtReadSectionDefinitions
  544.         #define SOMGD_somtReadSectionDefinitions 1
  545.     #else
  546.         #define _somtReadSectionDefinitions SOMTTemplateOutputC_somtReadSectionDefinitions
  547.     #endif /* _somtReadSectionDefinitions */
  548. #endif /* SOMGD_somtReadSectionDefinitions */
  549.  
  550. /*
  551.  * New Method: somtExpandSymbol
  552.  */
  553. typedef string   SOMLINK somTP_SOMTTemplateOutputC_somtExpandSymbol(SOMTTemplateOutputC *somSelf,
  554.         string s,
  555.         string buf);
  556. typedef somTP_SOMTTemplateOutputC_somtExpandSymbol *somTD_SOMTTemplateOutputC_somtExpandSymbol;
  557. #define somMD_SOMTTemplateOutputC_somtExpandSymbol "::SOMTTemplateOutputC::somtExpandSymbol"
  558. #define SOMTTemplateOutputC_somtExpandSymbol(somSelf,s,buf) \
  559.     (SOM_Resolve(somSelf, SOMTTemplateOutputC, somtExpandSymbol) \
  560.     (somSelf,s,buf))
  561. #ifndef SOMGD_somtExpandSymbol
  562.     #if (defined(_somtExpandSymbol) || defined(__somtExpandSymbol))
  563.         #undef _somtExpandSymbol
  564.         #undef __somtExpandSymbol
  565.         #define SOMGD_somtExpandSymbol 1
  566.     #else
  567.         #define _somtExpandSymbol SOMTTemplateOutputC_somtExpandSymbol
  568.     #endif /* _somtExpandSymbol */
  569. #endif /* SOMGD_somtExpandSymbol */
  570. #ifndef SOM_DONT_USE_INHERITED_MACROS
  571. #define SOMTTemplateOutputC_somDefaultInit SOMObject_somDefaultInit
  572. #define SOMTTemplateOutputC_somDestruct SOMObject_somDestruct
  573. #define SOMTTemplateOutputC_somDefaultCopyInit SOMObject_somDefaultCopyInit
  574. #define SOMTTemplateOutputC_somDefaultAssign SOMObject_somDefaultAssign
  575. #define SOMTTemplateOutputC_somDefaultConstCopyInit SOMObject_somDefaultConstCopyInit
  576. #define SOMTTemplateOutputC_somDefaultVCopyInit SOMObject_somDefaultVCopyInit
  577. #define SOMTTemplateOutputC_somDefaultConstVCopyInit SOMObject_somDefaultConstVCopyInit
  578. #define SOMTTemplateOutputC_somDefaultConstAssign SOMObject_somDefaultConstAssign
  579. #define SOMTTemplateOutputC_somDefaultVAssign SOMObject_somDefaultVAssign
  580. #define SOMTTemplateOutputC_somDefaultConstVAssign SOMObject_somDefaultConstVAssign
  581. #define SOMTTemplateOutputC_somFree SOMObject_somFree
  582. #define SOMTTemplateOutputC_somGetClass SOMObject_somGetClass
  583. #define SOMTTemplateOutputC_somGetClassName SOMObject_somGetClassName
  584. #define SOMTTemplateOutputC_somGetSize SOMObject_somGetSize
  585. #define SOMTTemplateOutputC_somIsA SOMObject_somIsA
  586. #define SOMTTemplateOutputC_somIsInstanceOf SOMObject_somIsInstanceOf
  587. #define SOMTTemplateOutputC_somRespondsTo SOMObject_somRespondsTo
  588. #define SOMTTemplateOutputC_somDispatch SOMObject_somDispatch
  589. #define SOMTTemplateOutputC_somClassDispatch SOMObject_somClassDispatch
  590. #define SOMTTemplateOutputC_somCastObj SOMObject_somCastObj
  591. #define SOMTTemplateOutputC_somResetObj SOMObject_somResetObj
  592. #define SOMTTemplateOutputC_somDumpSelf SOMObject_somDumpSelf
  593. #endif /* SOM_DONT_USE_INHERITED_MACROS */
  594.  
  595. #endif       /* SOM_SOMTTemplateOutputC_h */
  596.