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

  1.  
  2. /*
  3.  * This file was generated by the SOM Compiler.
  4.  * FileName: scattrib.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_SOMTAttributeEntryC_xh
  27. #define SOM_SOMTAttributeEntryC_xh
  28.  
  29. class SOMTAttributeEntryC;
  30.  
  31. #define SOMTAttributeEntryC_MajorVersion 2
  32. #define SOMTAttributeEntryC_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 SOMTAttributeEntryC_API
  44. #define SOMTAttributeEntryC_API
  45. /*
  46.  * -- The Class API
  47.  */
  48.  
  49. /*
  50.  * Start of bindings for IDL types
  51.  */
  52.  
  53. class SOMTDataEntryC;
  54. class SOMTMethodEntryC;
  55. class SOMClass;
  56. class SOMObject;
  57. class SOMTEntryC;
  58. class SOMTEmitC;
  59. class SOMTMetaClassEntryC;
  60. class SOMTAttributeEntryC;
  61. class SOMTTypedefEntryC;
  62. class SOMTBaseClassEntryC;
  63. class SOMTPassthruEntryC;
  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 SOMTAttributeEntryC Class */
  82. SOMEXTERN SOMClass * SOMLINK SOMTAttributeEntryCNewClass(
  83.         integer4 majorVersion,
  84.         integer4 minorVersion);
  85.  
  86. /* The API to the SOMTAttributeEntryC class object, and the methods it introduces. */
  87. SOMEXTERN struct SOMTAttributeEntryCClassDataStructure {
  88.     SOMClass *classObject;
  89.     somMToken _get_somtIsReadonly;
  90.     somMToken _get_somtAttribType;
  91.     somMToken somtGetFirstAttributeDeclarator;
  92.     somMToken somtGetNextAttributeDeclarator;
  93.     somMToken somtGetFirstGetMethod;
  94.     somMToken somtGetNextGetMethod;
  95.     somMToken somtGetFirstSetMethod;
  96.     somMToken somtGetNextSetMethod;
  97. } SOMDLINK SOMTAttributeEntryCClassData;
  98. #define _SOMTAttributeEntryC SOMTAttributeEntryCClassData.classObject
  99.  
  100. /* The API to parentMtabs for SOMTAttributeEntryC, and the instance data it introduces. */
  101. SOMEXTERN struct SOMTAttributeEntryCCClassDataStructure {
  102.     somMethodTabs parentMtab;
  103.     somDToken              instanceDataToken;
  104. } SOMDLINK SOMTAttributeEntryCCClassData;
  105.  
  106. /*
  107.  * -- Typedefs for SOMTAttributeEntryC Method Procedures
  108.  */
  109. SOMEXTERN {
  110. typedef boolean   SOMLINK somTP_SOMTAttributeEntryC__get_somtIsReadonly(SOMTAttributeEntryC *somSelf);
  111. typedef somTP_SOMTAttributeEntryC__get_somtIsReadonly *somTD_SOMTAttributeEntryC__get_somtIsReadonly;
  112. typedef SOMTEntryC*   SOMLINK somTP_SOMTAttributeEntryC__get_somtAttribType(SOMTAttributeEntryC *somSelf);
  113. typedef somTP_SOMTAttributeEntryC__get_somtAttribType *somTD_SOMTAttributeEntryC__get_somtAttribType;
  114. typedef SOMTDataEntryC*   SOMLINK somTP_SOMTAttributeEntryC_somtGetFirstAttributeDeclarator(SOMTAttributeEntryC *somSelf);
  115. typedef somTP_SOMTAttributeEntryC_somtGetFirstAttributeDeclarator *somTD_SOMTAttributeEntryC_somtGetFirstAttributeDeclarator;
  116. typedef SOMTDataEntryC*   SOMLINK somTP_SOMTAttributeEntryC_somtGetNextAttributeDeclarator(SOMTAttributeEntryC *somSelf);
  117. typedef somTP_SOMTAttributeEntryC_somtGetNextAttributeDeclarator *somTD_SOMTAttributeEntryC_somtGetNextAttributeDeclarator;
  118. typedef SOMTMethodEntryC*   SOMLINK somTP_SOMTAttributeEntryC_somtGetFirstGetMethod(SOMTAttributeEntryC *somSelf);
  119. typedef somTP_SOMTAttributeEntryC_somtGetFirstGetMethod *somTD_SOMTAttributeEntryC_somtGetFirstGetMethod;
  120. typedef SOMTMethodEntryC*   SOMLINK somTP_SOMTAttributeEntryC_somtGetNextGetMethod(SOMTAttributeEntryC *somSelf);
  121. typedef somTP_SOMTAttributeEntryC_somtGetNextGetMethod *somTD_SOMTAttributeEntryC_somtGetNextGetMethod;
  122. typedef SOMTMethodEntryC*   SOMLINK somTP_SOMTAttributeEntryC_somtGetFirstSetMethod(SOMTAttributeEntryC *somSelf);
  123. typedef somTP_SOMTAttributeEntryC_somtGetFirstSetMethod *somTD_SOMTAttributeEntryC_somtGetFirstSetMethod;
  124. typedef SOMTMethodEntryC*   SOMLINK somTP_SOMTAttributeEntryC_somtGetNextSetMethod(SOMTAttributeEntryC *somSelf);
  125. typedef somTP_SOMTAttributeEntryC_somtGetNextSetMethod *somTD_SOMTAttributeEntryC_somtGetNextSetMethod;
  126.  
  127. /*
  128.  * -- Typedefs for Reintroduced Wrapper Methods
  129.  */
  130. typedef string   SOMLINK somTP_SOMTAttributeEntryC__get_somtEntryName(SOMTAttributeEntryC *somSelf);
  131. typedef somTP_SOMTAttributeEntryC__get_somtEntryName *somTD_SOMTAttributeEntryC__get_somtEntryName;
  132. typedef void   SOMLINK somTP_SOMTAttributeEntryC__set_somtEntryName(SOMTAttributeEntryC *somSelf, 
  133.         string somtEntryName);
  134. typedef somTP_SOMTAttributeEntryC__set_somtEntryName *somTD_SOMTAttributeEntryC__set_somtEntryName;
  135. typedef SOMTTypes   SOMLINK somTP_SOMTAttributeEntryC__get_somtElementType(SOMTAttributeEntryC *somSelf);
  136. typedef somTP_SOMTAttributeEntryC__get_somtElementType *somTD_SOMTAttributeEntryC__get_somtElementType;
  137. typedef void   SOMLINK somTP_SOMTAttributeEntryC__set_somtElementType(SOMTAttributeEntryC *somSelf, 
  138.         SOMTTypes somtElementType);
  139. typedef somTP_SOMTAttributeEntryC__set_somtElementType *somTD_SOMTAttributeEntryC__set_somtElementType;
  140. typedef string   SOMLINK somTP_SOMTAttributeEntryC__get_somtElementTypeName(SOMTAttributeEntryC *somSelf);
  141. typedef somTP_SOMTAttributeEntryC__get_somtElementTypeName *somTD_SOMTAttributeEntryC__get_somtElementTypeName;
  142. typedef string   SOMLINK somTP_SOMTAttributeEntryC__get_somtEntryComment(SOMTAttributeEntryC *somSelf);
  143. typedef somTP_SOMTAttributeEntryC__get_somtEntryComment *somTD_SOMTAttributeEntryC__get_somtEntryComment;
  144. typedef unsigned long   SOMLINK somTP_SOMTAttributeEntryC__get_somtSourceLineNumber(SOMTAttributeEntryC *somSelf);
  145. typedef somTP_SOMTAttributeEntryC__get_somtSourceLineNumber *somTD_SOMTAttributeEntryC__get_somtSourceLineNumber;
  146. typedef TypeCode   SOMLINK somTP_SOMTAttributeEntryC__get_somtTypeCode(SOMTAttributeEntryC *somSelf);
  147. typedef somTP_SOMTAttributeEntryC__get_somtTypeCode *somTD_SOMTAttributeEntryC__get_somtTypeCode;
  148. typedef boolean   SOMLINK somTP_SOMTAttributeEntryC__get_somtIsReference(SOMTAttributeEntryC *somSelf);
  149. typedef somTP_SOMTAttributeEntryC__get_somtIsReference *somTD_SOMTAttributeEntryC__get_somtIsReference;
  150. typedef string   SOMLINK somTP_SOMTAttributeEntryC__get_somtIDLScopedName(SOMTAttributeEntryC *somSelf);
  151. typedef somTP_SOMTAttributeEntryC__get_somtIDLScopedName *somTD_SOMTAttributeEntryC__get_somtIDLScopedName;
  152. typedef string   SOMLINK somTP_SOMTAttributeEntryC__get_somtCScopedName(SOMTAttributeEntryC *somSelf);
  153. typedef somTP_SOMTAttributeEntryC__get_somtCScopedName *somTD_SOMTAttributeEntryC__get_somtCScopedName;
  154. typedef string   SOMLINK somTP_SOMTAttributeEntryC_somtGetModifierValue(SOMTAttributeEntryC *somSelf, 
  155.         string modifierName);
  156. typedef somTP_SOMTAttributeEntryC_somtGetModifierValue *somTD_SOMTAttributeEntryC_somtGetModifierValue;
  157. typedef boolean   SOMLINK somTP_SOMTAttributeEntryC_somtGetFirstModifier(SOMTAttributeEntryC *somSelf, 
  158.         string* modifierName, 
  159.         string* modifierValue);
  160. typedef somTP_SOMTAttributeEntryC_somtGetFirstModifier *somTD_SOMTAttributeEntryC_somtGetFirstModifier;
  161. typedef boolean   SOMLINK somTP_SOMTAttributeEntryC_somtGetNextModifier(SOMTAttributeEntryC *somSelf, 
  162.         string* modifierName, 
  163.         string* modifierValue);
  164. typedef somTP_SOMTAttributeEntryC_somtGetNextModifier *somTD_SOMTAttributeEntryC_somtGetNextModifier;
  165. typedef long   SOMLINK somTP_SOMTAttributeEntryC_somtFormatModifier(SOMTAttributeEntryC *somSelf, 
  166.         string buffer, 
  167.         string name, 
  168.         string value);
  169. typedef somTP_SOMTAttributeEntryC_somtFormatModifier *somTD_SOMTAttributeEntryC_somtFormatModifier;
  170. typedef long   SOMLINK somTP_SOMTAttributeEntryC_somtGetModifierList(SOMTAttributeEntryC *somSelf, 
  171.         string buffer);
  172. typedef somTP_SOMTAttributeEntryC_somtGetModifierList *somTD_SOMTAttributeEntryC_somtGetModifierList;
  173. typedef long   SOMLINK somTP_SOMTAttributeEntryC_somtSetSymbolsOnEntry(SOMTAttributeEntryC *somSelf, 
  174.         SOMTEmitC* emitter, 
  175.         string prefix);
  176. typedef somTP_SOMTAttributeEntryC_somtSetSymbolsOnEntry *somTD_SOMTAttributeEntryC_somtSetSymbolsOnEntry;
  177. typedef void   SOMLINK somTP_SOMTAttributeEntryC_somtSetEntryStruct(SOMTAttributeEntryC *somSelf, 
  178.         Entry* es);
  179. typedef somTP_SOMTAttributeEntryC_somtSetEntryStruct *somTD_SOMTAttributeEntryC_somtSetEntryStruct;
  180. typedef void   SOMLINK somTP_SOMTAttributeEntryC_somInit(SOMTAttributeEntryC *somSelf);
  181. typedef somTP_SOMTAttributeEntryC_somInit *somTD_SOMTAttributeEntryC_somInit;
  182. typedef void   SOMLINK somTP_SOMTAttributeEntryC_somUninit(SOMTAttributeEntryC *somSelf);
  183. typedef somTP_SOMTAttributeEntryC_somUninit *somTD_SOMTAttributeEntryC_somUninit;
  184. typedef SOMObject*   SOMLINK somTP_SOMTAttributeEntryC_somPrintSelf(SOMTAttributeEntryC *somSelf);
  185. typedef somTP_SOMTAttributeEntryC_somPrintSelf *somTD_SOMTAttributeEntryC_somPrintSelf;
  186. typedef void   SOMLINK somTP_SOMTAttributeEntryC_somDumpSelfInt(SOMTAttributeEntryC *somSelf, 
  187.         long level);
  188. typedef somTP_SOMTAttributeEntryC_somDumpSelfInt *somTD_SOMTAttributeEntryC_somDumpSelfInt;
  189. typedef void   SOMLINK somTP_SOMTAttributeEntryC_somDumpSelf(SOMTAttributeEntryC *somSelf, 
  190.         long level);
  191. typedef somTP_SOMTAttributeEntryC_somDumpSelf *somTD_SOMTAttributeEntryC_somDumpSelf;
  192. typedef void   SOMLINK somTP_SOMTAttributeEntryC_somDefaultInit(SOMTAttributeEntryC *somSelf, 
  193.         som3InitCtrl* ctrl);
  194. typedef somTP_SOMTAttributeEntryC_somDefaultInit *somTD_SOMTAttributeEntryC_somDefaultInit;
  195. typedef void   SOMLINK somTP_SOMTAttributeEntryC_somDestruct(SOMTAttributeEntryC *somSelf, 
  196.         octet doFree, 
  197.         som3DestructCtrl* ctrl);
  198. typedef somTP_SOMTAttributeEntryC_somDestruct *somTD_SOMTAttributeEntryC_somDestruct;
  199. typedef void   SOMLINK somTP_SOMTAttributeEntryC_somDefaultCopyInit(SOMTAttributeEntryC *somSelf, 
  200.         som3InitCtrl* ctrl, 
  201.         SOMObject* fromObj);
  202. typedef somTP_SOMTAttributeEntryC_somDefaultCopyInit *somTD_SOMTAttributeEntryC_somDefaultCopyInit;
  203. typedef SOMTAttributeEntryC*   SOMLINK somTP_SOMTAttributeEntryC_somDefaultAssign(SOMTAttributeEntryC *somSelf, 
  204.         som3AssignCtrl* ctrl, 
  205.         SOMObject* fromObj);
  206. typedef somTP_SOMTAttributeEntryC_somDefaultAssign *somTD_SOMTAttributeEntryC_somDefaultAssign;
  207. typedef void   SOMLINK somTP_SOMTAttributeEntryC_somDefaultConstCopyInit(SOMTAttributeEntryC *somSelf, 
  208.         som3InitCtrl* ctrl, 
  209.         SOMObject* fromObj);
  210. typedef somTP_SOMTAttributeEntryC_somDefaultConstCopyInit *somTD_SOMTAttributeEntryC_somDefaultConstCopyInit;
  211. typedef void   SOMLINK somTP_SOMTAttributeEntryC_somDefaultVCopyInit(SOMTAttributeEntryC *somSelf, 
  212.         som3InitCtrl* ctrl, 
  213.         SOMObject* fromObj);
  214. typedef somTP_SOMTAttributeEntryC_somDefaultVCopyInit *somTD_SOMTAttributeEntryC_somDefaultVCopyInit;
  215. typedef void   SOMLINK somTP_SOMTAttributeEntryC_somDefaultConstVCopyInit(SOMTAttributeEntryC *somSelf, 
  216.         som3InitCtrl* ctrl, 
  217.         SOMObject* fromObj);
  218. typedef somTP_SOMTAttributeEntryC_somDefaultConstVCopyInit *somTD_SOMTAttributeEntryC_somDefaultConstVCopyInit;
  219. typedef SOMTAttributeEntryC*   SOMLINK somTP_SOMTAttributeEntryC_somDefaultConstAssign(SOMTAttributeEntryC *somSelf, 
  220.         som3AssignCtrl* ctrl, 
  221.         SOMObject* fromObj);
  222. typedef somTP_SOMTAttributeEntryC_somDefaultConstAssign *somTD_SOMTAttributeEntryC_somDefaultConstAssign;
  223. typedef SOMTAttributeEntryC*   SOMLINK somTP_SOMTAttributeEntryC_somDefaultVAssign(SOMTAttributeEntryC *somSelf, 
  224.         som3AssignCtrl* ctrl, 
  225.         SOMObject* fromObj);
  226. typedef somTP_SOMTAttributeEntryC_somDefaultVAssign *somTD_SOMTAttributeEntryC_somDefaultVAssign;
  227. typedef SOMTAttributeEntryC*   SOMLINK somTP_SOMTAttributeEntryC_somDefaultConstVAssign(SOMTAttributeEntryC *somSelf, 
  228.         som3AssignCtrl* ctrl, 
  229.         SOMObject* fromObj);
  230. typedef somTP_SOMTAttributeEntryC_somDefaultConstVAssign *somTD_SOMTAttributeEntryC_somDefaultConstVAssign;
  231. typedef void   SOMLINK somTP_SOMTAttributeEntryC_somFree(SOMTAttributeEntryC *somSelf);
  232. typedef somTP_SOMTAttributeEntryC_somFree *somTD_SOMTAttributeEntryC_somFree;
  233. typedef SOMClass*   SOMLINK somTP_SOMTAttributeEntryC_somGetClass(SOMTAttributeEntryC *somSelf);
  234. typedef somTP_SOMTAttributeEntryC_somGetClass *somTD_SOMTAttributeEntryC_somGetClass;
  235. typedef string   SOMLINK somTP_SOMTAttributeEntryC_somGetClassName(SOMTAttributeEntryC *somSelf);
  236. typedef somTP_SOMTAttributeEntryC_somGetClassName *somTD_SOMTAttributeEntryC_somGetClassName;
  237. typedef long   SOMLINK somTP_SOMTAttributeEntryC_somGetSize(SOMTAttributeEntryC *somSelf);
  238. typedef somTP_SOMTAttributeEntryC_somGetSize *somTD_SOMTAttributeEntryC_somGetSize;
  239. typedef boolean   SOMLINK somTP_SOMTAttributeEntryC_somIsA(SOMTAttributeEntryC *somSelf, 
  240.         SOMClass* aClassObj);
  241. typedef somTP_SOMTAttributeEntryC_somIsA *somTD_SOMTAttributeEntryC_somIsA;
  242. typedef boolean   SOMLINK somTP_SOMTAttributeEntryC_somIsInstanceOf(SOMTAttributeEntryC *somSelf, 
  243.         SOMClass* aClassObj);
  244. typedef somTP_SOMTAttributeEntryC_somIsInstanceOf *somTD_SOMTAttributeEntryC_somIsInstanceOf;
  245. typedef boolean   SOMLINK somTP_SOMTAttributeEntryC_somRespondsTo(SOMTAttributeEntryC *somSelf, 
  246.         somId mId);
  247. typedef somTP_SOMTAttributeEntryC_somRespondsTo *somTD_SOMTAttributeEntryC_somRespondsTo;
  248. typedef boolean   SOMLINK somTP_SOMTAttributeEntryC_somDispatch(SOMTAttributeEntryC *somSelf, 
  249.         somToken* retValue, 
  250.         somId methodId, 
  251.         va_list ap);
  252. typedef somTP_SOMTAttributeEntryC_somDispatch *somTD_SOMTAttributeEntryC_somDispatch;
  253. typedef boolean   SOMLINK somTP_SOMTAttributeEntryC_somClassDispatch(SOMTAttributeEntryC *somSelf, 
  254.         SOMClass* clsObj, 
  255.         somToken* retValue, 
  256.         somId methodId, 
  257.         va_list ap);
  258. typedef somTP_SOMTAttributeEntryC_somClassDispatch *somTD_SOMTAttributeEntryC_somClassDispatch;
  259. typedef boolean   SOMLINK somTP_SOMTAttributeEntryC_somCastObj(SOMTAttributeEntryC *somSelf, 
  260.         SOMClass* cls);
  261. typedef somTP_SOMTAttributeEntryC_somCastObj *somTD_SOMTAttributeEntryC_somCastObj;
  262. typedef boolean   SOMLINK somTP_SOMTAttributeEntryC_somResetObj(SOMTAttributeEntryC *somSelf);
  263. typedef somTP_SOMTAttributeEntryC_somResetObj *somTD_SOMTAttributeEntryC_somResetObj;
  264. typedef void   SOMLINK somTP_SOMTAttributeEntryC_somDispatchV(SOMTAttributeEntryC *somSelf, 
  265.         somId methodId, 
  266.         somId descriptor, 
  267.         va_list ap);
  268. typedef somTP_SOMTAttributeEntryC_somDispatchV *somTD_SOMTAttributeEntryC_somDispatchV;
  269. typedef long   SOMLINK somTP_SOMTAttributeEntryC_somDispatchL(SOMTAttributeEntryC *somSelf, 
  270.         somId methodId, 
  271.         somId descriptor, 
  272.         va_list ap);
  273. typedef somTP_SOMTAttributeEntryC_somDispatchL *somTD_SOMTAttributeEntryC_somDispatchL;
  274. typedef void*   SOMLINK somTP_SOMTAttributeEntryC_somDispatchA(SOMTAttributeEntryC *somSelf, 
  275.         somId methodId, 
  276.         somId descriptor, 
  277.         va_list ap);
  278. typedef somTP_SOMTAttributeEntryC_somDispatchA *somTD_SOMTAttributeEntryC_somDispatchA;
  279. typedef double   SOMLINK somTP_SOMTAttributeEntryC_somDispatchD(SOMTAttributeEntryC *somSelf, 
  280.         somId methodId, 
  281.         somId descriptor, 
  282.         va_list ap);
  283. typedef somTP_SOMTAttributeEntryC_somDispatchD *somTD_SOMTAttributeEntryC_somDispatchD;
  284. }
  285.  
  286. #endif /* SOMTAttributeEntryC_API */
  287.  
  288.  
  289. /*
  290.  * -- This emitter treats Method Tokens as Thunks by default.
  291.  * -- Use the sc modifier "nothunks" to change this default
  292.  */
  293. #undef somresolve_
  294. #define somresolve_(obj,mToken) ((somMethodProc*)((void)obj, mToken))
  295.  
  296. /*
  297.  * -- The C++ Wrapper Class for SOMTAttributeEntryC
  298.  */
  299. class SOMTAttributeEntryC : public SOMTEntryC
  300. {
  301. public:
  302.  
  303. // SOMTAttributeEntryC::new creates the class object if necessary, and then uses somNewNoInit
  304. // to allocate memory and create the object. Initialization is in ctors.
  305. void *operator new(size_t)
  306. {
  307.    if (!_SOMTAttributeEntryC) SOMTAttributeEntryCNewClass(SOMTAttributeEntryC_MajorVersion,SOMTAttributeEntryC_MinorVersion);
  308.    return (void*)
  309.       SOM_Resolve(_SOMTAttributeEntryC,SOMClass,somNewNoInit)
  310.          ((SOMClass *)((void*)_SOMTAttributeEntryC));
  311. }
  312.  
  313. // SOMTAttributeEntryC::delete uses somDestruct.
  314. void operator delete(void * obj)
  315. {
  316.    if (obj && *(void**)obj) {
  317.       SOM_Resolve(obj,SOMObject,somFree)
  318.          ((SOMObject*)obj);
  319.    }
  320. }
  321.  
  322. SOMTAttributeEntryC& operator=(SOMTAttributeEntryC& fromObj)
  323. {
  324.    this->somDefaultAssign(0,(SOMObject*)((void*)&fromObj));
  325.    return *this;
  326. }
  327.  
  328. SOMTAttributeEntryC()
  329. {
  330.    if (*(void**)this != 
  331.        ((somParentMtabStructPtr)
  332.         (SOMTAttributeEntryCCClassData.parentMtab))->mtab)
  333.       return;
  334.    ((SOMObject*)((void*)this))->somDefaultInit(0);
  335. }
  336.  
  337. SOMTAttributeEntryC(SOMTAttributeEntryC* fromObj)
  338. {
  339.    if (*(void**)this != 
  340.        ((somParentMtabStructPtr)
  341.         (SOMTAttributeEntryCCClassData.parentMtab))->mtab)
  342.       return;
  343.    ((SOMObject*)((void*)this))->somDefaultCopyInit(0,((SOMObject*)((void*)fromObj)));
  344. }
  345.  
  346. #ifdef __IBMCPP__
  347. #pragma info(nocnv,nopar)
  348. #endif
  349. SOMTAttributeEntryC(const SOMTAttributeEntryC* fromObj)
  350. {
  351.    if (*(void**)this != 
  352.        ((somParentMtabStructPtr)
  353.         (SOMTAttributeEntryCCClassData.parentMtab))->mtab)
  354.       return;
  355.    ((SOMObject*)((void*)this))->somDefaultConstCopyInit(0,((SOMObject*)((void*)fromObj)));
  356. }
  357. #ifdef __IBMCPP__
  358. #pragma info(restore)
  359. #endif
  360.  
  361.  
  362. /* method: _get_somtIsReadonly */
  363. boolean   _get_somtIsReadonly()
  364. {
  365. /*
  366.  *  Whether the attribute is readonly.
  367.  */
  368.    return SOM_ResolveD(this,SOMTAttributeEntryC,SOMTAttributeEntryC,_get_somtIsReadonly)
  369.     (this);
  370. }
  371.  
  372.  
  373. /* method: _get_somtAttribType */
  374. SOMTEntryC*   _get_somtAttribType()
  375. {
  376. /*
  377.  *  The type of the attribute.  This does not include pointer stars
  378.  *  or array declarators.  To get the "full" type, get each attribute
  379.  *  declarator and get the somtType attribute.
  380.  */
  381.    return SOM_ResolveD(this,SOMTAttributeEntryC,SOMTAttributeEntryC,_get_somtAttribType)
  382.     (this);
  383. }
  384.  
  385.  
  386. /* method: somtGetFirstAttributeDeclarator */
  387. SOMTDataEntryC*   somtGetFirstAttributeDeclarator()
  388. {
  389. /*
  390.  *  The first attribute declarator for this attribute declaration.
  391.  */
  392.    return SOM_ResolveD(this,SOMTAttributeEntryC,SOMTAttributeEntryC,somtGetFirstAttributeDeclarator)
  393.     (this);
  394. }
  395.  
  396.  
  397. /* method: somtGetNextAttributeDeclarator */
  398. SOMTDataEntryC*   somtGetNextAttributeDeclarator()
  399. {
  400. /*
  401.  *  The next attribute declarator for this attribute declaration,
  402.  *  relative to the previous call to this method or
  403.  *  somtGetFirstAttributeDeclarator.
  404.  */
  405.    return SOM_ResolveD(this,SOMTAttributeEntryC,SOMTAttributeEntryC,somtGetNextAttributeDeclarator)
  406.     (this);
  407. }
  408.  
  409.  
  410. /* method: somtGetFirstGetMethod */
  411. SOMTMethodEntryC*   somtGetFirstGetMethod()
  412. {
  413. /*
  414.  *  The first get method for this attribute declaration.
  415.  */
  416.    return SOM_ResolveD(this,SOMTAttributeEntryC,SOMTAttributeEntryC,somtGetFirstGetMethod)
  417.     (this);
  418. }
  419.  
  420.  
  421. /* method: somtGetNextGetMethod */
  422. SOMTMethodEntryC*   somtGetNextGetMethod()
  423. {
  424. /*
  425.  *  The next get method for this attribute declaration,
  426.  *  relative to the previous call to this method or
  427.  *  somtGetFirstGetMethod.
  428.  */
  429.    return SOM_ResolveD(this,SOMTAttributeEntryC,SOMTAttributeEntryC,somtGetNextGetMethod)
  430.     (this);
  431. }
  432.  
  433.  
  434. /* method: somtGetFirstSetMethod */
  435. SOMTMethodEntryC*   somtGetFirstSetMethod()
  436. {
  437. /*
  438.  *  The first set method for this attribute declaration.
  439.  */
  440.    return SOM_ResolveD(this,SOMTAttributeEntryC,SOMTAttributeEntryC,somtGetFirstSetMethod)
  441.     (this);
  442. }
  443.  
  444.  
  445. /* method: somtGetNextSetMethod */
  446. SOMTMethodEntryC*   somtGetNextSetMethod()
  447. {
  448. /*
  449.  *  The next set method for this attribute declaration,
  450.  *  relative to the previous call to this method or
  451.  *  somtGetFirstSetMethod.
  452.  */
  453.    return SOM_ResolveD(this,SOMTAttributeEntryC,SOMTAttributeEntryC,somtGetNextSetMethod)
  454.     (this);
  455. }
  456.  
  457.  
  458. /*
  459.  * Reintroduce inherited methods
  460.  */
  461.  
  462. /* method: _get_somtEntryName */
  463. string   _get_somtEntryName()
  464. {
  465. /*
  466.  *  The name associated with this entry.  Eg, the name of
  467.  *  the data item, the class, the method, the type, etc.
  468.  */
  469.    return SOM_ResolveD(this,SOMTAttributeEntryC,SOMTEntryC,_get_somtEntryName)
  470.     (this);
  471. }
  472.  
  473.  
  474. /* method: _set_somtEntryName */
  475. void   _set_somtEntryName(string somtEntryName)
  476. {
  477. /*
  478.  *  The name associated with this entry.  Eg, the name of
  479.  *  the data item, the class, the method, the type, etc.
  480.  */
  481.    SOM_ResolveD(this,SOMTAttributeEntryC,SOMTEntryC,_set_somtEntryName)
  482.     (this,somtEntryName);
  483. }
  484.  
  485.  
  486. /* method: _get_somtElementType */
  487. SOMTTypes   _get_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.    return SOM_ResolveD(this,SOMTAttributeEntryC,SOMTEntryC,_get_somtElementType)
  495.     (this);
  496. }
  497.  
  498.  
  499. /* method: _set_somtElementType */
  500. void   _set_somtElementType(SOMTTypes somtElementType)
  501. {
  502. /*
  503.  *  Returns the type of this entry.
  504.  *  This is not datatype, but entry type (method, class,
  505.  *  passthru, etc.). The value is defined by SOMTTypes.
  506.  */
  507.    SOM_ResolveD(this,SOMTAttributeEntryC,SOMTEntryC,_set_somtElementType)
  508.     (this,somtElementType);
  509. }
  510.  
  511.  
  512. /* method: _get_somtElementTypeName */
  513. string   _get_somtElementTypeName()
  514. {
  515. /*
  516.  *  String version of somtElementType.
  517.  */
  518.    return SOM_ResolveD(this,SOMTAttributeEntryC,SOMTEntryC,_get_somtElementTypeName)
  519.     (this);
  520. }
  521.  
  522.  
  523. /* method: _get_somtEntryComment */
  524. string   _get_somtEntryComment()
  525. {
  526. /*
  527.  *  Returns the comment associated with this entry, or NULL is this
  528.  *  entry has no associated comment.  Comments will have comment
  529.  *  delimitors removed, but will retain newline characters as
  530.  *  specified in the source file. (use smLookupComment)
  531.  */
  532.    return SOM_ResolveD(this,SOMTAttributeEntryC,SOMTEntryC,_get_somtEntryComment)
  533.     (this);
  534. }
  535.  
  536.  
  537. /* method: _get_somtSourceLineNumber */
  538. unsigned long   _get_somtSourceLineNumber()
  539. {
  540. /*
  541.  *  Returns the line number in the source file where this entry's
  542.  *  syntactic form ended.
  543.  */
  544.    return SOM_ResolveD(this,SOMTAttributeEntryC,SOMTEntryC,_get_somtSourceLineNumber)
  545.     (this);
  546. }
  547.  
  548.  
  549. /* method: _get_somtTypeCode */
  550. TypeCode   _get_somtTypeCode()
  551. {
  552. /*
  553.  *  The typecode, if appropriate, or NULL.
  554.  */
  555.    return SOM_ResolveD(this,SOMTAttributeEntryC,SOMTEntryC,_get_somtTypeCode)
  556.     (this);
  557. }
  558.  
  559.  
  560. /* method: _get_somtIsReference */
  561. boolean   _get_somtIsReference()
  562. {
  563. /*
  564.  *  Whether the entry is just a reference to the real type (TRUE)
  565.  *  rather than a declaration of it (FALSE).
  566.  */
  567.    return SOM_ResolveD(this,SOMTAttributeEntryC,SOMTEntryC,_get_somtIsReference)
  568.     (this);
  569. }
  570.  
  571.  
  572. /* method: _get_somtIDLScopedName */
  573. string   _get_somtIDLScopedName()
  574. {
  575. /*
  576.  *  The IDL scoped name of the entry (using double colon as delimiter).
  577.  */
  578.    return SOM_ResolveD(this,SOMTAttributeEntryC,SOMTEntryC,_get_somtIDLScopedName)
  579.     (this);
  580. }
  581.  
  582.  
  583. /* method: _get_somtCScopedName */
  584. string   _get_somtCScopedName()
  585. {
  586. /*
  587.  *  The C scoped name of the entry (using underscore as delimiter).
  588.  */
  589.    return SOM_ResolveD(this,SOMTAttributeEntryC,SOMTEntryC,_get_somtCScopedName)
  590.     (this);
  591. }
  592.  
  593.  
  594. /* method: somtGetModifierValue */
  595. string   somtGetModifierValue(string modifierName)
  596. {
  597. /*
  598.  *  Returns the value of the named modifier if this entry has the
  599.  *  named modifier and NULL otherwise. Note: if the modifier is
  600.  *  present but does not have a value then a value of <'\1'> is
  601.  *  returned.
  602.  */
  603.    return SOM_ResolveD(this,SOMTAttributeEntryC,SOMTEntryC,somtGetModifierValue)
  604.     (this,modifierName);
  605. }
  606.  
  607.  
  608. /* method: somtGetFirstModifier */
  609. boolean   somtGetFirstModifier(string* modifierName, 
  610.         string* modifierValue)
  611. {
  612. /*
  613.  *  Returns the first modifier associated with this entry.  1 (true)
  614.  *  is returned if the entry has at least one modifier and 0 (false)
  615.  *  otherwise.
  616.  */
  617.    return SOM_ResolveD(this,SOMTAttributeEntryC,SOMTEntryC,somtGetFirstModifier)
  618.     (this,modifierName,modifierValue);
  619. }
  620.  
  621.  
  622. /* method: somtGetNextModifier */
  623. boolean   somtGetNextModifier(string* modifierName, 
  624.         string* modifierValue)
  625. {
  626. /*
  627.  *  Returns the next modifier (with respect to the last call to
  628.  *  <somtGetNextModifier> or <somtGetFirstModifier>)
  629.  *  associated with this entry.  1 (true) is returned if the entry
  630.  *  had another modifier and 0 (false) otherwise.
  631.  */
  632.    return SOM_ResolveD(this,SOMTAttributeEntryC,SOMTEntryC,somtGetNextModifier)
  633.     (this,modifierName,modifierValue);
  634. }
  635.  
  636.  
  637. /* method: somtFormatModifier */
  638. long   somtFormatModifier(string buffer, 
  639.         string name, 
  640.         string value)
  641. {
  642. /*
  643.  *  Formats the indicated name/value pair into buffer.  Buffer must
  644.  *  be big enough to hold all the formatted pair, no checks are made.
  645.  *  The number of characters added to buffer are returned (not
  646.  *  including the trailing null character).
  647.  *  Note: value may be null
  648.  *  You will probably never call this method, it is provided so that
  649.  *  you can override it to control the format returned in
  650.  *  <somtGetModifierList>.
  651.  */
  652.    return SOM_ResolveD(this,SOMTAttributeEntryC,SOMTEntryC,somtFormatModifier)
  653.     (this,buffer,name,value);
  654. }
  655.  
  656.  
  657. /* method: somtGetModifierList */
  658. long   somtGetModifierList(string buffer)
  659. {
  660. /*
  661.  *  The modifiers for this entry are placed in <buffer> in template
  662.  *  list form (newline separated).  Buffer must be big enough to
  663.  *  hold all the modifiers, no checks are made. The number of
  664.  *  modifiers is returned.
  665.  */
  666.    return SOM_ResolveD(this,SOMTAttributeEntryC,SOMTEntryC,somtGetModifierList)
  667.     (this,buffer);
  668. }
  669.  
  670.  
  671. /* method: somtSetSymbolsOnEntry */
  672. long   somtSetSymbolsOnEntry(SOMTEmitC* emitter, 
  673.         string prefix)
  674. {
  675. /*
  676.  *  Places a number of symbol/value pairs in <t>.  All the symbols
  677.  *  will begin with <prefix>.
  678.  */
  679.    return SOM_ResolveD(this,SOMTAttributeEntryC,SOMTEntryC,somtSetSymbolsOnEntry)
  680.     (this,emitter,prefix);
  681. }
  682.  
  683.  
  684. /* method: somtSetEntryStruct */
  685. void   somtSetEntryStruct(Entry* es)
  686. {
  687. /*
  688.  *  Sets the entry struct data member.
  689.  *  Note, when overridding this method, it is important to call the
  690.  *  parent version of the method first and then do your processing.
  691.  */
  692.    SOM_ResolveD(this,SOMTAttributeEntryC,SOMTEntryC,somtSetEntryStruct)
  693.     (this,es);
  694. }
  695.  
  696.  
  697. /* method: somInit */
  698. void   somInit()
  699. {
  700.    SOM_ResolveD(this,SOMTAttributeEntryC,SOMObject,somInit)
  701.     (this);
  702. }
  703.  
  704.  
  705. /* method: somUninit */
  706. void   somUninit()
  707. {
  708.    SOM_ResolveD(this,SOMTAttributeEntryC,SOMObject,somUninit)
  709.     (this);
  710. }
  711.  
  712.  
  713. /* method: somPrintSelf */
  714. SOMObject*   somPrintSelf()
  715. {
  716.    return SOM_ResolveD(this,SOMTAttributeEntryC,SOMObject,somPrintSelf)
  717.     (this);
  718. }
  719.  
  720.  
  721. /* method: somDumpSelfInt */
  722. void   somDumpSelfInt(long level)
  723. {
  724.    SOM_ResolveD(this,SOMTAttributeEntryC,SOMObject,somDumpSelfInt)
  725.     (this,level);
  726. }
  727.  
  728.  
  729. /* method: somDumpSelf */
  730. void   somDumpSelf(long level)
  731. {
  732.    SOM_ResolveD(this,SOMTAttributeEntryC,SOMObject,somDumpSelf)
  733.     (this,level);
  734. }
  735.  
  736.  
  737. /* initializer method: somDefaultInit */
  738. void   somDefaultInit(som3InitCtrl* ctrl)
  739. {
  740. /*
  741.  *  A default initializer for a SOM object. Passing a null ctrl
  742.  *  indicates to the receiver that its class is the class of the
  743.  *  object being initialized, whereby the initializer will determine
  744.  *  an appropriate control structure.
  745.  */
  746.    SOM_ResolveD(this,SOMTAttributeEntryC,SOMObject,somDefaultInit)
  747.     (this,ctrl);
  748. }
  749.  
  750.  
  751. /* method: somDestruct */
  752. void   somDestruct(octet doFree, 
  753.         som3DestructCtrl* ctrl)
  754. {
  755. /*
  756.  *  The default destructor for a SOM object. A nonzero <doFree>
  757.  *  indicates that the object storage should be freed by the
  758.  *  object's class (via somDeallocate) after uninitialization.
  759.  *  As with somDefaultInit, a null ctrl can be passed.
  760.  */
  761.    SOM_ResolveD(this,SOMTAttributeEntryC,SOMObject,somDestruct)
  762.     (this,doFree,ctrl);
  763. }
  764.  
  765.  
  766. /* initializer method: somDefaultCopyInit */
  767. void   somDefaultCopyInit(som3InitCtrl* ctrl, 
  768.         SOMObject* fromObj)
  769. {
  770. /*
  771.  *  A default copy constructor. Use this to make copies of objects for
  772.  *  calling methods with "by-value" argument semantics.
  773.  */
  774.    SOM_ResolveD(this,SOMTAttributeEntryC,SOMObject,somDefaultCopyInit)
  775.     (this,ctrl,fromObj);
  776. }
  777.  
  778.  
  779. /* method: somDefaultAssign */
  780. SOMTAttributeEntryC*  somDefaultAssign(som3AssignCtrl* ctrl, 
  781.         SOMObject* fromObj)
  782. {
  783. /*
  784.  *  A default assignment operator. Use this to "assign" the state of one
  785.  *  object to another.
  786.  */
  787.    return SOM_ResolveD(this,SOMTAttributeEntryC,SOMObject,somDefaultAssign)
  788.     (this,ctrl,fromObj);
  789. }
  790.  
  791.  
  792. /* initializer method: somDefaultConstCopyInit */
  793. void   somDefaultConstCopyInit(som3InitCtrl* ctrl, 
  794.         SOMObject* fromObj)
  795. {
  796. /*
  797.  *  A default copy constructor that uses a const fromObj.
  798.  */
  799.    SOM_ResolveD(this,SOMTAttributeEntryC,SOMObject,somDefaultConstCopyInit)
  800.     (this,ctrl,fromObj);
  801. }
  802.  
  803.  
  804. /* initializer method: somDefaultVCopyInit */
  805. void   somDefaultVCopyInit(som3InitCtrl* ctrl, 
  806.         SOMObject* fromObj)
  807. {
  808. /*
  809.  *  A default copy constructor that uses a volatile fromObj.
  810.  */
  811.    SOM_ResolveD(this,SOMTAttributeEntryC,SOMObject,somDefaultVCopyInit)
  812.     (this,ctrl,fromObj);
  813. }
  814.  
  815.  
  816. /* initializer method: somDefaultConstVCopyInit */
  817. void   somDefaultConstVCopyInit(som3InitCtrl* ctrl, 
  818.         SOMObject* fromObj)
  819. {
  820. /*
  821.  *  A default copy constructor that uses a const volatile fromObj.
  822.  */
  823.    SOM_ResolveD(this,SOMTAttributeEntryC,SOMObject,somDefaultConstVCopyInit)
  824.     (this,ctrl,fromObj);
  825. }
  826.  
  827.  
  828. /* method: somDefaultConstAssign */
  829. SOMTAttributeEntryC*  somDefaultConstAssign(som3AssignCtrl* ctrl, 
  830.         SOMObject* fromObj)
  831. {
  832. /*
  833.  *  A default assignment operator that uses a const fromObj.
  834.  */
  835.    return SOM_ResolveD(this,SOMTAttributeEntryC,SOMObject,somDefaultConstAssign)
  836.     (this,ctrl,fromObj);
  837. }
  838.  
  839.  
  840. /* method: somDefaultVAssign */
  841. SOMTAttributeEntryC*  somDefaultVAssign(som3AssignCtrl* ctrl, 
  842.         SOMObject* fromObj)
  843. {
  844. /*
  845.  *  A default assignment operator that uses a volatile fromObj.
  846.  */
  847.    return SOM_ResolveD(this,SOMTAttributeEntryC,SOMObject,somDefaultVAssign)
  848.     (this,ctrl,fromObj);
  849. }
  850.  
  851.  
  852. /* method: somDefaultConstVAssign */
  853. SOMTAttributeEntryC*  somDefaultConstVAssign(som3AssignCtrl* ctrl, 
  854.         SOMObject* fromObj)
  855. {
  856. /*
  857.  *  A default assignment operator that uses a const volatile fromObj.
  858.  */
  859.    return SOM_ResolveD(this,SOMTAttributeEntryC,SOMObject,somDefaultConstVAssign)
  860.     (this,ctrl,fromObj);
  861. }
  862.  
  863.  
  864. /* method: somFree */
  865. void   somFree()
  866. {
  867. /*
  868.  *  Use as directed by framework implementations.
  869.  */
  870.    SOM_ResolveD(this,SOMTAttributeEntryC,SOMObject,somFree)
  871.     (this);
  872. }
  873.  
  874.  
  875. /* method: somGetClass */
  876. SOMClass*   somGetClass()
  877. {
  878. /*
  879.  *  Return the receiver's class.
  880.  */
  881.    return SOM_ResolveD(this,SOMTAttributeEntryC,SOMObject,somGetClass)
  882.     (this);
  883. }
  884.  
  885.  
  886. /* method: somGetClassName */
  887. string   somGetClassName()
  888. {
  889. /*
  890.  *  Return the name of the receiver's class.
  891.  */
  892.    return SOM_ResolveD(this,SOMTAttributeEntryC,SOMObject,somGetClassName)
  893.     (this);
  894. }
  895.  
  896.  
  897. /* method: somGetSize */
  898. long   somGetSize()
  899. {
  900. /*
  901.  *  Return the size of the receiver.
  902.  */
  903.    return SOM_ResolveD(this,SOMTAttributeEntryC,SOMObject,somGetSize)
  904.     (this);
  905. }
  906.  
  907.  
  908. /* method: somIsA */
  909. boolean   somIsA(SOMClass* aClassObj)
  910. {
  911. /*
  912.  *  Returns 1 (true) if the receiver responds to methods
  913.  *  introduced by <aClassObj>, and 0 (false) otherwise.
  914.  */
  915.    return SOM_ResolveD(this,SOMTAttributeEntryC,SOMObject,somIsA)
  916.     (this,aClassObj);
  917. }
  918.  
  919.  
  920. /* method: somIsInstanceOf */
  921. boolean   somIsInstanceOf(SOMClass* aClassObj)
  922. {
  923. /*
  924.  *  Returns 1 (true) if the receiver is an instance of
  925.  *  <aClassObj> and 0 (false) otherwise.
  926.  */
  927.    return SOM_ResolveD(this,SOMTAttributeEntryC,SOMObject,somIsInstanceOf)
  928.     (this,aClassObj);
  929. }
  930.  
  931.  
  932. /* method: somRespondsTo */
  933. boolean   somRespondsTo(somId mId)
  934. {
  935. /*
  936.  *  Returns 1 (true) if the indicated method can be invoked
  937.  *  on the receiver and 0 (false) otherwise.
  938.  */
  939.    return SOM_ResolveD(this,SOMTAttributeEntryC,SOMObject,somRespondsTo)
  940.     (this,mId);
  941. }
  942.  
  943.  
  944. /* va_list method: somDispatch */
  945.  
  946. /*
  947.  *  This method provides a generic, class-specific dispatch mechanism.
  948.  *  It accepts as input <retValue> a pointer to the memory area to be
  949.  *  loaded with the result of dispatching the method indicated by
  950.  *  <methodId> using the arguments in <ap>. <ap> contains the object
  951.  *  on which the method is to be invoked as the first argument.
  952.  */
  953. /* the va_list invocation form */
  954. boolean   SOMTAttributeEntryC_somDispatch(somToken* retValue, 
  955.         somId methodId, 
  956.         va_list ap)
  957. {return SOM_ResolveD(this,SOMTAttributeEntryC,SOMObject,somDispatch)
  958.     (this,retValue,methodId,ap);
  959. }
  960.  
  961. /* the varargs invocation form */
  962. boolean   somDispatch(somToken* retValue, 
  963.         somId methodId, 
  964.         ...)
  965. {
  966. /*
  967.  *  This method provides a generic, class-specific dispatch mechanism.
  968.  *  It accepts as input <retValue> a pointer to the memory area to be
  969.  *  loaded with the result of dispatching the method indicated by
  970.  *  <methodId> using the arguments in <ap>. <ap> contains the object
  971.  *  on which the method is to be invoked as the first argument.
  972.  */
  973.    va_list ap;
  974.    va_start(ap, methodId);
  975.    boolean __somResult = 
  976.       SOM_ResolveD(this,SOMTAttributeEntryC,SOMObject,somDispatch)
  977.     (this,retValue,methodId,ap);
  978.    va_end(ap);
  979.    return __somResult;
  980. }
  981.  
  982.  
  983. /* va_list method: somClassDispatch */
  984.  
  985. /*
  986.  *  Like somDispatch, but method resolution for static methods is done
  987.  *  according to the clsObj instance method table.
  988.  */
  989. /* the va_list invocation form */
  990. boolean   SOMTAttributeEntryC_somClassDispatch(SOMClass* clsObj, 
  991.         somToken* retValue, 
  992.         somId methodId, 
  993.         va_list ap)
  994. {return SOM_ResolveD(this,SOMTAttributeEntryC,SOMObject,somClassDispatch)
  995.     (this,clsObj,retValue,methodId,ap);
  996. }
  997.  
  998. /* the varargs invocation form */
  999. boolean   somClassDispatch(SOMClass* clsObj, 
  1000.         somToken* retValue, 
  1001.         somId methodId, 
  1002.         ...)
  1003. {
  1004. /*
  1005.  *  Like somDispatch, but method resolution for static methods is done
  1006.  *  according to the clsObj instance method table.
  1007.  */
  1008.    va_list ap;
  1009.    va_start(ap, methodId);
  1010.    boolean __somResult = 
  1011.       SOM_ResolveD(this,SOMTAttributeEntryC,SOMObject,somClassDispatch)
  1012.     (this,clsObj,retValue,methodId,ap);
  1013.    va_end(ap);
  1014.    return __somResult;
  1015. }
  1016.  
  1017.  
  1018. /* method: somCastObj */
  1019. boolean   somCastObj(SOMClass* cls)
  1020. {
  1021. /*
  1022.  *  cast the receiving object to cls (which must be an ancestor of the
  1023.  *  objects true class. Returns true on success.
  1024.  */
  1025.    return SOM_ResolveD(this,SOMTAttributeEntryC,SOMObject,somCastObj)
  1026.     (this,cls);
  1027. }
  1028.  
  1029.  
  1030. /* method: somResetObj */
  1031. boolean   somResetObj()
  1032. {
  1033. /*
  1034.  *  reset an object to its true class. Returns true always.
  1035.  */
  1036.    return SOM_ResolveD(this,SOMTAttributeEntryC,SOMObject,somResetObj)
  1037.     (this);
  1038. }
  1039.  
  1040.  
  1041. /* va_list method: somDispatchV */
  1042.  
  1043. /*
  1044.  *  Obsolete. Use somDispatch instead.
  1045.  */
  1046. /* the va_list invocation form */
  1047. void   SOMTAttributeEntryC_somDispatchV(somId methodId, 
  1048.         somId descriptor, 
  1049.         va_list ap)
  1050. {   SOM_ResolveD(this,SOMTAttributeEntryC,SOMObject,somDispatchV)
  1051.     (this,methodId,descriptor,ap);
  1052. }
  1053.  
  1054. /* the varargs invocation form */
  1055. void   somDispatchV(somId methodId, 
  1056.         somId descriptor, 
  1057.         ...)
  1058. {
  1059. /*
  1060.  *  Obsolete. Use somDispatch instead.
  1061.  */
  1062.    va_list ap;
  1063.    va_start(ap, descriptor);
  1064.    SOM_ResolveD(this,SOMTAttributeEntryC,SOMObject,somDispatchV)
  1065.     (this,methodId,descriptor,ap);
  1066.    va_end(ap);
  1067. }
  1068.  
  1069.  
  1070. /* va_list method: somDispatchL */
  1071.  
  1072. /*
  1073.  *  Obsolete. Use somDispatch instead.
  1074.  */
  1075. /* the va_list invocation form */
  1076. long   SOMTAttributeEntryC_somDispatchL(somId methodId, 
  1077.         somId descriptor, 
  1078.         va_list ap)
  1079. {return SOM_ResolveD(this,SOMTAttributeEntryC,SOMObject,somDispatchL)
  1080.     (this,methodId,descriptor,ap);
  1081. }
  1082.  
  1083. /* the varargs invocation form */
  1084. long   somDispatchL(somId methodId, 
  1085.         somId descriptor, 
  1086.         ...)
  1087. {
  1088. /*
  1089.  *  Obsolete. Use somDispatch instead.
  1090.  */
  1091.    va_list ap;
  1092.    va_start(ap, descriptor);
  1093.    long __somResult = 
  1094.       SOM_ResolveD(this,SOMTAttributeEntryC,SOMObject,somDispatchL)
  1095.     (this,methodId,descriptor,ap);
  1096.    va_end(ap);
  1097.    return __somResult;
  1098. }
  1099.  
  1100.  
  1101. /* va_list method: somDispatchA */
  1102.  
  1103. /*
  1104.  *  Obsolete. Use somDispatch instead.
  1105.  */
  1106. /* the va_list invocation form */
  1107. void*   SOMTAttributeEntryC_somDispatchA(somId methodId, 
  1108.         somId descriptor, 
  1109.         va_list ap)
  1110. {return SOM_ResolveD(this,SOMTAttributeEntryC,SOMObject,somDispatchA)
  1111.     (this,methodId,descriptor,ap);
  1112. }
  1113.  
  1114. /* the varargs invocation form */
  1115. void*   somDispatchA(somId methodId, 
  1116.         somId descriptor, 
  1117.         ...)
  1118. {
  1119. /*
  1120.  *  Obsolete. Use somDispatch instead.
  1121.  */
  1122.    va_list ap;
  1123.    va_start(ap, descriptor);
  1124.    void* __somResult = 
  1125.       SOM_ResolveD(this,SOMTAttributeEntryC,SOMObject,somDispatchA)
  1126.     (this,methodId,descriptor,ap);
  1127.    va_end(ap);
  1128.    return __somResult;
  1129. }
  1130.  
  1131.  
  1132. /* va_list method: somDispatchD */
  1133.  
  1134. /*
  1135.  *  Obsolete. Use somDispatch instead.
  1136.  */
  1137. /* the va_list invocation form */
  1138. double   SOMTAttributeEntryC_somDispatchD(somId methodId, 
  1139.         somId descriptor, 
  1140.         va_list ap)
  1141. {return SOM_ResolveD(this,SOMTAttributeEntryC,SOMObject,somDispatchD)
  1142.     (this,methodId,descriptor,ap);
  1143. }
  1144.  
  1145. /* the varargs invocation form */
  1146. double   somDispatchD(somId methodId, 
  1147.         somId descriptor, 
  1148.         ...)
  1149. {
  1150. /*
  1151.  *  Obsolete. Use somDispatch instead.
  1152.  */
  1153.    va_list ap;
  1154.    va_start(ap, descriptor);
  1155.    double __somResult = 
  1156.       SOM_ResolveD(this,SOMTAttributeEntryC,SOMObject,somDispatchD)
  1157.     (this,methodId,descriptor,ap);
  1158.    va_end(ap);
  1159.    return __somResult;
  1160. }
  1161.  
  1162.  
  1163.  
  1164. };   /* SOMTAttributeEntryC */
  1165.  
  1166.  
  1167.  
  1168. #endif       /* SOM_SOMTAttributeEntryC_xh */
  1169.