home *** CD-ROM | disk | FTP | other *** search
/ Power GUI Programming with VisualAge C++ / powergui.iso / trialva / ibmcppw / include / scbase.xh < prev    next >
Encoding:
Text File  |  1996-02-22  |  23.9 KB  |  747 lines

  1.  
  2. /*
  3.  * This file was generated by the SOM Compiler.
  4.  * FileName: h:\somnt\include\scbase.xh.
  5.  * Generated using:
  6.  *     SOM Precompiler somipc: Development
  7.  *     SOM Emitter emitxh.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.  *  %Z% %I% %W% %G% %U% [%H% %T%]
  23.  * 
  24.  */
  25.  
  26.  
  27. #ifndef SOM_SOMTBaseClassEntryC_xh
  28. #define SOM_SOMTBaseClassEntryC_xh
  29.  
  30. class SOMTBaseClassEntryC;
  31.  
  32. #define SOMTBaseClassEntryC_MajorVersion 2
  33. #define SOMTBaseClassEntryC_MinorVersion 1
  34.  
  35. /* C++ SOM defs */
  36. #include <somcls.xh>
  37. #include <somcm.xh>
  38.  
  39. /* C++ parent defs */
  40. #ifndef SOM_SOMTEntryC_xh
  41. #include <scentry.xh>
  42. #endif
  43.  
  44. #ifndef SOMTBaseClassEntryC_API
  45. #define SOMTBaseClassEntryC_API
  46. /*
  47.  * -- The Class API
  48.  */
  49.  
  50. /*
  51.  * Start of user-defined types:
  52.  */
  53. class SOMClass;
  54. class SOMObject;
  55. class SOMTEntryC;
  56. class SOMTEmitC;
  57. class SOMTMetaClassEntryC;
  58. class SOMTAttributeEntryC;
  59. class SOMTTypedefEntryC;
  60. class SOMTBaseClassEntryC;
  61. class SOMTPassthruEntryC;
  62. class SOMTDataEntryC;
  63. class SOMTMethodEntryC;
  64. class SOMTClassEntryC;
  65. class SOMTModuleEntryC;
  66. class SOMTParameterEntryC;
  67. class SOMTStructEntryC;
  68. class SOMTUnionEntryC;
  69. class SOMTEnumEntryC;
  70. class SOMTConstEntryC;
  71. class SOMTSequenceEntryC;
  72. class SOMTStringEntryC;
  73. class SOMTEnumNameEntryC;
  74. class SOMTCommonEntryC;
  75. class SOMTUserDefinedTypeEntryC;
  76.  
  77. /*
  78.  * End of user-defined types.
  79.  */
  80.  
  81. /* A procedure to create the SOMTBaseClassEntryC Class */
  82. SOMEXTERN
  83. #if (defined(SOM_Module_scbase_Source) || defined(SOMTBaseClassEntryC_Class_Source) || defined (SOM_DONT_IMPORT_CLASS_SOMTBaseClassEntryC))
  84. WIN32_DLLEXPORT
  85. #else
  86. WIN32_DLLIMPORT
  87. #endif
  88. SOMClass * SOMLINK SOMTBaseClassEntryCNewClass(
  89.         integer4,
  90.         integer4 );
  91.  
  92. /* The API to the SOMTBaseClassEntryC class object, and the methods it introduces. */
  93. SOMEXTERN struct SOMTBaseClassEntryCClassDataStructure {
  94.     SOMClass *classObject;
  95.     somMToken _get_somtBaseClassDef;
  96. }
  97. #if !(defined(SOM_Module_scbase_Source) || defined(SOMTBaseClassEntryC_Class_Source) || defined (SOM_DONT_IMPORT_CLASS_SOMTBaseClassEntryC))
  98. WIN32_DLLIMPORT
  99. #elif defined(_MSC_VER)||defined(_WIN32_DECL_PROTO)
  100. WIN32_DLLEXPORT
  101. #endif
  102. SOMDLINK SOMTBaseClassEntryCClassData;
  103. #define _SOMTBaseClassEntryC SOMTBaseClassEntryCClassData.classObject
  104.  
  105. /* The API to parentMtabs for SOMTBaseClassEntryC, and the instance data it introduces. */
  106. SOMEXTERN struct SOMTBaseClassEntryCCClassDataStructure {
  107.     somMethodTabs parentMtab;
  108.     somDToken              instanceDataToken;
  109. }
  110. #if !(defined(SOM_Module_scbase_Source) || defined(SOMTBaseClassEntryC_Class_Source) || defined (SOM_DONT_IMPORT_CLASS_SOMTBaseClassEntryC))
  111. WIN32_DLLIMPORT
  112. #elif defined(_MSC_VER)||defined(_WIN32_DECL_PROTO)
  113. WIN32_DLLEXPORT
  114. #endif
  115. SOMDLINK SOMTBaseClassEntryCCClassData;
  116.  
  117. /*
  118.  * -- Typedefs for SOMTBaseClassEntryC Method Procedures
  119.  */
  120. extern "C" {
  121. typedef SOMTClassEntryC*   SOMLINK somTP_SOMTBaseClassEntryC__get_somtBaseClassDef(SOMTBaseClassEntryC *somSelf);
  122. typedef somTP_SOMTBaseClassEntryC__get_somtBaseClassDef *somTD_SOMTBaseClassEntryC__get_somtBaseClassDef;
  123.  
  124. /*
  125.  * -- Typedefs for Reintroduced Wrapper Methods
  126.  */
  127. typedef string   SOMLINK somTP_SOMTBaseClassEntryC__get_somtEntryName(SOMTBaseClassEntryC *somSelf);
  128. typedef somTP_SOMTBaseClassEntryC__get_somtEntryName *somTD_SOMTBaseClassEntryC__get_somtEntryName;
  129. typedef void   SOMLINK somTP_SOMTBaseClassEntryC__set_somtEntryName(SOMTBaseClassEntryC *somSelf,
  130.         string somtEntryName);
  131. typedef somTP_SOMTBaseClassEntryC__set_somtEntryName *somTD_SOMTBaseClassEntryC__set_somtEntryName;
  132. typedef SOMTTypes   SOMLINK somTP_SOMTBaseClassEntryC__get_somtElementType(SOMTBaseClassEntryC *somSelf);
  133. typedef somTP_SOMTBaseClassEntryC__get_somtElementType *somTD_SOMTBaseClassEntryC__get_somtElementType;
  134. typedef void   SOMLINK somTP_SOMTBaseClassEntryC__set_somtElementType(SOMTBaseClassEntryC *somSelf,
  135.         SOMTTypes somtElementType);
  136. typedef somTP_SOMTBaseClassEntryC__set_somtElementType *somTD_SOMTBaseClassEntryC__set_somtElementType;
  137. typedef string   SOMLINK somTP_SOMTBaseClassEntryC__get_somtElementTypeName(SOMTBaseClassEntryC *somSelf);
  138. typedef somTP_SOMTBaseClassEntryC__get_somtElementTypeName *somTD_SOMTBaseClassEntryC__get_somtElementTypeName;
  139. typedef string   SOMLINK somTP_SOMTBaseClassEntryC__get_somtEntryComment(SOMTBaseClassEntryC *somSelf);
  140. typedef somTP_SOMTBaseClassEntryC__get_somtEntryComment *somTD_SOMTBaseClassEntryC__get_somtEntryComment;
  141. typedef unsigned long   SOMLINK somTP_SOMTBaseClassEntryC__get_somtSourceLineNumber(SOMTBaseClassEntryC *somSelf);
  142. typedef somTP_SOMTBaseClassEntryC__get_somtSourceLineNumber *somTD_SOMTBaseClassEntryC__get_somtSourceLineNumber;
  143. typedef TypeCode   SOMLINK somTP_SOMTBaseClassEntryC__get_somtTypeCode(SOMTBaseClassEntryC *somSelf);
  144. typedef somTP_SOMTBaseClassEntryC__get_somtTypeCode *somTD_SOMTBaseClassEntryC__get_somtTypeCode;
  145. typedef boolean   SOMLINK somTP_SOMTBaseClassEntryC__get_somtIsReference(SOMTBaseClassEntryC *somSelf);
  146. typedef somTP_SOMTBaseClassEntryC__get_somtIsReference *somTD_SOMTBaseClassEntryC__get_somtIsReference;
  147. typedef string   SOMLINK somTP_SOMTBaseClassEntryC__get_somtIDLScopedName(SOMTBaseClassEntryC *somSelf);
  148. typedef somTP_SOMTBaseClassEntryC__get_somtIDLScopedName *somTD_SOMTBaseClassEntryC__get_somtIDLScopedName;
  149. typedef string   SOMLINK somTP_SOMTBaseClassEntryC__get_somtCScopedName(SOMTBaseClassEntryC *somSelf);
  150. typedef somTP_SOMTBaseClassEntryC__get_somtCScopedName *somTD_SOMTBaseClassEntryC__get_somtCScopedName;
  151. typedef string   SOMLINK somTP_SOMTBaseClassEntryC_somtGetModifierValue(SOMTBaseClassEntryC *somSelf,
  152.         string modifierName);
  153. typedef somTP_SOMTBaseClassEntryC_somtGetModifierValue *somTD_SOMTBaseClassEntryC_somtGetModifierValue;
  154. typedef boolean   SOMLINK somTP_SOMTBaseClassEntryC_somtGetFirstModifier(SOMTBaseClassEntryC *somSelf,
  155.         string* modifierName,
  156.         string* modifierValue);
  157. typedef somTP_SOMTBaseClassEntryC_somtGetFirstModifier *somTD_SOMTBaseClassEntryC_somtGetFirstModifier;
  158. typedef boolean   SOMLINK somTP_SOMTBaseClassEntryC_somtGetNextModifier(SOMTBaseClassEntryC *somSelf,
  159.         string* modifierName,
  160.         string* modifierValue);
  161. typedef somTP_SOMTBaseClassEntryC_somtGetNextModifier *somTD_SOMTBaseClassEntryC_somtGetNextModifier;
  162. typedef long   SOMLINK somTP_SOMTBaseClassEntryC_somtFormatModifier(SOMTBaseClassEntryC *somSelf,
  163.         string buffer,
  164.         string name,
  165.         string value);
  166. typedef somTP_SOMTBaseClassEntryC_somtFormatModifier *somTD_SOMTBaseClassEntryC_somtFormatModifier;
  167. typedef long   SOMLINK somTP_SOMTBaseClassEntryC_somtGetModifierList(SOMTBaseClassEntryC *somSelf,
  168.         string buffer);
  169. typedef somTP_SOMTBaseClassEntryC_somtGetModifierList *somTD_SOMTBaseClassEntryC_somtGetModifierList;
  170. typedef long   SOMLINK somTP_SOMTBaseClassEntryC_somtSetSymbolsOnEntry(SOMTBaseClassEntryC *somSelf,
  171.         SOMTEmitC* emitter,
  172.         string prefix);
  173. typedef somTP_SOMTBaseClassEntryC_somtSetSymbolsOnEntry *somTD_SOMTBaseClassEntryC_somtSetSymbolsOnEntry;
  174. typedef void   SOMLINK somTP_SOMTBaseClassEntryC_somtSetEntryStruct(SOMTBaseClassEntryC *somSelf,
  175.         Entry* es);
  176. typedef somTP_SOMTBaseClassEntryC_somtSetEntryStruct *somTD_SOMTBaseClassEntryC_somtSetEntryStruct;
  177. typedef void   SOMLINK somTP_SOMTBaseClassEntryC_somInit(SOMTBaseClassEntryC *somSelf);
  178. typedef somTP_SOMTBaseClassEntryC_somInit *somTD_SOMTBaseClassEntryC_somInit;
  179. typedef void   SOMLINK somTP_SOMTBaseClassEntryC_somUninit(SOMTBaseClassEntryC *somSelf);
  180. typedef somTP_SOMTBaseClassEntryC_somUninit *somTD_SOMTBaseClassEntryC_somUninit;
  181. typedef SOMObject*   SOMLINK somTP_SOMTBaseClassEntryC_somPrintSelf(SOMTBaseClassEntryC *somSelf);
  182. typedef somTP_SOMTBaseClassEntryC_somPrintSelf *somTD_SOMTBaseClassEntryC_somPrintSelf;
  183. typedef void   SOMLINK somTP_SOMTBaseClassEntryC_somDumpSelfInt(SOMTBaseClassEntryC *somSelf,
  184.         long level);
  185. typedef somTP_SOMTBaseClassEntryC_somDumpSelfInt *somTD_SOMTBaseClassEntryC_somDumpSelfInt;
  186. typedef void   SOMLINK somTP_SOMTBaseClassEntryC_somDumpSelf(SOMTBaseClassEntryC *somSelf,
  187.         long level);
  188. typedef somTP_SOMTBaseClassEntryC_somDumpSelf *somTD_SOMTBaseClassEntryC_somDumpSelf;
  189. typedef void   SOMLINK somTP_SOMTBaseClassEntryC_somDefaultInit(SOMTBaseClassEntryC *somSelf,
  190.         somInitCtrl* ctrl);
  191. typedef somTP_SOMTBaseClassEntryC_somDefaultInit *somTD_SOMTBaseClassEntryC_somDefaultInit;
  192. typedef void   SOMLINK somTP_SOMTBaseClassEntryC_somDestruct(SOMTBaseClassEntryC *somSelf,
  193.         octet doFree,
  194.         somDestructCtrl* ctrl);
  195. typedef somTP_SOMTBaseClassEntryC_somDestruct *somTD_SOMTBaseClassEntryC_somDestruct;
  196. typedef void   SOMLINK somTP_SOMTBaseClassEntryC_somDefaultCopyInit(SOMTBaseClassEntryC *somSelf,
  197.         somInitCtrl* ctrl,
  198.         SOMObject* fromObj);
  199. typedef somTP_SOMTBaseClassEntryC_somDefaultCopyInit *somTD_SOMTBaseClassEntryC_somDefaultCopyInit;
  200. typedef SOMTBaseClassEntryC*   SOMLINK somTP_SOMTBaseClassEntryC_somDefaultAssign(SOMTBaseClassEntryC *somSelf,
  201.         somAssignCtrl* ctrl,
  202.         SOMObject* fromObj);
  203. typedef somTP_SOMTBaseClassEntryC_somDefaultAssign *somTD_SOMTBaseClassEntryC_somDefaultAssign;
  204. typedef void   SOMLINK somTP_SOMTBaseClassEntryC_somDefaultConstCopyInit(SOMTBaseClassEntryC *somSelf,
  205.         somInitCtrl* ctrl,
  206.         SOMObject* fromObj);
  207. typedef somTP_SOMTBaseClassEntryC_somDefaultConstCopyInit *somTD_SOMTBaseClassEntryC_somDefaultConstCopyInit;
  208. typedef void   SOMLINK somTP_SOMTBaseClassEntryC_somDefaultVCopyInit(SOMTBaseClassEntryC *somSelf,
  209.         somInitCtrl* ctrl,
  210.         SOMObject* fromObj);
  211. typedef somTP_SOMTBaseClassEntryC_somDefaultVCopyInit *somTD_SOMTBaseClassEntryC_somDefaultVCopyInit;
  212. typedef void   SOMLINK somTP_SOMTBaseClassEntryC_somDefaultConstVCopyInit(SOMTBaseClassEntryC *somSelf,
  213.         somInitCtrl* ctrl,
  214.         SOMObject* fromObj);
  215. typedef somTP_SOMTBaseClassEntryC_somDefaultConstVCopyInit *somTD_SOMTBaseClassEntryC_somDefaultConstVCopyInit;
  216. typedef SOMTBaseClassEntryC*   SOMLINK somTP_SOMTBaseClassEntryC_somDefaultConstAssign(SOMTBaseClassEntryC *somSelf,
  217.         somAssignCtrl* ctrl,
  218.         SOMObject* fromObj);
  219. typedef somTP_SOMTBaseClassEntryC_somDefaultConstAssign *somTD_SOMTBaseClassEntryC_somDefaultConstAssign;
  220. typedef SOMTBaseClassEntryC*   SOMLINK somTP_SOMTBaseClassEntryC_somDefaultVAssign(SOMTBaseClassEntryC *somSelf,
  221.         somAssignCtrl* ctrl,
  222.         SOMObject* fromObj);
  223. typedef somTP_SOMTBaseClassEntryC_somDefaultVAssign *somTD_SOMTBaseClassEntryC_somDefaultVAssign;
  224. typedef SOMTBaseClassEntryC*   SOMLINK somTP_SOMTBaseClassEntryC_somDefaultConstVAssign(SOMTBaseClassEntryC *somSelf,
  225.         somAssignCtrl* ctrl,
  226.         SOMObject* fromObj);
  227. typedef somTP_SOMTBaseClassEntryC_somDefaultConstVAssign *somTD_SOMTBaseClassEntryC_somDefaultConstVAssign;
  228. typedef void   SOMLINK somTP_SOMTBaseClassEntryC_somFree(SOMTBaseClassEntryC *somSelf);
  229. typedef somTP_SOMTBaseClassEntryC_somFree *somTD_SOMTBaseClassEntryC_somFree;
  230. typedef SOMClass*   SOMLINK somTP_SOMTBaseClassEntryC_somGetClass(SOMTBaseClassEntryC *somSelf);
  231. typedef somTP_SOMTBaseClassEntryC_somGetClass *somTD_SOMTBaseClassEntryC_somGetClass;
  232. typedef string   SOMLINK somTP_SOMTBaseClassEntryC_somGetClassName(SOMTBaseClassEntryC *somSelf);
  233. typedef somTP_SOMTBaseClassEntryC_somGetClassName *somTD_SOMTBaseClassEntryC_somGetClassName;
  234. typedef long   SOMLINK somTP_SOMTBaseClassEntryC_somGetSize(SOMTBaseClassEntryC *somSelf);
  235. typedef somTP_SOMTBaseClassEntryC_somGetSize *somTD_SOMTBaseClassEntryC_somGetSize;
  236. typedef boolean   SOMLINK somTP_SOMTBaseClassEntryC_somIsA(SOMTBaseClassEntryC *somSelf,
  237.         SOMClass* aClassObj);
  238. typedef somTP_SOMTBaseClassEntryC_somIsA *somTD_SOMTBaseClassEntryC_somIsA;
  239. typedef boolean   SOMLINK somTP_SOMTBaseClassEntryC_somIsInstanceOf(SOMTBaseClassEntryC *somSelf,
  240.         SOMClass* aClassObj);
  241. typedef somTP_SOMTBaseClassEntryC_somIsInstanceOf *somTD_SOMTBaseClassEntryC_somIsInstanceOf;
  242. typedef boolean   SOMLINK somTP_SOMTBaseClassEntryC_somRespondsTo(SOMTBaseClassEntryC *somSelf,
  243.         somId mId);
  244. typedef somTP_SOMTBaseClassEntryC_somRespondsTo *somTD_SOMTBaseClassEntryC_somRespondsTo;
  245. typedef boolean   SOMLINK somTP_SOMTBaseClassEntryC_somDispatch(SOMTBaseClassEntryC *somSelf,
  246.         somToken* retValue,
  247.         somId methodId,
  248.         va_list ap);
  249. typedef somTP_SOMTBaseClassEntryC_somDispatch *somTD_SOMTBaseClassEntryC_somDispatch;
  250. typedef boolean   SOMLINK somTP_SOMTBaseClassEntryC_somClassDispatch(SOMTBaseClassEntryC *somSelf,
  251.         SOMClass* clsObj,
  252.         somToken* retValue,
  253.         somId methodId,
  254.         va_list ap);
  255. typedef somTP_SOMTBaseClassEntryC_somClassDispatch *somTD_SOMTBaseClassEntryC_somClassDispatch;
  256. typedef boolean   SOMLINK somTP_SOMTBaseClassEntryC_somCastObj(SOMTBaseClassEntryC *somSelf,
  257.         SOMClass* cls);
  258. typedef somTP_SOMTBaseClassEntryC_somCastObj *somTD_SOMTBaseClassEntryC_somCastObj;
  259. typedef boolean   SOMLINK somTP_SOMTBaseClassEntryC_somResetObj(SOMTBaseClassEntryC *somSelf);
  260. typedef somTP_SOMTBaseClassEntryC_somResetObj *somTD_SOMTBaseClassEntryC_somResetObj;
  261. }
  262.  
  263. #endif /* SOMTBaseClassEntryC_API */
  264.  
  265.  
  266. /*
  267.  * -- This emitter believes that method thunks are unavailable,
  268.  * -- so somResolve will be called.
  269.  */
  270. #undef somresolve_
  271. #define somresolve_(obj,mToken) (somResolve(obj,mToken))
  272.  
  273. /*
  274.  * -- The C++ Wrapper Class for SOMTBaseClassEntryC
  275.  */
  276. class SOMTBaseClassEntryC : public SOMTEntryC
  277. {
  278. public:
  279.  
  280. // SOMTBaseClassEntryC::new creates the class object if necessary, and then uses somNewNoInit
  281. // to allocate memory and create the object. Initialization is in ctors.
  282. void *operator new(size_t)
  283. {
  284.    if (!_SOMTBaseClassEntryC) SOMTBaseClassEntryCNewClass(SOMTBaseClassEntryC_MajorVersion,SOMTBaseClassEntryC_MinorVersion);
  285.    return (void*)
  286.       SOM_Resolve(_SOMTBaseClassEntryC,SOMClass,somNewNoInit)
  287.          ((SOMClass *)((void*)_SOMTBaseClassEntryC));
  288. }
  289.  
  290. // SOMTBaseClassEntryC::delete uses somDestruct.
  291. void operator delete(void * obj)
  292. {
  293.    if (obj && *(void**)obj) {
  294.       SOM_Resolve(obj,SOMObject,somDestruct)
  295.          ((SOMObject*)obj, 1, 0);
  296.    }
  297. }
  298.  
  299. SOMTBaseClassEntryC()
  300. {
  301.    if (*(void**)this != 
  302.        ((somParentMtabStructPtr)
  303.         (SOMTBaseClassEntryCCClassData.parentMtab))->mtab)
  304.       return;
  305.    ((SOMObject*)((void*)this))->somDefaultInit(0);
  306. }
  307.  
  308. SOMTBaseClassEntryC(SOMTBaseClassEntryC* fromObj)
  309. {
  310.    if (*(void**)this != 
  311.        ((somParentMtabStructPtr)
  312.         (SOMTBaseClassEntryCCClassData.parentMtab))->mtab)
  313.       return;
  314.    ((SOMObject*)((void*)this))->somDefaultCopyInit(0,((SOMObject*)((void*)fromObj)));
  315. }
  316.  
  317. SOMTBaseClassEntryC(const SOMTBaseClassEntryC* fromObj)
  318. {
  319.    if (*(void**)this != 
  320.        ((somParentMtabStructPtr)
  321.         (SOMTBaseClassEntryCCClassData.parentMtab))->mtab)
  322.       return;
  323.    ((SOMObject*)((void*)this))->somDefaultConstCopyInit(0,((SOMObject*)((void*)fromObj)));
  324. }
  325.  
  326.  
  327. /* method: _get_somtBaseClassDef */
  328. SOMTClassEntryC*   _get_somtBaseClassDef()
  329. {
  330.    return SOM_ResolveD(this,SOMTBaseClassEntryC,SOMTBaseClassEntryC,_get_somtBaseClassDef)
  331.     (this);
  332. }
  333.  
  334.  
  335. /*
  336.  * Reintroduce inherited methods
  337.  */
  338.  
  339. /* method: _get_somtEntryName */
  340. string   _get_somtEntryName()
  341. {
  342.    return SOM_ResolveD(this,SOMTBaseClassEntryC,SOMTEntryC,_get_somtEntryName)
  343.     (this);
  344. }
  345.  
  346.  
  347. /* method: _set_somtEntryName */
  348. void   _set_somtEntryName(string somtEntryName)
  349. {
  350.    SOM_ResolveD(this,SOMTBaseClassEntryC,SOMTEntryC,_set_somtEntryName)
  351.     (this,somtEntryName);
  352. }
  353.  
  354.  
  355. /* method: _get_somtElementType */
  356. SOMTTypes   _get_somtElementType()
  357. {
  358.    return SOM_ResolveD(this,SOMTBaseClassEntryC,SOMTEntryC,_get_somtElementType)
  359.     (this);
  360. }
  361.  
  362.  
  363. /* method: _set_somtElementType */
  364. void   _set_somtElementType(SOMTTypes somtElementType)
  365. {
  366.    SOM_ResolveD(this,SOMTBaseClassEntryC,SOMTEntryC,_set_somtElementType)
  367.     (this,somtElementType);
  368. }
  369.  
  370.  
  371. /* method: _get_somtElementTypeName */
  372. string   _get_somtElementTypeName()
  373. {
  374.    return SOM_ResolveD(this,SOMTBaseClassEntryC,SOMTEntryC,_get_somtElementTypeName)
  375.     (this);
  376. }
  377.  
  378.  
  379. /* method: _get_somtEntryComment */
  380. string   _get_somtEntryComment()
  381. {
  382.    return SOM_ResolveD(this,SOMTBaseClassEntryC,SOMTEntryC,_get_somtEntryComment)
  383.     (this);
  384. }
  385.  
  386.  
  387. /* method: _get_somtSourceLineNumber */
  388. unsigned long   _get_somtSourceLineNumber()
  389. {
  390.    return SOM_ResolveD(this,SOMTBaseClassEntryC,SOMTEntryC,_get_somtSourceLineNumber)
  391.     (this);
  392. }
  393.  
  394.  
  395. /* method: _get_somtTypeCode */
  396. TypeCode   _get_somtTypeCode()
  397. {
  398.    return SOM_ResolveD(this,SOMTBaseClassEntryC,SOMTEntryC,_get_somtTypeCode)
  399.     (this);
  400. }
  401.  
  402.  
  403. /* method: _get_somtIsReference */
  404. boolean   _get_somtIsReference()
  405. {
  406.    return SOM_ResolveD(this,SOMTBaseClassEntryC,SOMTEntryC,_get_somtIsReference)
  407.     (this);
  408. }
  409.  
  410.  
  411. /* method: _get_somtIDLScopedName */
  412. string   _get_somtIDLScopedName()
  413. {
  414.    return SOM_ResolveD(this,SOMTBaseClassEntryC,SOMTEntryC,_get_somtIDLScopedName)
  415.     (this);
  416. }
  417.  
  418.  
  419. /* method: _get_somtCScopedName */
  420. string   _get_somtCScopedName()
  421. {
  422.    return SOM_ResolveD(this,SOMTBaseClassEntryC,SOMTEntryC,_get_somtCScopedName)
  423.     (this);
  424. }
  425.  
  426.  
  427. /* method: somtGetModifierValue */
  428. string   somtGetModifierValue(string modifierName)
  429. {
  430.    return SOM_ResolveD(this,SOMTBaseClassEntryC,SOMTEntryC,somtGetModifierValue)
  431.     (this,modifierName);
  432. }
  433.  
  434.  
  435. /* method: somtGetFirstModifier */
  436. boolean   somtGetFirstModifier(string* modifierName,
  437.         string* modifierValue)
  438. {
  439.    return SOM_ResolveD(this,SOMTBaseClassEntryC,SOMTEntryC,somtGetFirstModifier)
  440.     (this,modifierName,modifierValue);
  441. }
  442.  
  443.  
  444. /* method: somtGetNextModifier */
  445. boolean   somtGetNextModifier(string* modifierName,
  446.         string* modifierValue)
  447. {
  448.    return SOM_ResolveD(this,SOMTBaseClassEntryC,SOMTEntryC,somtGetNextModifier)
  449.     (this,modifierName,modifierValue);
  450. }
  451.  
  452.  
  453. /* method: somtFormatModifier */
  454. long   somtFormatModifier(string buffer,
  455.         string name,
  456.         string value)
  457. {
  458.    return SOM_ResolveD(this,SOMTBaseClassEntryC,SOMTEntryC,somtFormatModifier)
  459.     (this,buffer,name,value);
  460. }
  461.  
  462.  
  463. /* method: somtGetModifierList */
  464. long   somtGetModifierList(string buffer)
  465. {
  466.    return SOM_ResolveD(this,SOMTBaseClassEntryC,SOMTEntryC,somtGetModifierList)
  467.     (this,buffer);
  468. }
  469.  
  470.  
  471. /* method: somtSetSymbolsOnEntry */
  472. long   somtSetSymbolsOnEntry(SOMTEmitC* emitter,
  473.         string prefix)
  474. {
  475.    return SOM_ResolveD(this,SOMTBaseClassEntryC,SOMTEntryC,somtSetSymbolsOnEntry)
  476.     (this,emitter,prefix);
  477. }
  478.  
  479.  
  480. /* method: somtSetEntryStruct */
  481. void   somtSetEntryStruct(Entry* es)
  482. {
  483.    SOM_ResolveD(this,SOMTBaseClassEntryC,SOMTEntryC,somtSetEntryStruct)
  484.     (this,es);
  485. }
  486.  
  487.  
  488. /* method: somInit */
  489. void   somInit()
  490. {
  491.    SOM_ResolveD(this,SOMTBaseClassEntryC,SOMObject,somInit)
  492.     (this);
  493. }
  494.  
  495.  
  496. /* method: somUninit */
  497. void   somUninit()
  498. {
  499.    SOM_ResolveD(this,SOMTBaseClassEntryC,SOMObject,somUninit)
  500.     (this);
  501. }
  502.  
  503.  
  504. /* method: somPrintSelf */
  505. SOMObject*   somPrintSelf()
  506. {
  507.    return SOM_ResolveD(this,SOMTBaseClassEntryC,SOMObject,somPrintSelf)
  508.     (this);
  509. }
  510.  
  511.  
  512. /* method: somDumpSelfInt */
  513. void   somDumpSelfInt(long level)
  514. {
  515.    SOM_ResolveD(this,SOMTBaseClassEntryC,SOMObject,somDumpSelfInt)
  516.     (this,level);
  517. }
  518.  
  519.  
  520. /* method: somDumpSelf */
  521. void   somDumpSelf(long level)
  522. {
  523.    SOM_ResolveD(this,SOMTBaseClassEntryC,SOMObject,somDumpSelf)
  524.     (this,level);
  525. }
  526.  
  527.  
  528. /* initializer method: somDefaultInit */
  529. void   somDefaultInit(somInitCtrl* ctrl)
  530. {
  531.    SOM_ResolveD(this,SOMTBaseClassEntryC,SOMObject,somDefaultInit)
  532.     (this,ctrl);
  533. }
  534.  
  535.  
  536. /* method: somDestruct */
  537. void   somDestruct(octet doFree,
  538.         somDestructCtrl* ctrl)
  539. {
  540.    SOM_ResolveD(this,SOMTBaseClassEntryC,SOMObject,somDestruct)
  541.     (this,doFree,ctrl);
  542. }
  543.  
  544.  
  545. /* initializer method: somDefaultCopyInit */
  546. void   somDefaultCopyInit(somInitCtrl* ctrl,
  547.         SOMObject* fromObj)
  548. {
  549.    SOM_ResolveD(this,SOMTBaseClassEntryC,SOMObject,somDefaultCopyInit)
  550.     (this,ctrl,fromObj);
  551. }
  552.  
  553.  
  554. /* method: somDefaultAssign */
  555. SOMTBaseClassEntryC*  somDefaultAssign(somAssignCtrl* ctrl,
  556.         SOMObject* fromObj)
  557. {
  558.    return SOM_ResolveD(this,SOMTBaseClassEntryC,SOMObject,somDefaultAssign)
  559.     (this,ctrl,fromObj);
  560. }
  561.  
  562.  
  563. /* initializer method: somDefaultConstCopyInit */
  564. void   somDefaultConstCopyInit(somInitCtrl* ctrl,
  565.         SOMObject* fromObj)
  566. {
  567.    SOM_ResolveD(this,SOMTBaseClassEntryC,SOMObject,somDefaultConstCopyInit)
  568.     (this,ctrl,fromObj);
  569. }
  570.  
  571.  
  572. /* initializer method: somDefaultVCopyInit */
  573. void   somDefaultVCopyInit(somInitCtrl* ctrl,
  574.         SOMObject* fromObj)
  575. {
  576.    SOM_ResolveD(this,SOMTBaseClassEntryC,SOMObject,somDefaultVCopyInit)
  577.     (this,ctrl,fromObj);
  578. }
  579.  
  580.  
  581. /* initializer method: somDefaultConstVCopyInit */
  582. void   somDefaultConstVCopyInit(somInitCtrl* ctrl,
  583.         SOMObject* fromObj)
  584. {
  585.    SOM_ResolveD(this,SOMTBaseClassEntryC,SOMObject,somDefaultConstVCopyInit)
  586.     (this,ctrl,fromObj);
  587. }
  588.  
  589.  
  590. /* method: somDefaultConstAssign */
  591. SOMTBaseClassEntryC*  somDefaultConstAssign(somAssignCtrl* ctrl,
  592.         SOMObject* fromObj)
  593. {
  594.    return SOM_ResolveD(this,SOMTBaseClassEntryC,SOMObject,somDefaultConstAssign)
  595.     (this,ctrl,fromObj);
  596. }
  597.  
  598.  
  599. /* method: somDefaultVAssign */
  600. SOMTBaseClassEntryC*  somDefaultVAssign(somAssignCtrl* ctrl,
  601.         SOMObject* fromObj)
  602. {
  603.    return SOM_ResolveD(this,SOMTBaseClassEntryC,SOMObject,somDefaultVAssign)
  604.     (this,ctrl,fromObj);
  605. }
  606.  
  607.  
  608. /* method: somDefaultConstVAssign */
  609. SOMTBaseClassEntryC*  somDefaultConstVAssign(somAssignCtrl* ctrl,
  610.         SOMObject* fromObj)
  611. {
  612.    return SOM_ResolveD(this,SOMTBaseClassEntryC,SOMObject,somDefaultConstVAssign)
  613.     (this,ctrl,fromObj);
  614. }
  615.  
  616.  
  617. /* method: somFree */
  618. void   somFree()
  619. {
  620.    SOM_ResolveD(this,SOMTBaseClassEntryC,SOMObject,somFree)
  621.     (this);
  622. }
  623.  
  624.  
  625. /* method: somGetClass */
  626. SOMClass*   somGetClass()
  627. {
  628.    return SOM_ResolveD(this,SOMTBaseClassEntryC,SOMObject,somGetClass)
  629.     (this);
  630. }
  631.  
  632.  
  633. /* method: somGetClassName */
  634. string   somGetClassName()
  635. {
  636.    return SOM_ResolveD(this,SOMTBaseClassEntryC,SOMObject,somGetClassName)
  637.     (this);
  638. }
  639.  
  640.  
  641. /* method: somGetSize */
  642. long   somGetSize()
  643. {
  644.    return SOM_ResolveD(this,SOMTBaseClassEntryC,SOMObject,somGetSize)
  645.     (this);
  646. }
  647.  
  648.  
  649. /* method: somIsA */
  650. boolean   somIsA(SOMClass* aClassObj)
  651. {
  652.    return SOM_ResolveD(this,SOMTBaseClassEntryC,SOMObject,somIsA)
  653.     (this,aClassObj);
  654. }
  655.  
  656.  
  657. /* method: somIsInstanceOf */
  658. boolean   somIsInstanceOf(SOMClass* aClassObj)
  659. {
  660.    return SOM_ResolveD(this,SOMTBaseClassEntryC,SOMObject,somIsInstanceOf)
  661.     (this,aClassObj);
  662. }
  663.  
  664.  
  665. /* method: somRespondsTo */
  666. boolean   somRespondsTo(somId mId)
  667. {
  668.    return SOM_ResolveD(this,SOMTBaseClassEntryC,SOMObject,somRespondsTo)
  669.     (this,mId);
  670. }
  671.  
  672.  
  673. /* va_list method: somDispatch */
  674. /* the va_list invocation form */
  675. boolean   SOMTBaseClassEntryC_somDispatch(somToken* retValue,
  676.         somId methodId,
  677.         va_list ap)
  678. {
  679. return SOM_ResolveD(this,SOMTBaseClassEntryC,SOMObject,somDispatch)
  680.     (this,retValue,methodId,ap);
  681. }
  682.  
  683. /* the varargs invocation form */
  684. boolean   somDispatch(somToken* retValue,
  685.         somId methodId,
  686.         ...)
  687. {
  688.    va_list ap;
  689.    va_start(ap, methodId);
  690.    boolean __somResult = 
  691.       SOM_ResolveD(this,SOMTBaseClassEntryC,SOMObject,somDispatch)
  692.     (this,retValue,methodId,ap);
  693.    va_end(ap);
  694.    return __somResult;
  695. }
  696.  
  697.  
  698. /* va_list method: somClassDispatch */
  699. /* the va_list invocation form */
  700. boolean   SOMTBaseClassEntryC_somClassDispatch(SOMClass* clsObj,
  701.         somToken* retValue,
  702.         somId methodId,
  703.         va_list ap)
  704. {
  705. return SOM_ResolveD(this,SOMTBaseClassEntryC,SOMObject,somClassDispatch)
  706.     (this,clsObj,retValue,methodId,ap);
  707. }
  708.  
  709. /* the varargs invocation form */
  710. boolean   somClassDispatch(SOMClass* clsObj,
  711.         somToken* retValue,
  712.         somId methodId,
  713.         ...)
  714. {
  715.    va_list ap;
  716.    va_start(ap, methodId);
  717.    boolean __somResult = 
  718.       SOM_ResolveD(this,SOMTBaseClassEntryC,SOMObject,somClassDispatch)
  719.     (this,clsObj,retValue,methodId,ap);
  720.    va_end(ap);
  721.    return __somResult;
  722. }
  723.  
  724.  
  725. /* method: somCastObj */
  726. boolean   somCastObj(SOMClass* cls)
  727. {
  728.    return SOM_ResolveD(this,SOMTBaseClassEntryC,SOMObject,somCastObj)
  729.     (this,cls);
  730. }
  731.  
  732.  
  733. /* method: somResetObj */
  734. boolean   somResetObj()
  735. {
  736.    return SOM_ResolveD(this,SOMTBaseClassEntryC,SOMObject,somResetObj)
  737.     (this);
  738. }
  739.  
  740.  
  741.  
  742. };   /* SOMTBaseClassEntryC */
  743.  
  744.  
  745.  
  746. #endif       /* SOM_SOMTBaseClassEntryC_xh */
  747.