home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / tolkit45.zip / os2tk45 / som / include / scconst.xh < prev    next >
Text File  |  1999-02-22  |  36KB  |  1,156 lines

  1.  
  2. /*
  3.  * This file was generated by the SOM Compiler.
  4.  * FileName: scconst.xh.
  5.  * Generated using:
  6.  *     SOM Precompiler somipc: 2.29.1.17
  7.  *     SOM Emitter emitxh: 2.47
  8.  */
  9.  
  10. /*
  11.  *   COMPONENT_NAME: some
  12.  * 
  13.  *   ORIGINS: 27
  14.  * 
  15.  * 
  16.  *    25H7912  (C)  COPYRIGHT International Business Machines Corp. 1992,1994,1996
  17.  *   All Rights Reserved
  18.  *   Licensed Materials - Property of IBM
  19.  *   US Government Users Restricted Rights - Use, duplication or
  20.  *   disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  21.  *  @(#) somc/sctypes.h 2.7 12/26/95 16:26:17 [7/30/96 14:46:04]
  22.  * 
  23.  */
  24.  
  25.  
  26. #ifndef SOM_SOMTConstEntryC_xh
  27. #define SOM_SOMTConstEntryC_xh
  28.  
  29. class SOMTConstEntryC;
  30.  
  31. #define SOMTConstEntryC_MajorVersion 2
  32. #define SOMTConstEntryC_MinorVersion 1
  33.  
  34. /* C++ SOM defs */
  35. #include <somcls.xh>
  36. #include <somcm.xh>
  37.  
  38. /* C++ parent defs */
  39. #ifndef SOM_SOMTEntryC_xh
  40. #include <scentry.xh>
  41. #endif
  42.  
  43. #ifndef SOMTConstEntryC_API
  44. #define SOMTConstEntryC_API
  45. /*
  46.  * -- The Class API
  47.  */
  48.  
  49. /*
  50.  * Start of bindings for IDL types
  51.  */
  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 bindings for IDL types.
  79.  */
  80.  
  81. /* A procedure to create the SOMTConstEntryC Class */
  82. SOMEXTERN SOMClass * SOMLINK SOMTConstEntryCNewClass(
  83.         integer4 majorVersion,
  84.         integer4 minorVersion);
  85.  
  86. /* The API to the SOMTConstEntryC class object, and the methods it introduces. */
  87. SOMEXTERN struct SOMTConstEntryCClassDataStructure {
  88.     SOMClass *classObject;
  89.     somMToken _get_somtConstStringVal;
  90.     somMToken _get_somtConstNumVal;
  91.     somMToken _get_somtConstType;
  92.     somMToken _get_somtConstTypeObj;
  93.     somMToken _get_somtConstVal;
  94.     somMToken _get_somtConstNumNegVal;
  95.     somMToken _get_somtConstIsNegative;
  96. } SOMDLINK SOMTConstEntryCClassData;
  97. #define _SOMTConstEntryC SOMTConstEntryCClassData.classObject
  98.  
  99. /* The API to parentMtabs for SOMTConstEntryC, and the instance data it introduces. */
  100. SOMEXTERN struct SOMTConstEntryCCClassDataStructure {
  101.     somMethodTabs parentMtab;
  102.     somDToken              instanceDataToken;
  103. } SOMDLINK SOMTConstEntryCCClassData;
  104.  
  105. /*
  106.  * -- Typedefs for SOMTConstEntryC Method Procedures
  107.  */
  108. SOMEXTERN {
  109. typedef SOMTEntryC*   SOMLINK somTP_SOMTConstEntryC__get_somtConstTypeObj(SOMTConstEntryC *somSelf);
  110. typedef somTP_SOMTConstEntryC__get_somtConstTypeObj *somTD_SOMTConstEntryC__get_somtConstTypeObj;
  111. typedef string   SOMLINK somTP_SOMTConstEntryC__get_somtConstType(SOMTConstEntryC *somSelf);
  112. typedef somTP_SOMTConstEntryC__get_somtConstType *somTD_SOMTConstEntryC__get_somtConstType;
  113. typedef string   SOMLINK somTP_SOMTConstEntryC__get_somtConstStringVal(SOMTConstEntryC *somSelf);
  114. typedef somTP_SOMTConstEntryC__get_somtConstStringVal *somTD_SOMTConstEntryC__get_somtConstStringVal;
  115. typedef unsigned long   SOMLINK somTP_SOMTConstEntryC__get_somtConstNumVal(SOMTConstEntryC *somSelf);
  116. typedef somTP_SOMTConstEntryC__get_somtConstNumVal *somTD_SOMTConstEntryC__get_somtConstNumVal;
  117. typedef long   SOMLINK somTP_SOMTConstEntryC__get_somtConstNumNegVal(SOMTConstEntryC *somSelf);
  118. typedef somTP_SOMTConstEntryC__get_somtConstNumNegVal *somTD_SOMTConstEntryC__get_somtConstNumNegVal;
  119. typedef boolean   SOMLINK somTP_SOMTConstEntryC__get_somtConstIsNegative(SOMTConstEntryC *somSelf);
  120. typedef somTP_SOMTConstEntryC__get_somtConstIsNegative *somTD_SOMTConstEntryC__get_somtConstIsNegative;
  121. typedef string   SOMLINK somTP_SOMTConstEntryC__get_somtConstVal(SOMTConstEntryC *somSelf);
  122. typedef somTP_SOMTConstEntryC__get_somtConstVal *somTD_SOMTConstEntryC__get_somtConstVal;
  123.  
  124. /*
  125.  * -- Typedefs for Reintroduced Wrapper Methods
  126.  */
  127. typedef string   SOMLINK somTP_SOMTConstEntryC__get_somtEntryName(SOMTConstEntryC *somSelf);
  128. typedef somTP_SOMTConstEntryC__get_somtEntryName *somTD_SOMTConstEntryC__get_somtEntryName;
  129. typedef void   SOMLINK somTP_SOMTConstEntryC__set_somtEntryName(SOMTConstEntryC *somSelf, 
  130.         string somtEntryName);
  131. typedef somTP_SOMTConstEntryC__set_somtEntryName *somTD_SOMTConstEntryC__set_somtEntryName;
  132. typedef SOMTTypes   SOMLINK somTP_SOMTConstEntryC__get_somtElementType(SOMTConstEntryC *somSelf);
  133. typedef somTP_SOMTConstEntryC__get_somtElementType *somTD_SOMTConstEntryC__get_somtElementType;
  134. typedef void   SOMLINK somTP_SOMTConstEntryC__set_somtElementType(SOMTConstEntryC *somSelf, 
  135.         SOMTTypes somtElementType);
  136. typedef somTP_SOMTConstEntryC__set_somtElementType *somTD_SOMTConstEntryC__set_somtElementType;
  137. typedef string   SOMLINK somTP_SOMTConstEntryC__get_somtElementTypeName(SOMTConstEntryC *somSelf);
  138. typedef somTP_SOMTConstEntryC__get_somtElementTypeName *somTD_SOMTConstEntryC__get_somtElementTypeName;
  139. typedef string   SOMLINK somTP_SOMTConstEntryC__get_somtEntryComment(SOMTConstEntryC *somSelf);
  140. typedef somTP_SOMTConstEntryC__get_somtEntryComment *somTD_SOMTConstEntryC__get_somtEntryComment;
  141. typedef unsigned long   SOMLINK somTP_SOMTConstEntryC__get_somtSourceLineNumber(SOMTConstEntryC *somSelf);
  142. typedef somTP_SOMTConstEntryC__get_somtSourceLineNumber *somTD_SOMTConstEntryC__get_somtSourceLineNumber;
  143. typedef TypeCode   SOMLINK somTP_SOMTConstEntryC__get_somtTypeCode(SOMTConstEntryC *somSelf);
  144. typedef somTP_SOMTConstEntryC__get_somtTypeCode *somTD_SOMTConstEntryC__get_somtTypeCode;
  145. typedef boolean   SOMLINK somTP_SOMTConstEntryC__get_somtIsReference(SOMTConstEntryC *somSelf);
  146. typedef somTP_SOMTConstEntryC__get_somtIsReference *somTD_SOMTConstEntryC__get_somtIsReference;
  147. typedef string   SOMLINK somTP_SOMTConstEntryC__get_somtIDLScopedName(SOMTConstEntryC *somSelf);
  148. typedef somTP_SOMTConstEntryC__get_somtIDLScopedName *somTD_SOMTConstEntryC__get_somtIDLScopedName;
  149. typedef string   SOMLINK somTP_SOMTConstEntryC__get_somtCScopedName(SOMTConstEntryC *somSelf);
  150. typedef somTP_SOMTConstEntryC__get_somtCScopedName *somTD_SOMTConstEntryC__get_somtCScopedName;
  151. typedef string   SOMLINK somTP_SOMTConstEntryC_somtGetModifierValue(SOMTConstEntryC *somSelf, 
  152.         string modifierName);
  153. typedef somTP_SOMTConstEntryC_somtGetModifierValue *somTD_SOMTConstEntryC_somtGetModifierValue;
  154. typedef boolean   SOMLINK somTP_SOMTConstEntryC_somtGetFirstModifier(SOMTConstEntryC *somSelf, 
  155.         string* modifierName, 
  156.         string* modifierValue);
  157. typedef somTP_SOMTConstEntryC_somtGetFirstModifier *somTD_SOMTConstEntryC_somtGetFirstModifier;
  158. typedef boolean   SOMLINK somTP_SOMTConstEntryC_somtGetNextModifier(SOMTConstEntryC *somSelf, 
  159.         string* modifierName, 
  160.         string* modifierValue);
  161. typedef somTP_SOMTConstEntryC_somtGetNextModifier *somTD_SOMTConstEntryC_somtGetNextModifier;
  162. typedef long   SOMLINK somTP_SOMTConstEntryC_somtFormatModifier(SOMTConstEntryC *somSelf, 
  163.         string buffer, 
  164.         string name, 
  165.         string value);
  166. typedef somTP_SOMTConstEntryC_somtFormatModifier *somTD_SOMTConstEntryC_somtFormatModifier;
  167. typedef long   SOMLINK somTP_SOMTConstEntryC_somtGetModifierList(SOMTConstEntryC *somSelf, 
  168.         string buffer);
  169. typedef somTP_SOMTConstEntryC_somtGetModifierList *somTD_SOMTConstEntryC_somtGetModifierList;
  170. typedef long   SOMLINK somTP_SOMTConstEntryC_somtSetSymbolsOnEntry(SOMTConstEntryC *somSelf, 
  171.         SOMTEmitC* emitter, 
  172.         string prefix);
  173. typedef somTP_SOMTConstEntryC_somtSetSymbolsOnEntry *somTD_SOMTConstEntryC_somtSetSymbolsOnEntry;
  174. typedef void   SOMLINK somTP_SOMTConstEntryC_somtSetEntryStruct(SOMTConstEntryC *somSelf, 
  175.         Entry* es);
  176. typedef somTP_SOMTConstEntryC_somtSetEntryStruct *somTD_SOMTConstEntryC_somtSetEntryStruct;
  177. typedef void   SOMLINK somTP_SOMTConstEntryC_somInit(SOMTConstEntryC *somSelf);
  178. typedef somTP_SOMTConstEntryC_somInit *somTD_SOMTConstEntryC_somInit;
  179. typedef void   SOMLINK somTP_SOMTConstEntryC_somUninit(SOMTConstEntryC *somSelf);
  180. typedef somTP_SOMTConstEntryC_somUninit *somTD_SOMTConstEntryC_somUninit;
  181. typedef SOMObject*   SOMLINK somTP_SOMTConstEntryC_somPrintSelf(SOMTConstEntryC *somSelf);
  182. typedef somTP_SOMTConstEntryC_somPrintSelf *somTD_SOMTConstEntryC_somPrintSelf;
  183. typedef void   SOMLINK somTP_SOMTConstEntryC_somDumpSelfInt(SOMTConstEntryC *somSelf, 
  184.         long level);
  185. typedef somTP_SOMTConstEntryC_somDumpSelfInt *somTD_SOMTConstEntryC_somDumpSelfInt;
  186. typedef void   SOMLINK somTP_SOMTConstEntryC_somDumpSelf(SOMTConstEntryC *somSelf, 
  187.         long level);
  188. typedef somTP_SOMTConstEntryC_somDumpSelf *somTD_SOMTConstEntryC_somDumpSelf;
  189. typedef void   SOMLINK somTP_SOMTConstEntryC_somDefaultInit(SOMTConstEntryC *somSelf, 
  190.         som3InitCtrl* ctrl);
  191. typedef somTP_SOMTConstEntryC_somDefaultInit *somTD_SOMTConstEntryC_somDefaultInit;
  192. typedef void   SOMLINK somTP_SOMTConstEntryC_somDestruct(SOMTConstEntryC *somSelf, 
  193.         octet doFree, 
  194.         som3DestructCtrl* ctrl);
  195. typedef somTP_SOMTConstEntryC_somDestruct *somTD_SOMTConstEntryC_somDestruct;
  196. typedef void   SOMLINK somTP_SOMTConstEntryC_somDefaultCopyInit(SOMTConstEntryC *somSelf, 
  197.         som3InitCtrl* ctrl, 
  198.         SOMObject* fromObj);
  199. typedef somTP_SOMTConstEntryC_somDefaultCopyInit *somTD_SOMTConstEntryC_somDefaultCopyInit;
  200. typedef SOMTConstEntryC*   SOMLINK somTP_SOMTConstEntryC_somDefaultAssign(SOMTConstEntryC *somSelf, 
  201.         som3AssignCtrl* ctrl, 
  202.         SOMObject* fromObj);
  203. typedef somTP_SOMTConstEntryC_somDefaultAssign *somTD_SOMTConstEntryC_somDefaultAssign;
  204. typedef void   SOMLINK somTP_SOMTConstEntryC_somDefaultConstCopyInit(SOMTConstEntryC *somSelf, 
  205.         som3InitCtrl* ctrl, 
  206.         SOMObject* fromObj);
  207. typedef somTP_SOMTConstEntryC_somDefaultConstCopyInit *somTD_SOMTConstEntryC_somDefaultConstCopyInit;
  208. typedef void   SOMLINK somTP_SOMTConstEntryC_somDefaultVCopyInit(SOMTConstEntryC *somSelf, 
  209.         som3InitCtrl* ctrl, 
  210.         SOMObject* fromObj);
  211. typedef somTP_SOMTConstEntryC_somDefaultVCopyInit *somTD_SOMTConstEntryC_somDefaultVCopyInit;
  212. typedef void   SOMLINK somTP_SOMTConstEntryC_somDefaultConstVCopyInit(SOMTConstEntryC *somSelf, 
  213.         som3InitCtrl* ctrl, 
  214.         SOMObject* fromObj);
  215. typedef somTP_SOMTConstEntryC_somDefaultConstVCopyInit *somTD_SOMTConstEntryC_somDefaultConstVCopyInit;
  216. typedef SOMTConstEntryC*   SOMLINK somTP_SOMTConstEntryC_somDefaultConstAssign(SOMTConstEntryC *somSelf, 
  217.         som3AssignCtrl* ctrl, 
  218.         SOMObject* fromObj);
  219. typedef somTP_SOMTConstEntryC_somDefaultConstAssign *somTD_SOMTConstEntryC_somDefaultConstAssign;
  220. typedef SOMTConstEntryC*   SOMLINK somTP_SOMTConstEntryC_somDefaultVAssign(SOMTConstEntryC *somSelf, 
  221.         som3AssignCtrl* ctrl, 
  222.         SOMObject* fromObj);
  223. typedef somTP_SOMTConstEntryC_somDefaultVAssign *somTD_SOMTConstEntryC_somDefaultVAssign;
  224. typedef SOMTConstEntryC*   SOMLINK somTP_SOMTConstEntryC_somDefaultConstVAssign(SOMTConstEntryC *somSelf, 
  225.         som3AssignCtrl* ctrl, 
  226.         SOMObject* fromObj);
  227. typedef somTP_SOMTConstEntryC_somDefaultConstVAssign *somTD_SOMTConstEntryC_somDefaultConstVAssign;
  228. typedef void   SOMLINK somTP_SOMTConstEntryC_somFree(SOMTConstEntryC *somSelf);
  229. typedef somTP_SOMTConstEntryC_somFree *somTD_SOMTConstEntryC_somFree;
  230. typedef SOMClass*   SOMLINK somTP_SOMTConstEntryC_somGetClass(SOMTConstEntryC *somSelf);
  231. typedef somTP_SOMTConstEntryC_somGetClass *somTD_SOMTConstEntryC_somGetClass;
  232. typedef string   SOMLINK somTP_SOMTConstEntryC_somGetClassName(SOMTConstEntryC *somSelf);
  233. typedef somTP_SOMTConstEntryC_somGetClassName *somTD_SOMTConstEntryC_somGetClassName;
  234. typedef long   SOMLINK somTP_SOMTConstEntryC_somGetSize(SOMTConstEntryC *somSelf);
  235. typedef somTP_SOMTConstEntryC_somGetSize *somTD_SOMTConstEntryC_somGetSize;
  236. typedef boolean   SOMLINK somTP_SOMTConstEntryC_somIsA(SOMTConstEntryC *somSelf, 
  237.         SOMClass* aClassObj);
  238. typedef somTP_SOMTConstEntryC_somIsA *somTD_SOMTConstEntryC_somIsA;
  239. typedef boolean   SOMLINK somTP_SOMTConstEntryC_somIsInstanceOf(SOMTConstEntryC *somSelf, 
  240.         SOMClass* aClassObj);
  241. typedef somTP_SOMTConstEntryC_somIsInstanceOf *somTD_SOMTConstEntryC_somIsInstanceOf;
  242. typedef boolean   SOMLINK somTP_SOMTConstEntryC_somRespondsTo(SOMTConstEntryC *somSelf, 
  243.         somId mId);
  244. typedef somTP_SOMTConstEntryC_somRespondsTo *somTD_SOMTConstEntryC_somRespondsTo;
  245. typedef boolean   SOMLINK somTP_SOMTConstEntryC_somDispatch(SOMTConstEntryC *somSelf, 
  246.         somToken* retValue, 
  247.         somId methodId, 
  248.         va_list ap);
  249. typedef somTP_SOMTConstEntryC_somDispatch *somTD_SOMTConstEntryC_somDispatch;
  250. typedef boolean   SOMLINK somTP_SOMTConstEntryC_somClassDispatch(SOMTConstEntryC *somSelf, 
  251.         SOMClass* clsObj, 
  252.         somToken* retValue, 
  253.         somId methodId, 
  254.         va_list ap);
  255. typedef somTP_SOMTConstEntryC_somClassDispatch *somTD_SOMTConstEntryC_somClassDispatch;
  256. typedef boolean   SOMLINK somTP_SOMTConstEntryC_somCastObj(SOMTConstEntryC *somSelf, 
  257.         SOMClass* cls);
  258. typedef somTP_SOMTConstEntryC_somCastObj *somTD_SOMTConstEntryC_somCastObj;
  259. typedef boolean   SOMLINK somTP_SOMTConstEntryC_somResetObj(SOMTConstEntryC *somSelf);
  260. typedef somTP_SOMTConstEntryC_somResetObj *somTD_SOMTConstEntryC_somResetObj;
  261. typedef void   SOMLINK somTP_SOMTConstEntryC_somDispatchV(SOMTConstEntryC *somSelf, 
  262.         somId methodId, 
  263.         somId descriptor, 
  264.         va_list ap);
  265. typedef somTP_SOMTConstEntryC_somDispatchV *somTD_SOMTConstEntryC_somDispatchV;
  266. typedef long   SOMLINK somTP_SOMTConstEntryC_somDispatchL(SOMTConstEntryC *somSelf, 
  267.         somId methodId, 
  268.         somId descriptor, 
  269.         va_list ap);
  270. typedef somTP_SOMTConstEntryC_somDispatchL *somTD_SOMTConstEntryC_somDispatchL;
  271. typedef void*   SOMLINK somTP_SOMTConstEntryC_somDispatchA(SOMTConstEntryC *somSelf, 
  272.         somId methodId, 
  273.         somId descriptor, 
  274.         va_list ap);
  275. typedef somTP_SOMTConstEntryC_somDispatchA *somTD_SOMTConstEntryC_somDispatchA;
  276. typedef double   SOMLINK somTP_SOMTConstEntryC_somDispatchD(SOMTConstEntryC *somSelf, 
  277.         somId methodId, 
  278.         somId descriptor, 
  279.         va_list ap);
  280. typedef somTP_SOMTConstEntryC_somDispatchD *somTD_SOMTConstEntryC_somDispatchD;
  281. }
  282.  
  283. #endif /* SOMTConstEntryC_API */
  284.  
  285.  
  286. /*
  287.  * -- This emitter treats Method Tokens as Thunks by default.
  288.  * -- Use the sc modifier "nothunks" to change this default
  289.  */
  290. #undef somresolve_
  291. #define somresolve_(obj,mToken) ((somMethodProc*)((void)obj, mToken))
  292.  
  293. /*
  294.  * -- The C++ Wrapper Class for SOMTConstEntryC
  295.  */
  296. class SOMTConstEntryC : public SOMTEntryC
  297. {
  298. public:
  299.  
  300. // SOMTConstEntryC::new creates the class object if necessary, and then uses somNewNoInit
  301. // to allocate memory and create the object. Initialization is in ctors.
  302. void *operator new(size_t)
  303. {
  304.    if (!_SOMTConstEntryC) SOMTConstEntryCNewClass(SOMTConstEntryC_MajorVersion,SOMTConstEntryC_MinorVersion);
  305.    return (void*)
  306.       SOM_Resolve(_SOMTConstEntryC,SOMClass,somNewNoInit)
  307.          ((SOMClass *)((void*)_SOMTConstEntryC));
  308. }
  309.  
  310. // SOMTConstEntryC::delete uses somDestruct.
  311. void operator delete(void * obj)
  312. {
  313.    if (obj && *(void**)obj) {
  314.       SOM_Resolve(obj,SOMObject,somFree)
  315.          ((SOMObject*)obj);
  316.    }
  317. }
  318.  
  319. SOMTConstEntryC& operator=(SOMTConstEntryC& fromObj)
  320. {
  321.    this->somDefaultAssign(0,(SOMObject*)((void*)&fromObj));
  322.    return *this;
  323. }
  324.  
  325. SOMTConstEntryC()
  326. {
  327.    if (*(void**)this != 
  328.        ((somParentMtabStructPtr)
  329.         (SOMTConstEntryCCClassData.parentMtab))->mtab)
  330.       return;
  331.    ((SOMObject*)((void*)this))->somDefaultInit(0);
  332. }
  333.  
  334. SOMTConstEntryC(SOMTConstEntryC* fromObj)
  335. {
  336.    if (*(void**)this != 
  337.        ((somParentMtabStructPtr)
  338.         (SOMTConstEntryCCClassData.parentMtab))->mtab)
  339.       return;
  340.    ((SOMObject*)((void*)this))->somDefaultCopyInit(0,((SOMObject*)((void*)fromObj)));
  341. }
  342.  
  343. #ifdef __IBMCPP__
  344. #pragma info(nocnv,nopar)
  345. #endif
  346. SOMTConstEntryC(const SOMTConstEntryC* fromObj)
  347. {
  348.    if (*(void**)this != 
  349.        ((somParentMtabStructPtr)
  350.         (SOMTConstEntryCCClassData.parentMtab))->mtab)
  351.       return;
  352.    ((SOMObject*)((void*)this))->somDefaultConstCopyInit(0,((SOMObject*)((void*)fromObj)));
  353. }
  354. #ifdef __IBMCPP__
  355. #pragma info(restore)
  356. #endif
  357.  
  358.  
  359. /* method: _get_somtConstTypeObj */
  360. SOMTEntryC*   _get_somtConstTypeObj()
  361. {
  362. /*
  363.  *  A pointer to an object representing
  364.  *  the type of the const.
  365.  */
  366.    return SOM_ResolveD(this,SOMTConstEntryC,SOMTConstEntryC,_get_somtConstTypeObj)
  367.     (this);
  368. }
  369.  
  370.  
  371. /* method: _get_somtConstType */
  372. string   _get_somtConstType()
  373. {
  374. /*
  375.  *  The type of the constant's value.
  376.  */
  377.    return SOM_ResolveD(this,SOMTConstEntryC,SOMTConstEntryC,_get_somtConstType)
  378.     (this);
  379. }
  380.  
  381.  
  382. /* method: _get_somtConstStringVal */
  383. string   _get_somtConstStringVal()
  384. {
  385. /*
  386.  *  The string value of the constant (unevaluated).
  387.  */
  388.    return SOM_ResolveD(this,SOMTConstEntryC,SOMTConstEntryC,_get_somtConstStringVal)
  389.     (this);
  390. }
  391.  
  392.  
  393. /* method: _get_somtConstNumVal */
  394. unsigned long   _get_somtConstNumVal()
  395. {
  396. /*
  397.  *  The number value of the constant.
  398.  *  This attribute is not valid if the value cannot
  399.  *  be stored in an unsigned long (string, float, double, negative).
  400.  *  The somtConstIsNegative attribute can be used to determine
  401.  *  if the value is negative.  The somtConstType attribute can
  402.  *  be used to determine whether the value is a float or double.
  403.  */
  404.    return SOM_ResolveD(this,SOMTConstEntryC,SOMTConstEntryC,_get_somtConstNumVal)
  405.     (this);
  406. }
  407.  
  408.  
  409. /* method: _get_somtConstNumNegVal */
  410. long   _get_somtConstNumNegVal()
  411. {
  412. /*
  413.  *  The number value of the constant, if negative.
  414.  */
  415.    return SOM_ResolveD(this,SOMTConstEntryC,SOMTConstEntryC,_get_somtConstNumNegVal)
  416.     (this);
  417. }
  418.  
  419.  
  420. /* method: _get_somtConstIsNegative */
  421. boolean   _get_somtConstIsNegative()
  422. {
  423. /*
  424.  *  Whether the constant's value is a negative integer and
  425.  *  must be obtained using somtConstNumNegVal rather than somtConstNumVal.
  426.  */
  427.    return SOM_ResolveD(this,SOMTConstEntryC,SOMTConstEntryC,_get_somtConstIsNegative)
  428.     (this);
  429. }
  430.  
  431.  
  432. /* method: _get_somtConstVal */
  433. string   _get_somtConstVal()
  434. {
  435. /*
  436.  *  The string value of the constant (evaluated).
  437.  *  The "get" method for this attribute returns a string whose
  438.  *  ownership is transferred to the caller.
  439.  */
  440.    return SOM_ResolveD(this,SOMTConstEntryC,SOMTConstEntryC,_get_somtConstVal)
  441.     (this);
  442. }
  443.  
  444.  
  445. /*
  446.  * Reintroduce inherited methods
  447.  */
  448.  
  449. /* method: _get_somtEntryName */
  450. string   _get_somtEntryName()
  451. {
  452. /*
  453.  *  The name associated with this entry.  Eg, the name of
  454.  *  the data item, the class, the method, the type, etc.
  455.  */
  456.    return SOM_ResolveD(this,SOMTConstEntryC,SOMTEntryC,_get_somtEntryName)
  457.     (this);
  458. }
  459.  
  460.  
  461. /* method: _set_somtEntryName */
  462. void   _set_somtEntryName(string somtEntryName)
  463. {
  464. /*
  465.  *  The name associated with this entry.  Eg, the name of
  466.  *  the data item, the class, the method, the type, etc.
  467.  */
  468.    SOM_ResolveD(this,SOMTConstEntryC,SOMTEntryC,_set_somtEntryName)
  469.     (this,somtEntryName);
  470. }
  471.  
  472.  
  473. /* method: _get_somtElementType */
  474. SOMTTypes   _get_somtElementType()
  475. {
  476. /*
  477.  *  Returns the type of this entry.
  478.  *  This is not datatype, but entry type (method, class,
  479.  *  passthru, etc.). The value is defined by SOMTTypes.
  480.  */
  481.    return SOM_ResolveD(this,SOMTConstEntryC,SOMTEntryC,_get_somtElementType)
  482.     (this);
  483. }
  484.  
  485.  
  486. /* method: _set_somtElementType */
  487. void   _set_somtElementType(SOMTTypes somtElementType)
  488. {
  489. /*
  490.  *  Returns the type of this entry.
  491.  *  This is not datatype, but entry type (method, class,
  492.  *  passthru, etc.). The value is defined by SOMTTypes.
  493.  */
  494.    SOM_ResolveD(this,SOMTConstEntryC,SOMTEntryC,_set_somtElementType)
  495.     (this,somtElementType);
  496. }
  497.  
  498.  
  499. /* method: _get_somtElementTypeName */
  500. string   _get_somtElementTypeName()
  501. {
  502. /*
  503.  *  String version of somtElementType.
  504.  */
  505.    return SOM_ResolveD(this,SOMTConstEntryC,SOMTEntryC,_get_somtElementTypeName)
  506.     (this);
  507. }
  508.  
  509.  
  510. /* method: _get_somtEntryComment */
  511. string   _get_somtEntryComment()
  512. {
  513. /*
  514.  *  Returns the comment associated with this entry, or NULL is this
  515.  *  entry has no associated comment.  Comments will have comment
  516.  *  delimitors removed, but will retain newline characters as
  517.  *  specified in the source file. (use smLookupComment)
  518.  */
  519.    return SOM_ResolveD(this,SOMTConstEntryC,SOMTEntryC,_get_somtEntryComment)
  520.     (this);
  521. }
  522.  
  523.  
  524. /* method: _get_somtSourceLineNumber */
  525. unsigned long   _get_somtSourceLineNumber()
  526. {
  527. /*
  528.  *  Returns the line number in the source file where this entry's
  529.  *  syntactic form ended.
  530.  */
  531.    return SOM_ResolveD(this,SOMTConstEntryC,SOMTEntryC,_get_somtSourceLineNumber)
  532.     (this);
  533. }
  534.  
  535.  
  536. /* method: _get_somtTypeCode */
  537. TypeCode   _get_somtTypeCode()
  538. {
  539. /*
  540.  *  The typecode, if appropriate, or NULL.
  541.  */
  542.    return SOM_ResolveD(this,SOMTConstEntryC,SOMTEntryC,_get_somtTypeCode)
  543.     (this);
  544. }
  545.  
  546.  
  547. /* method: _get_somtIsReference */
  548. boolean   _get_somtIsReference()
  549. {
  550. /*
  551.  *  Whether the entry is just a reference to the real type (TRUE)
  552.  *  rather than a declaration of it (FALSE).
  553.  */
  554.    return SOM_ResolveD(this,SOMTConstEntryC,SOMTEntryC,_get_somtIsReference)
  555.     (this);
  556. }
  557.  
  558.  
  559. /* method: _get_somtIDLScopedName */
  560. string   _get_somtIDLScopedName()
  561. {
  562. /*
  563.  *  The IDL scoped name of the entry (using double colon as delimiter).
  564.  */
  565.    return SOM_ResolveD(this,SOMTConstEntryC,SOMTEntryC,_get_somtIDLScopedName)
  566.     (this);
  567. }
  568.  
  569.  
  570. /* method: _get_somtCScopedName */
  571. string   _get_somtCScopedName()
  572. {
  573. /*
  574.  *  The C scoped name of the entry (using underscore as delimiter).
  575.  */
  576.    return SOM_ResolveD(this,SOMTConstEntryC,SOMTEntryC,_get_somtCScopedName)
  577.     (this);
  578. }
  579.  
  580.  
  581. /* method: somtGetModifierValue */
  582. string   somtGetModifierValue(string modifierName)
  583. {
  584. /*
  585.  *  Returns the value of the named modifier if this entry has the
  586.  *  named modifier and NULL otherwise. Note: if the modifier is
  587.  *  present but does not have a value then a value of <'\1'> is
  588.  *  returned.
  589.  */
  590.    return SOM_ResolveD(this,SOMTConstEntryC,SOMTEntryC,somtGetModifierValue)
  591.     (this,modifierName);
  592. }
  593.  
  594.  
  595. /* method: somtGetFirstModifier */
  596. boolean   somtGetFirstModifier(string* modifierName, 
  597.         string* modifierValue)
  598. {
  599. /*
  600.  *  Returns the first modifier associated with this entry.  1 (true)
  601.  *  is returned if the entry has at least one modifier and 0 (false)
  602.  *  otherwise.
  603.  */
  604.    return SOM_ResolveD(this,SOMTConstEntryC,SOMTEntryC,somtGetFirstModifier)
  605.     (this,modifierName,modifierValue);
  606. }
  607.  
  608.  
  609. /* method: somtGetNextModifier */
  610. boolean   somtGetNextModifier(string* modifierName, 
  611.         string* modifierValue)
  612. {
  613. /*
  614.  *  Returns the next modifier (with respect to the last call to
  615.  *  <somtGetNextModifier> or <somtGetFirstModifier>)
  616.  *  associated with this entry.  1 (true) is returned if the entry
  617.  *  had another modifier and 0 (false) otherwise.
  618.  */
  619.    return SOM_ResolveD(this,SOMTConstEntryC,SOMTEntryC,somtGetNextModifier)
  620.     (this,modifierName,modifierValue);
  621. }
  622.  
  623.  
  624. /* method: somtFormatModifier */
  625. long   somtFormatModifier(string buffer, 
  626.         string name, 
  627.         string value)
  628. {
  629. /*
  630.  *  Formats the indicated name/value pair into buffer.  Buffer must
  631.  *  be big enough to hold all the formatted pair, no checks are made.
  632.  *  The number of characters added to buffer are returned (not
  633.  *  including the trailing null character).
  634.  *  Note: value may be null
  635.  *  You will probably never call this method, it is provided so that
  636.  *  you can override it to control the format returned in
  637.  *  <somtGetModifierList>.
  638.  */
  639.    return SOM_ResolveD(this,SOMTConstEntryC,SOMTEntryC,somtFormatModifier)
  640.     (this,buffer,name,value);
  641. }
  642.  
  643.  
  644. /* method: somtGetModifierList */
  645. long   somtGetModifierList(string buffer)
  646. {
  647. /*
  648.  *  The modifiers for this entry are placed in <buffer> in template
  649.  *  list form (newline separated).  Buffer must be big enough to
  650.  *  hold all the modifiers, no checks are made. The number of
  651.  *  modifiers is returned.
  652.  */
  653.    return SOM_ResolveD(this,SOMTConstEntryC,SOMTEntryC,somtGetModifierList)
  654.     (this,buffer);
  655. }
  656.  
  657.  
  658. /* method: somtSetSymbolsOnEntry */
  659. long   somtSetSymbolsOnEntry(SOMTEmitC* emitter, 
  660.         string prefix)
  661. {
  662. /*
  663.  *  Places a number of symbol/value pairs in <t>.  All the symbols
  664.  *  will begin with <prefix>.
  665.  */
  666.    return SOM_ResolveD(this,SOMTConstEntryC,SOMTEntryC,somtSetSymbolsOnEntry)
  667.     (this,emitter,prefix);
  668. }
  669.  
  670.  
  671. /* method: somtSetEntryStruct */
  672. void   somtSetEntryStruct(Entry* es)
  673. {
  674. /*
  675.  *  Sets the entry struct data member.
  676.  *  Note, when overridding this method, it is important to call the
  677.  *  parent version of the method first and then do your processing.
  678.  */
  679.    SOM_ResolveD(this,SOMTConstEntryC,SOMTEntryC,somtSetEntryStruct)
  680.     (this,es);
  681. }
  682.  
  683.  
  684. /* method: somInit */
  685. void   somInit()
  686. {
  687.    SOM_ResolveD(this,SOMTConstEntryC,SOMObject,somInit)
  688.     (this);
  689. }
  690.  
  691.  
  692. /* method: somUninit */
  693. void   somUninit()
  694. {
  695.    SOM_ResolveD(this,SOMTConstEntryC,SOMObject,somUninit)
  696.     (this);
  697. }
  698.  
  699.  
  700. /* method: somPrintSelf */
  701. SOMObject*   somPrintSelf()
  702. {
  703.    return SOM_ResolveD(this,SOMTConstEntryC,SOMObject,somPrintSelf)
  704.     (this);
  705. }
  706.  
  707.  
  708. /* method: somDumpSelfInt */
  709. void   somDumpSelfInt(long level)
  710. {
  711.    SOM_ResolveD(this,SOMTConstEntryC,SOMObject,somDumpSelfInt)
  712.     (this,level);
  713. }
  714.  
  715.  
  716. /* method: somDumpSelf */
  717. void   somDumpSelf(long level)
  718. {
  719.    SOM_ResolveD(this,SOMTConstEntryC,SOMObject,somDumpSelf)
  720.     (this,level);
  721. }
  722.  
  723.  
  724. /* initializer method: somDefaultInit */
  725. void   somDefaultInit(som3InitCtrl* ctrl)
  726. {
  727. /*
  728.  *  A default initializer for a SOM object. Passing a null ctrl
  729.  *  indicates to the receiver that its class is the class of the
  730.  *  object being initialized, whereby the initializer will determine
  731.  *  an appropriate control structure.
  732.  */
  733.    SOM_ResolveD(this,SOMTConstEntryC,SOMObject,somDefaultInit)
  734.     (this,ctrl);
  735. }
  736.  
  737.  
  738. /* method: somDestruct */
  739. void   somDestruct(octet doFree, 
  740.         som3DestructCtrl* ctrl)
  741. {
  742. /*
  743.  *  The default destructor for a SOM object. A nonzero <doFree>
  744.  *  indicates that the object storage should be freed by the
  745.  *  object's class (via somDeallocate) after uninitialization.
  746.  *  As with somDefaultInit, a null ctrl can be passed.
  747.  */
  748.    SOM_ResolveD(this,SOMTConstEntryC,SOMObject,somDestruct)
  749.     (this,doFree,ctrl);
  750. }
  751.  
  752.  
  753. /* initializer method: somDefaultCopyInit */
  754. void   somDefaultCopyInit(som3InitCtrl* ctrl, 
  755.         SOMObject* fromObj)
  756. {
  757. /*
  758.  *  A default copy constructor. Use this to make copies of objects for
  759.  *  calling methods with "by-value" argument semantics.
  760.  */
  761.    SOM_ResolveD(this,SOMTConstEntryC,SOMObject,somDefaultCopyInit)
  762.     (this,ctrl,fromObj);
  763. }
  764.  
  765.  
  766. /* method: somDefaultAssign */
  767. SOMTConstEntryC*  somDefaultAssign(som3AssignCtrl* ctrl, 
  768.         SOMObject* fromObj)
  769. {
  770. /*
  771.  *  A default assignment operator. Use this to "assign" the state of one
  772.  *  object to another.
  773.  */
  774.    return SOM_ResolveD(this,SOMTConstEntryC,SOMObject,somDefaultAssign)
  775.     (this,ctrl,fromObj);
  776. }
  777.  
  778.  
  779. /* initializer method: somDefaultConstCopyInit */
  780. void   somDefaultConstCopyInit(som3InitCtrl* ctrl, 
  781.         SOMObject* fromObj)
  782. {
  783. /*
  784.  *  A default copy constructor that uses a const fromObj.
  785.  */
  786.    SOM_ResolveD(this,SOMTConstEntryC,SOMObject,somDefaultConstCopyInit)
  787.     (this,ctrl,fromObj);
  788. }
  789.  
  790.  
  791. /* initializer method: somDefaultVCopyInit */
  792. void   somDefaultVCopyInit(som3InitCtrl* ctrl, 
  793.         SOMObject* fromObj)
  794. {
  795. /*
  796.  *  A default copy constructor that uses a volatile fromObj.
  797.  */
  798.    SOM_ResolveD(this,SOMTConstEntryC,SOMObject,somDefaultVCopyInit)
  799.     (this,ctrl,fromObj);
  800. }
  801.  
  802.  
  803. /* initializer method: somDefaultConstVCopyInit */
  804. void   somDefaultConstVCopyInit(som3InitCtrl* ctrl, 
  805.         SOMObject* fromObj)
  806. {
  807. /*
  808.  *  A default copy constructor that uses a const volatile fromObj.
  809.  */
  810.    SOM_ResolveD(this,SOMTConstEntryC,SOMObject,somDefaultConstVCopyInit)
  811.     (this,ctrl,fromObj);
  812. }
  813.  
  814.  
  815. /* method: somDefaultConstAssign */
  816. SOMTConstEntryC*  somDefaultConstAssign(som3AssignCtrl* ctrl, 
  817.         SOMObject* fromObj)
  818. {
  819. /*
  820.  *  A default assignment operator that uses a const fromObj.
  821.  */
  822.    return SOM_ResolveD(this,SOMTConstEntryC,SOMObject,somDefaultConstAssign)
  823.     (this,ctrl,fromObj);
  824. }
  825.  
  826.  
  827. /* method: somDefaultVAssign */
  828. SOMTConstEntryC*  somDefaultVAssign(som3AssignCtrl* ctrl, 
  829.         SOMObject* fromObj)
  830. {
  831. /*
  832.  *  A default assignment operator that uses a volatile fromObj.
  833.  */
  834.    return SOM_ResolveD(this,SOMTConstEntryC,SOMObject,somDefaultVAssign)
  835.     (this,ctrl,fromObj);
  836. }
  837.  
  838.  
  839. /* method: somDefaultConstVAssign */
  840. SOMTConstEntryC*  somDefaultConstVAssign(som3AssignCtrl* ctrl, 
  841.         SOMObject* fromObj)
  842. {
  843. /*
  844.  *  A default assignment operator that uses a const volatile fromObj.
  845.  */
  846.    return SOM_ResolveD(this,SOMTConstEntryC,SOMObject,somDefaultConstVAssign)
  847.     (this,ctrl,fromObj);
  848. }
  849.  
  850.  
  851. /* method: somFree */
  852. void   somFree()
  853. {
  854. /*
  855.  *  Use as directed by framework implementations.
  856.  */
  857.    SOM_ResolveD(this,SOMTConstEntryC,SOMObject,somFree)
  858.     (this);
  859. }
  860.  
  861.  
  862. /* method: somGetClass */
  863. SOMClass*   somGetClass()
  864. {
  865. /*
  866.  *  Return the receiver's class.
  867.  */
  868.    return SOM_ResolveD(this,SOMTConstEntryC,SOMObject,somGetClass)
  869.     (this);
  870. }
  871.  
  872.  
  873. /* method: somGetClassName */
  874. string   somGetClassName()
  875. {
  876. /*
  877.  *  Return the name of the receiver's class.
  878.  */
  879.    return SOM_ResolveD(this,SOMTConstEntryC,SOMObject,somGetClassName)
  880.     (this);
  881. }
  882.  
  883.  
  884. /* method: somGetSize */
  885. long   somGetSize()
  886. {
  887. /*
  888.  *  Return the size of the receiver.
  889.  */
  890.    return SOM_ResolveD(this,SOMTConstEntryC,SOMObject,somGetSize)
  891.     (this);
  892. }
  893.  
  894.  
  895. /* method: somIsA */
  896. boolean   somIsA(SOMClass* aClassObj)
  897. {
  898. /*
  899.  *  Returns 1 (true) if the receiver responds to methods
  900.  *  introduced by <aClassObj>, and 0 (false) otherwise.
  901.  */
  902.    return SOM_ResolveD(this,SOMTConstEntryC,SOMObject,somIsA)
  903.     (this,aClassObj);
  904. }
  905.  
  906.  
  907. /* method: somIsInstanceOf */
  908. boolean   somIsInstanceOf(SOMClass* aClassObj)
  909. {
  910. /*
  911.  *  Returns 1 (true) if the receiver is an instance of
  912.  *  <aClassObj> and 0 (false) otherwise.
  913.  */
  914.    return SOM_ResolveD(this,SOMTConstEntryC,SOMObject,somIsInstanceOf)
  915.     (this,aClassObj);
  916. }
  917.  
  918.  
  919. /* method: somRespondsTo */
  920. boolean   somRespondsTo(somId mId)
  921. {
  922. /*
  923.  *  Returns 1 (true) if the indicated method can be invoked
  924.  *  on the receiver and 0 (false) otherwise.
  925.  */
  926.    return SOM_ResolveD(this,SOMTConstEntryC,SOMObject,somRespondsTo)
  927.     (this,mId);
  928. }
  929.  
  930.  
  931. /* va_list method: somDispatch */
  932.  
  933. /*
  934.  *  This method provides a generic, class-specific dispatch mechanism.
  935.  *  It accepts as input <retValue> a pointer to the memory area to be
  936.  *  loaded with the result of dispatching the method indicated by
  937.  *  <methodId> using the arguments in <ap>. <ap> contains the object
  938.  *  on which the method is to be invoked as the first argument.
  939.  */
  940. /* the va_list invocation form */
  941. boolean   SOMTConstEntryC_somDispatch(somToken* retValue, 
  942.         somId methodId, 
  943.         va_list ap)
  944. {return SOM_ResolveD(this,SOMTConstEntryC,SOMObject,somDispatch)
  945.     (this,retValue,methodId,ap);
  946. }
  947.  
  948. /* the varargs invocation form */
  949. boolean   somDispatch(somToken* retValue, 
  950.         somId methodId, 
  951.         ...)
  952. {
  953. /*
  954.  *  This method provides a generic, class-specific dispatch mechanism.
  955.  *  It accepts as input <retValue> a pointer to the memory area to be
  956.  *  loaded with the result of dispatching the method indicated by
  957.  *  <methodId> using the arguments in <ap>. <ap> contains the object
  958.  *  on which the method is to be invoked as the first argument.
  959.  */
  960.    va_list ap;
  961.    va_start(ap, methodId);
  962.    boolean __somResult = 
  963.       SOM_ResolveD(this,SOMTConstEntryC,SOMObject,somDispatch)
  964.     (this,retValue,methodId,ap);
  965.    va_end(ap);
  966.    return __somResult;
  967. }
  968.  
  969.  
  970. /* va_list method: somClassDispatch */
  971.  
  972. /*
  973.  *  Like somDispatch, but method resolution for static methods is done
  974.  *  according to the clsObj instance method table.
  975.  */
  976. /* the va_list invocation form */
  977. boolean   SOMTConstEntryC_somClassDispatch(SOMClass* clsObj, 
  978.         somToken* retValue, 
  979.         somId methodId, 
  980.         va_list ap)
  981. {return SOM_ResolveD(this,SOMTConstEntryC,SOMObject,somClassDispatch)
  982.     (this,clsObj,retValue,methodId,ap);
  983. }
  984.  
  985. /* the varargs invocation form */
  986. boolean   somClassDispatch(SOMClass* clsObj, 
  987.         somToken* retValue, 
  988.         somId methodId, 
  989.         ...)
  990. {
  991. /*
  992.  *  Like somDispatch, but method resolution for static methods is done
  993.  *  according to the clsObj instance method table.
  994.  */
  995.    va_list ap;
  996.    va_start(ap, methodId);
  997.    boolean __somResult = 
  998.       SOM_ResolveD(this,SOMTConstEntryC,SOMObject,somClassDispatch)
  999.     (this,clsObj,retValue,methodId,ap);
  1000.    va_end(ap);
  1001.    return __somResult;
  1002. }
  1003.  
  1004.  
  1005. /* method: somCastObj */
  1006. boolean   somCastObj(SOMClass* cls)
  1007. {
  1008. /*
  1009.  *  cast the receiving object to cls (which must be an ancestor of the
  1010.  *  objects true class. Returns true on success.
  1011.  */
  1012.    return SOM_ResolveD(this,SOMTConstEntryC,SOMObject,somCastObj)
  1013.     (this,cls);
  1014. }
  1015.  
  1016.  
  1017. /* method: somResetObj */
  1018. boolean   somResetObj()
  1019. {
  1020. /*
  1021.  *  reset an object to its true class. Returns true always.
  1022.  */
  1023.    return SOM_ResolveD(this,SOMTConstEntryC,SOMObject,somResetObj)
  1024.     (this);
  1025. }
  1026.  
  1027.  
  1028. /* va_list method: somDispatchV */
  1029.  
  1030. /*
  1031.  *  Obsolete. Use somDispatch instead.
  1032.  */
  1033. /* the va_list invocation form */
  1034. void   SOMTConstEntryC_somDispatchV(somId methodId, 
  1035.         somId descriptor, 
  1036.         va_list ap)
  1037. {   SOM_ResolveD(this,SOMTConstEntryC,SOMObject,somDispatchV)
  1038.     (this,methodId,descriptor,ap);
  1039. }
  1040.  
  1041. /* the varargs invocation form */
  1042. void   somDispatchV(somId methodId, 
  1043.         somId descriptor, 
  1044.         ...)
  1045. {
  1046. /*
  1047.  *  Obsolete. Use somDispatch instead.
  1048.  */
  1049.    va_list ap;
  1050.    va_start(ap, descriptor);
  1051.    SOM_ResolveD(this,SOMTConstEntryC,SOMObject,somDispatchV)
  1052.     (this,methodId,descriptor,ap);
  1053.    va_end(ap);
  1054. }
  1055.  
  1056.  
  1057. /* va_list method: somDispatchL */
  1058.  
  1059. /*
  1060.  *  Obsolete. Use somDispatch instead.
  1061.  */
  1062. /* the va_list invocation form */
  1063. long   SOMTConstEntryC_somDispatchL(somId methodId, 
  1064.         somId descriptor, 
  1065.         va_list ap)
  1066. {return SOM_ResolveD(this,SOMTConstEntryC,SOMObject,somDispatchL)
  1067.     (this,methodId,descriptor,ap);
  1068. }
  1069.  
  1070. /* the varargs invocation form */
  1071. long   somDispatchL(somId methodId, 
  1072.         somId descriptor, 
  1073.         ...)
  1074. {
  1075. /*
  1076.  *  Obsolete. Use somDispatch instead.
  1077.  */
  1078.    va_list ap;
  1079.    va_start(ap, descriptor);
  1080.    long __somResult = 
  1081.       SOM_ResolveD(this,SOMTConstEntryC,SOMObject,somDispatchL)
  1082.     (this,methodId,descriptor,ap);
  1083.    va_end(ap);
  1084.    return __somResult;
  1085. }
  1086.  
  1087.  
  1088. /* va_list method: somDispatchA */
  1089.  
  1090. /*
  1091.  *  Obsolete. Use somDispatch instead.
  1092.  */
  1093. /* the va_list invocation form */
  1094. void*   SOMTConstEntryC_somDispatchA(somId methodId, 
  1095.         somId descriptor, 
  1096.         va_list ap)
  1097. {return SOM_ResolveD(this,SOMTConstEntryC,SOMObject,somDispatchA)
  1098.     (this,methodId,descriptor,ap);
  1099. }
  1100.  
  1101. /* the varargs invocation form */
  1102. void*   somDispatchA(somId methodId, 
  1103.         somId descriptor, 
  1104.         ...)
  1105. {
  1106. /*
  1107.  *  Obsolete. Use somDispatch instead.
  1108.  */
  1109.    va_list ap;
  1110.    va_start(ap, descriptor);
  1111.    void* __somResult = 
  1112.       SOM_ResolveD(this,SOMTConstEntryC,SOMObject,somDispatchA)
  1113.     (this,methodId,descriptor,ap);
  1114.    va_end(ap);
  1115.    return __somResult;
  1116. }
  1117.  
  1118.  
  1119. /* va_list method: somDispatchD */
  1120.  
  1121. /*
  1122.  *  Obsolete. Use somDispatch instead.
  1123.  */
  1124. /* the va_list invocation form */
  1125. double   SOMTConstEntryC_somDispatchD(somId methodId, 
  1126.         somId descriptor, 
  1127.         va_list ap)
  1128. {return SOM_ResolveD(this,SOMTConstEntryC,SOMObject,somDispatchD)
  1129.     (this,methodId,descriptor,ap);
  1130. }
  1131.  
  1132. /* the varargs invocation form */
  1133. double   somDispatchD(somId methodId, 
  1134.         somId descriptor, 
  1135.         ...)
  1136. {
  1137. /*
  1138.  *  Obsolete. Use somDispatch instead.
  1139.  */
  1140.    va_list ap;
  1141.    va_start(ap, descriptor);
  1142.    double __somResult = 
  1143.       SOM_ResolveD(this,SOMTConstEntryC,SOMObject,somDispatchD)
  1144.     (this,methodId,descriptor,ap);
  1145.    va_end(ap);
  1146.    return __somResult;
  1147. }
  1148.  
  1149.  
  1150.  
  1151. };   /* SOMTConstEntryC */
  1152.  
  1153.  
  1154.  
  1155. #endif       /* SOM_SOMTConstEntryC_xh */
  1156.