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

  1.  
  2. /*
  3.  * This file was generated by the SOM Compiler.
  4.  * FileName: h:\somnt\include\scattrib.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_SOMTAttributeEntryC_xh
  28. #define SOM_SOMTAttributeEntryC_xh
  29.  
  30. class SOMTAttributeEntryC;
  31.  
  32. #define SOMTAttributeEntryC_MajorVersion 2
  33. #define SOMTAttributeEntryC_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 SOMTAttributeEntryC_API
  45. #define SOMTAttributeEntryC_API
  46. /*
  47.  * -- The Class API
  48.  */
  49.  
  50. /*
  51.  * Start of user-defined types:
  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 user-defined types.
  79.  */
  80.  
  81. /* A procedure to create the SOMTAttributeEntryC Class */
  82. SOMEXTERN
  83. #if (defined(SOM_Module_scattrib_Source) || defined(SOMTAttributeEntryC_Class_Source) || defined (SOM_DONT_IMPORT_CLASS_SOMTAttributeEntryC))
  84. WIN32_DLLEXPORT
  85. #else
  86. WIN32_DLLIMPORT
  87. #endif
  88. SOMClass * SOMLINK SOMTAttributeEntryCNewClass(
  89.         integer4,
  90.         integer4 );
  91.  
  92. /* The API to the SOMTAttributeEntryC class object, and the methods it introduces. */
  93. SOMEXTERN struct SOMTAttributeEntryCClassDataStructure {
  94.     SOMClass *classObject;
  95.     somMToken _get_somtIsReadonly;
  96.     somMToken _get_somtAttribType;
  97.     somMToken somtGetFirstAttributeDeclarator;
  98.     somMToken somtGetNextAttributeDeclarator;
  99.     somMToken somtGetFirstGetMethod;
  100.     somMToken somtGetNextGetMethod;
  101.     somMToken somtGetFirstSetMethod;
  102.     somMToken somtGetNextSetMethod;
  103. }
  104. #if !(defined(SOM_Module_scattrib_Source) || defined(SOMTAttributeEntryC_Class_Source) || defined (SOM_DONT_IMPORT_CLASS_SOMTAttributeEntryC))
  105. WIN32_DLLIMPORT
  106. #elif defined(_MSC_VER)||defined(_WIN32_DECL_PROTO)
  107. WIN32_DLLEXPORT
  108. #endif
  109. SOMDLINK SOMTAttributeEntryCClassData;
  110. #define _SOMTAttributeEntryC SOMTAttributeEntryCClassData.classObject
  111.  
  112. /* The API to parentMtabs for SOMTAttributeEntryC, and the instance data it introduces. */
  113. SOMEXTERN struct SOMTAttributeEntryCCClassDataStructure {
  114.     somMethodTabs parentMtab;
  115.     somDToken              instanceDataToken;
  116. }
  117. #if !(defined(SOM_Module_scattrib_Source) || defined(SOMTAttributeEntryC_Class_Source) || defined (SOM_DONT_IMPORT_CLASS_SOMTAttributeEntryC))
  118. WIN32_DLLIMPORT
  119. #elif defined(_MSC_VER)||defined(_WIN32_DECL_PROTO)
  120. WIN32_DLLEXPORT
  121. #endif
  122. SOMDLINK SOMTAttributeEntryCCClassData;
  123.  
  124. /*
  125.  * -- Typedefs for SOMTAttributeEntryC Method Procedures
  126.  */
  127. extern "C" {
  128. typedef boolean   SOMLINK somTP_SOMTAttributeEntryC__get_somtIsReadonly(SOMTAttributeEntryC *somSelf);
  129. typedef somTP_SOMTAttributeEntryC__get_somtIsReadonly *somTD_SOMTAttributeEntryC__get_somtIsReadonly;
  130. typedef SOMTEntryC*   SOMLINK somTP_SOMTAttributeEntryC__get_somtAttribType(SOMTAttributeEntryC *somSelf);
  131. typedef somTP_SOMTAttributeEntryC__get_somtAttribType *somTD_SOMTAttributeEntryC__get_somtAttribType;
  132. typedef SOMTDataEntryC*   SOMLINK somTP_SOMTAttributeEntryC_somtGetFirstAttributeDeclarator(SOMTAttributeEntryC *somSelf);
  133. typedef somTP_SOMTAttributeEntryC_somtGetFirstAttributeDeclarator *somTD_SOMTAttributeEntryC_somtGetFirstAttributeDeclarator;
  134. typedef SOMTDataEntryC*   SOMLINK somTP_SOMTAttributeEntryC_somtGetNextAttributeDeclarator(SOMTAttributeEntryC *somSelf);
  135. typedef somTP_SOMTAttributeEntryC_somtGetNextAttributeDeclarator *somTD_SOMTAttributeEntryC_somtGetNextAttributeDeclarator;
  136. typedef SOMTMethodEntryC*   SOMLINK somTP_SOMTAttributeEntryC_somtGetFirstGetMethod(SOMTAttributeEntryC *somSelf);
  137. typedef somTP_SOMTAttributeEntryC_somtGetFirstGetMethod *somTD_SOMTAttributeEntryC_somtGetFirstGetMethod;
  138. typedef SOMTMethodEntryC*   SOMLINK somTP_SOMTAttributeEntryC_somtGetNextGetMethod(SOMTAttributeEntryC *somSelf);
  139. typedef somTP_SOMTAttributeEntryC_somtGetNextGetMethod *somTD_SOMTAttributeEntryC_somtGetNextGetMethod;
  140. typedef SOMTMethodEntryC*   SOMLINK somTP_SOMTAttributeEntryC_somtGetFirstSetMethod(SOMTAttributeEntryC *somSelf);
  141. typedef somTP_SOMTAttributeEntryC_somtGetFirstSetMethod *somTD_SOMTAttributeEntryC_somtGetFirstSetMethod;
  142. typedef SOMTMethodEntryC*   SOMLINK somTP_SOMTAttributeEntryC_somtGetNextSetMethod(SOMTAttributeEntryC *somSelf);
  143. typedef somTP_SOMTAttributeEntryC_somtGetNextSetMethod *somTD_SOMTAttributeEntryC_somtGetNextSetMethod;
  144.  
  145. /*
  146.  * -- Typedefs for Reintroduced Wrapper Methods
  147.  */
  148. typedef string   SOMLINK somTP_SOMTAttributeEntryC__get_somtEntryName(SOMTAttributeEntryC *somSelf);
  149. typedef somTP_SOMTAttributeEntryC__get_somtEntryName *somTD_SOMTAttributeEntryC__get_somtEntryName;
  150. typedef void   SOMLINK somTP_SOMTAttributeEntryC__set_somtEntryName(SOMTAttributeEntryC *somSelf,
  151.         string somtEntryName);
  152. typedef somTP_SOMTAttributeEntryC__set_somtEntryName *somTD_SOMTAttributeEntryC__set_somtEntryName;
  153. typedef SOMTTypes   SOMLINK somTP_SOMTAttributeEntryC__get_somtElementType(SOMTAttributeEntryC *somSelf);
  154. typedef somTP_SOMTAttributeEntryC__get_somtElementType *somTD_SOMTAttributeEntryC__get_somtElementType;
  155. typedef void   SOMLINK somTP_SOMTAttributeEntryC__set_somtElementType(SOMTAttributeEntryC *somSelf,
  156.         SOMTTypes somtElementType);
  157. typedef somTP_SOMTAttributeEntryC__set_somtElementType *somTD_SOMTAttributeEntryC__set_somtElementType;
  158. typedef string   SOMLINK somTP_SOMTAttributeEntryC__get_somtElementTypeName(SOMTAttributeEntryC *somSelf);
  159. typedef somTP_SOMTAttributeEntryC__get_somtElementTypeName *somTD_SOMTAttributeEntryC__get_somtElementTypeName;
  160. typedef string   SOMLINK somTP_SOMTAttributeEntryC__get_somtEntryComment(SOMTAttributeEntryC *somSelf);
  161. typedef somTP_SOMTAttributeEntryC__get_somtEntryComment *somTD_SOMTAttributeEntryC__get_somtEntryComment;
  162. typedef unsigned long   SOMLINK somTP_SOMTAttributeEntryC__get_somtSourceLineNumber(SOMTAttributeEntryC *somSelf);
  163. typedef somTP_SOMTAttributeEntryC__get_somtSourceLineNumber *somTD_SOMTAttributeEntryC__get_somtSourceLineNumber;
  164. typedef TypeCode   SOMLINK somTP_SOMTAttributeEntryC__get_somtTypeCode(SOMTAttributeEntryC *somSelf);
  165. typedef somTP_SOMTAttributeEntryC__get_somtTypeCode *somTD_SOMTAttributeEntryC__get_somtTypeCode;
  166. typedef boolean   SOMLINK somTP_SOMTAttributeEntryC__get_somtIsReference(SOMTAttributeEntryC *somSelf);
  167. typedef somTP_SOMTAttributeEntryC__get_somtIsReference *somTD_SOMTAttributeEntryC__get_somtIsReference;
  168. typedef string   SOMLINK somTP_SOMTAttributeEntryC__get_somtIDLScopedName(SOMTAttributeEntryC *somSelf);
  169. typedef somTP_SOMTAttributeEntryC__get_somtIDLScopedName *somTD_SOMTAttributeEntryC__get_somtIDLScopedName;
  170. typedef string   SOMLINK somTP_SOMTAttributeEntryC__get_somtCScopedName(SOMTAttributeEntryC *somSelf);
  171. typedef somTP_SOMTAttributeEntryC__get_somtCScopedName *somTD_SOMTAttributeEntryC__get_somtCScopedName;
  172. typedef string   SOMLINK somTP_SOMTAttributeEntryC_somtGetModifierValue(SOMTAttributeEntryC *somSelf,
  173.         string modifierName);
  174. typedef somTP_SOMTAttributeEntryC_somtGetModifierValue *somTD_SOMTAttributeEntryC_somtGetModifierValue;
  175. typedef boolean   SOMLINK somTP_SOMTAttributeEntryC_somtGetFirstModifier(SOMTAttributeEntryC *somSelf,
  176.         string* modifierName,
  177.         string* modifierValue);
  178. typedef somTP_SOMTAttributeEntryC_somtGetFirstModifier *somTD_SOMTAttributeEntryC_somtGetFirstModifier;
  179. typedef boolean   SOMLINK somTP_SOMTAttributeEntryC_somtGetNextModifier(SOMTAttributeEntryC *somSelf,
  180.         string* modifierName,
  181.         string* modifierValue);
  182. typedef somTP_SOMTAttributeEntryC_somtGetNextModifier *somTD_SOMTAttributeEntryC_somtGetNextModifier;
  183. typedef long   SOMLINK somTP_SOMTAttributeEntryC_somtFormatModifier(SOMTAttributeEntryC *somSelf,
  184.         string buffer,
  185.         string name,
  186.         string value);
  187. typedef somTP_SOMTAttributeEntryC_somtFormatModifier *somTD_SOMTAttributeEntryC_somtFormatModifier;
  188. typedef long   SOMLINK somTP_SOMTAttributeEntryC_somtGetModifierList(SOMTAttributeEntryC *somSelf,
  189.         string buffer);
  190. typedef somTP_SOMTAttributeEntryC_somtGetModifierList *somTD_SOMTAttributeEntryC_somtGetModifierList;
  191. typedef long   SOMLINK somTP_SOMTAttributeEntryC_somtSetSymbolsOnEntry(SOMTAttributeEntryC *somSelf,
  192.         SOMTEmitC* emitter,
  193.         string prefix);
  194. typedef somTP_SOMTAttributeEntryC_somtSetSymbolsOnEntry *somTD_SOMTAttributeEntryC_somtSetSymbolsOnEntry;
  195. typedef void   SOMLINK somTP_SOMTAttributeEntryC_somtSetEntryStruct(SOMTAttributeEntryC *somSelf,
  196.         Entry* es);
  197. typedef somTP_SOMTAttributeEntryC_somtSetEntryStruct *somTD_SOMTAttributeEntryC_somtSetEntryStruct;
  198. typedef void   SOMLINK somTP_SOMTAttributeEntryC_somInit(SOMTAttributeEntryC *somSelf);
  199. typedef somTP_SOMTAttributeEntryC_somInit *somTD_SOMTAttributeEntryC_somInit;
  200. typedef void   SOMLINK somTP_SOMTAttributeEntryC_somUninit(SOMTAttributeEntryC *somSelf);
  201. typedef somTP_SOMTAttributeEntryC_somUninit *somTD_SOMTAttributeEntryC_somUninit;
  202. typedef SOMObject*   SOMLINK somTP_SOMTAttributeEntryC_somPrintSelf(SOMTAttributeEntryC *somSelf);
  203. typedef somTP_SOMTAttributeEntryC_somPrintSelf *somTD_SOMTAttributeEntryC_somPrintSelf;
  204. typedef void   SOMLINK somTP_SOMTAttributeEntryC_somDumpSelfInt(SOMTAttributeEntryC *somSelf,
  205.         long level);
  206. typedef somTP_SOMTAttributeEntryC_somDumpSelfInt *somTD_SOMTAttributeEntryC_somDumpSelfInt;
  207. typedef void   SOMLINK somTP_SOMTAttributeEntryC_somDumpSelf(SOMTAttributeEntryC *somSelf,
  208.         long level);
  209. typedef somTP_SOMTAttributeEntryC_somDumpSelf *somTD_SOMTAttributeEntryC_somDumpSelf;
  210. typedef void   SOMLINK somTP_SOMTAttributeEntryC_somDefaultInit(SOMTAttributeEntryC *somSelf,
  211.         somInitCtrl* ctrl);
  212. typedef somTP_SOMTAttributeEntryC_somDefaultInit *somTD_SOMTAttributeEntryC_somDefaultInit;
  213. typedef void   SOMLINK somTP_SOMTAttributeEntryC_somDestruct(SOMTAttributeEntryC *somSelf,
  214.         octet doFree,
  215.         somDestructCtrl* ctrl);
  216. typedef somTP_SOMTAttributeEntryC_somDestruct *somTD_SOMTAttributeEntryC_somDestruct;
  217. typedef void   SOMLINK somTP_SOMTAttributeEntryC_somDefaultCopyInit(SOMTAttributeEntryC *somSelf,
  218.         somInitCtrl* ctrl,
  219.         SOMObject* fromObj);
  220. typedef somTP_SOMTAttributeEntryC_somDefaultCopyInit *somTD_SOMTAttributeEntryC_somDefaultCopyInit;
  221. typedef SOMTAttributeEntryC*   SOMLINK somTP_SOMTAttributeEntryC_somDefaultAssign(SOMTAttributeEntryC *somSelf,
  222.         somAssignCtrl* ctrl,
  223.         SOMObject* fromObj);
  224. typedef somTP_SOMTAttributeEntryC_somDefaultAssign *somTD_SOMTAttributeEntryC_somDefaultAssign;
  225. typedef void   SOMLINK somTP_SOMTAttributeEntryC_somDefaultConstCopyInit(SOMTAttributeEntryC *somSelf,
  226.         somInitCtrl* ctrl,
  227.         SOMObject* fromObj);
  228. typedef somTP_SOMTAttributeEntryC_somDefaultConstCopyInit *somTD_SOMTAttributeEntryC_somDefaultConstCopyInit;
  229. typedef void   SOMLINK somTP_SOMTAttributeEntryC_somDefaultVCopyInit(SOMTAttributeEntryC *somSelf,
  230.         somInitCtrl* ctrl,
  231.         SOMObject* fromObj);
  232. typedef somTP_SOMTAttributeEntryC_somDefaultVCopyInit *somTD_SOMTAttributeEntryC_somDefaultVCopyInit;
  233. typedef void   SOMLINK somTP_SOMTAttributeEntryC_somDefaultConstVCopyInit(SOMTAttributeEntryC *somSelf,
  234.         somInitCtrl* ctrl,
  235.         SOMObject* fromObj);
  236. typedef somTP_SOMTAttributeEntryC_somDefaultConstVCopyInit *somTD_SOMTAttributeEntryC_somDefaultConstVCopyInit;
  237. typedef SOMTAttributeEntryC*   SOMLINK somTP_SOMTAttributeEntryC_somDefaultConstAssign(SOMTAttributeEntryC *somSelf,
  238.         somAssignCtrl* ctrl,
  239.         SOMObject* fromObj);
  240. typedef somTP_SOMTAttributeEntryC_somDefaultConstAssign *somTD_SOMTAttributeEntryC_somDefaultConstAssign;
  241. typedef SOMTAttributeEntryC*   SOMLINK somTP_SOMTAttributeEntryC_somDefaultVAssign(SOMTAttributeEntryC *somSelf,
  242.         somAssignCtrl* ctrl,
  243.         SOMObject* fromObj);
  244. typedef somTP_SOMTAttributeEntryC_somDefaultVAssign *somTD_SOMTAttributeEntryC_somDefaultVAssign;
  245. typedef SOMTAttributeEntryC*   SOMLINK somTP_SOMTAttributeEntryC_somDefaultConstVAssign(SOMTAttributeEntryC *somSelf,
  246.         somAssignCtrl* ctrl,
  247.         SOMObject* fromObj);
  248. typedef somTP_SOMTAttributeEntryC_somDefaultConstVAssign *somTD_SOMTAttributeEntryC_somDefaultConstVAssign;
  249. typedef void   SOMLINK somTP_SOMTAttributeEntryC_somFree(SOMTAttributeEntryC *somSelf);
  250. typedef somTP_SOMTAttributeEntryC_somFree *somTD_SOMTAttributeEntryC_somFree;
  251. typedef SOMClass*   SOMLINK somTP_SOMTAttributeEntryC_somGetClass(SOMTAttributeEntryC *somSelf);
  252. typedef somTP_SOMTAttributeEntryC_somGetClass *somTD_SOMTAttributeEntryC_somGetClass;
  253. typedef string   SOMLINK somTP_SOMTAttributeEntryC_somGetClassName(SOMTAttributeEntryC *somSelf);
  254. typedef somTP_SOMTAttributeEntryC_somGetClassName *somTD_SOMTAttributeEntryC_somGetClassName;
  255. typedef long   SOMLINK somTP_SOMTAttributeEntryC_somGetSize(SOMTAttributeEntryC *somSelf);
  256. typedef somTP_SOMTAttributeEntryC_somGetSize *somTD_SOMTAttributeEntryC_somGetSize;
  257. typedef boolean   SOMLINK somTP_SOMTAttributeEntryC_somIsA(SOMTAttributeEntryC *somSelf,
  258.         SOMClass* aClassObj);
  259. typedef somTP_SOMTAttributeEntryC_somIsA *somTD_SOMTAttributeEntryC_somIsA;
  260. typedef boolean   SOMLINK somTP_SOMTAttributeEntryC_somIsInstanceOf(SOMTAttributeEntryC *somSelf,
  261.         SOMClass* aClassObj);
  262. typedef somTP_SOMTAttributeEntryC_somIsInstanceOf *somTD_SOMTAttributeEntryC_somIsInstanceOf;
  263. typedef boolean   SOMLINK somTP_SOMTAttributeEntryC_somRespondsTo(SOMTAttributeEntryC *somSelf,
  264.         somId mId);
  265. typedef somTP_SOMTAttributeEntryC_somRespondsTo *somTD_SOMTAttributeEntryC_somRespondsTo;
  266. typedef boolean   SOMLINK somTP_SOMTAttributeEntryC_somDispatch(SOMTAttributeEntryC *somSelf,
  267.         somToken* retValue,
  268.         somId methodId,
  269.         va_list ap);
  270. typedef somTP_SOMTAttributeEntryC_somDispatch *somTD_SOMTAttributeEntryC_somDispatch;
  271. typedef boolean   SOMLINK somTP_SOMTAttributeEntryC_somClassDispatch(SOMTAttributeEntryC *somSelf,
  272.         SOMClass* clsObj,
  273.         somToken* retValue,
  274.         somId methodId,
  275.         va_list ap);
  276. typedef somTP_SOMTAttributeEntryC_somClassDispatch *somTD_SOMTAttributeEntryC_somClassDispatch;
  277. typedef boolean   SOMLINK somTP_SOMTAttributeEntryC_somCastObj(SOMTAttributeEntryC *somSelf,
  278.         SOMClass* cls);
  279. typedef somTP_SOMTAttributeEntryC_somCastObj *somTD_SOMTAttributeEntryC_somCastObj;
  280. typedef boolean   SOMLINK somTP_SOMTAttributeEntryC_somResetObj(SOMTAttributeEntryC *somSelf);
  281. typedef somTP_SOMTAttributeEntryC_somResetObj *somTD_SOMTAttributeEntryC_somResetObj;
  282. }
  283.  
  284. #endif /* SOMTAttributeEntryC_API */
  285.  
  286.  
  287. /*
  288.  * -- This emitter believes that method thunks are unavailable,
  289.  * -- so somResolve will be called.
  290.  */
  291. #undef somresolve_
  292. #define somresolve_(obj,mToken) (somResolve(obj,mToken))
  293.  
  294. /*
  295.  * -- The C++ Wrapper Class for SOMTAttributeEntryC
  296.  */
  297. class SOMTAttributeEntryC : public SOMTEntryC
  298. {
  299. public:
  300.  
  301. // SOMTAttributeEntryC::new creates the class object if necessary, and then uses somNewNoInit
  302. // to allocate memory and create the object. Initialization is in ctors.
  303. void *operator new(size_t)
  304. {
  305.    if (!_SOMTAttributeEntryC) SOMTAttributeEntryCNewClass(SOMTAttributeEntryC_MajorVersion,SOMTAttributeEntryC_MinorVersion);
  306.    return (void*)
  307.       SOM_Resolve(_SOMTAttributeEntryC,SOMClass,somNewNoInit)
  308.          ((SOMClass *)((void*)_SOMTAttributeEntryC));
  309. }
  310.  
  311. // SOMTAttributeEntryC::delete uses somDestruct.
  312. void operator delete(void * obj)
  313. {
  314.    if (obj && *(void**)obj) {
  315.       SOM_Resolve(obj,SOMObject,somDestruct)
  316.          ((SOMObject*)obj, 1, 0);
  317.    }
  318. }
  319.  
  320. SOMTAttributeEntryC()
  321. {
  322.    if (*(void**)this != 
  323.        ((somParentMtabStructPtr)
  324.         (SOMTAttributeEntryCCClassData.parentMtab))->mtab)
  325.       return;
  326.    ((SOMObject*)((void*)this))->somDefaultInit(0);
  327. }
  328.  
  329. SOMTAttributeEntryC(SOMTAttributeEntryC* fromObj)
  330. {
  331.    if (*(void**)this != 
  332.        ((somParentMtabStructPtr)
  333.         (SOMTAttributeEntryCCClassData.parentMtab))->mtab)
  334.       return;
  335.    ((SOMObject*)((void*)this))->somDefaultCopyInit(0,((SOMObject*)((void*)fromObj)));
  336. }
  337.  
  338. SOMTAttributeEntryC(const SOMTAttributeEntryC* fromObj)
  339. {
  340.    if (*(void**)this != 
  341.        ((somParentMtabStructPtr)
  342.         (SOMTAttributeEntryCCClassData.parentMtab))->mtab)
  343.       return;
  344.    ((SOMObject*)((void*)this))->somDefaultConstCopyInit(0,((SOMObject*)((void*)fromObj)));
  345. }
  346.  
  347.  
  348. /* method: _get_somtIsReadonly */
  349. boolean   _get_somtIsReadonly()
  350. {
  351.    return SOM_ResolveD(this,SOMTAttributeEntryC,SOMTAttributeEntryC,_get_somtIsReadonly)
  352.     (this);
  353. }
  354.  
  355.  
  356. /* method: _get_somtAttribType */
  357. SOMTEntryC*   _get_somtAttribType()
  358. {
  359.    return SOM_ResolveD(this,SOMTAttributeEntryC,SOMTAttributeEntryC,_get_somtAttribType)
  360.     (this);
  361. }
  362.  
  363.  
  364. /* method: somtGetFirstAttributeDeclarator */
  365. SOMTDataEntryC*   somtGetFirstAttributeDeclarator()
  366. {
  367.    return SOM_ResolveD(this,SOMTAttributeEntryC,SOMTAttributeEntryC,somtGetFirstAttributeDeclarator)
  368.     (this);
  369. }
  370.  
  371.  
  372. /* method: somtGetNextAttributeDeclarator */
  373. SOMTDataEntryC*   somtGetNextAttributeDeclarator()
  374. {
  375.    return SOM_ResolveD(this,SOMTAttributeEntryC,SOMTAttributeEntryC,somtGetNextAttributeDeclarator)
  376.     (this);
  377. }
  378.  
  379.  
  380. /* method: somtGetFirstGetMethod */
  381. SOMTMethodEntryC*   somtGetFirstGetMethod()
  382. {
  383.    return SOM_ResolveD(this,SOMTAttributeEntryC,SOMTAttributeEntryC,somtGetFirstGetMethod)
  384.     (this);
  385. }
  386.  
  387.  
  388. /* method: somtGetNextGetMethod */
  389. SOMTMethodEntryC*   somtGetNextGetMethod()
  390. {
  391.    return SOM_ResolveD(this,SOMTAttributeEntryC,SOMTAttributeEntryC,somtGetNextGetMethod)
  392.     (this);
  393. }
  394.  
  395.  
  396. /* method: somtGetFirstSetMethod */
  397. SOMTMethodEntryC*   somtGetFirstSetMethod()
  398. {
  399.    return SOM_ResolveD(this,SOMTAttributeEntryC,SOMTAttributeEntryC,somtGetFirstSetMethod)
  400.     (this);
  401. }
  402.  
  403.  
  404. /* method: somtGetNextSetMethod */
  405. SOMTMethodEntryC*   somtGetNextSetMethod()
  406. {
  407.    return SOM_ResolveD(this,SOMTAttributeEntryC,SOMTAttributeEntryC,somtGetNextSetMethod)
  408.     (this);
  409. }
  410.  
  411.  
  412. /*
  413.  * Reintroduce inherited methods
  414.  */
  415.  
  416. /* method: _get_somtEntryName */
  417. string   _get_somtEntryName()
  418. {
  419.    return SOM_ResolveD(this,SOMTAttributeEntryC,SOMTEntryC,_get_somtEntryName)
  420.     (this);
  421. }
  422.  
  423.  
  424. /* method: _set_somtEntryName */
  425. void   _set_somtEntryName(string somtEntryName)
  426. {
  427.    SOM_ResolveD(this,SOMTAttributeEntryC,SOMTEntryC,_set_somtEntryName)
  428.     (this,somtEntryName);
  429. }
  430.  
  431.  
  432. /* method: _get_somtElementType */
  433. SOMTTypes   _get_somtElementType()
  434. {
  435.    return SOM_ResolveD(this,SOMTAttributeEntryC,SOMTEntryC,_get_somtElementType)
  436.     (this);
  437. }
  438.  
  439.  
  440. /* method: _set_somtElementType */
  441. void   _set_somtElementType(SOMTTypes somtElementType)
  442. {
  443.    SOM_ResolveD(this,SOMTAttributeEntryC,SOMTEntryC,_set_somtElementType)
  444.     (this,somtElementType);
  445. }
  446.  
  447.  
  448. /* method: _get_somtElementTypeName */
  449. string   _get_somtElementTypeName()
  450. {
  451.    return SOM_ResolveD(this,SOMTAttributeEntryC,SOMTEntryC,_get_somtElementTypeName)
  452.     (this);
  453. }
  454.  
  455.  
  456. /* method: _get_somtEntryComment */
  457. string   _get_somtEntryComment()
  458. {
  459.    return SOM_ResolveD(this,SOMTAttributeEntryC,SOMTEntryC,_get_somtEntryComment)
  460.     (this);
  461. }
  462.  
  463.  
  464. /* method: _get_somtSourceLineNumber */
  465. unsigned long   _get_somtSourceLineNumber()
  466. {
  467.    return SOM_ResolveD(this,SOMTAttributeEntryC,SOMTEntryC,_get_somtSourceLineNumber)
  468.     (this);
  469. }
  470.  
  471.  
  472. /* method: _get_somtTypeCode */
  473. TypeCode   _get_somtTypeCode()
  474. {
  475.    return SOM_ResolveD(this,SOMTAttributeEntryC,SOMTEntryC,_get_somtTypeCode)
  476.     (this);
  477. }
  478.  
  479.  
  480. /* method: _get_somtIsReference */
  481. boolean   _get_somtIsReference()
  482. {
  483.    return SOM_ResolveD(this,SOMTAttributeEntryC,SOMTEntryC,_get_somtIsReference)
  484.     (this);
  485. }
  486.  
  487.  
  488. /* method: _get_somtIDLScopedName */
  489. string   _get_somtIDLScopedName()
  490. {
  491.    return SOM_ResolveD(this,SOMTAttributeEntryC,SOMTEntryC,_get_somtIDLScopedName)
  492.     (this);
  493. }
  494.  
  495.  
  496. /* method: _get_somtCScopedName */
  497. string   _get_somtCScopedName()
  498. {
  499.    return SOM_ResolveD(this,SOMTAttributeEntryC,SOMTEntryC,_get_somtCScopedName)
  500.     (this);
  501. }
  502.  
  503.  
  504. /* method: somtGetModifierValue */
  505. string   somtGetModifierValue(string modifierName)
  506. {
  507.    return SOM_ResolveD(this,SOMTAttributeEntryC,SOMTEntryC,somtGetModifierValue)
  508.     (this,modifierName);
  509. }
  510.  
  511.  
  512. /* method: somtGetFirstModifier */
  513. boolean   somtGetFirstModifier(string* modifierName,
  514.         string* modifierValue)
  515. {
  516.    return SOM_ResolveD(this,SOMTAttributeEntryC,SOMTEntryC,somtGetFirstModifier)
  517.     (this,modifierName,modifierValue);
  518. }
  519.  
  520.  
  521. /* method: somtGetNextModifier */
  522. boolean   somtGetNextModifier(string* modifierName,
  523.         string* modifierValue)
  524. {
  525.    return SOM_ResolveD(this,SOMTAttributeEntryC,SOMTEntryC,somtGetNextModifier)
  526.     (this,modifierName,modifierValue);
  527. }
  528.  
  529.  
  530. /* method: somtFormatModifier */
  531. long   somtFormatModifier(string buffer,
  532.         string name,
  533.         string value)
  534. {
  535.    return SOM_ResolveD(this,SOMTAttributeEntryC,SOMTEntryC,somtFormatModifier)
  536.     (this,buffer,name,value);
  537. }
  538.  
  539.  
  540. /* method: somtGetModifierList */
  541. long   somtGetModifierList(string buffer)
  542. {
  543.    return SOM_ResolveD(this,SOMTAttributeEntryC,SOMTEntryC,somtGetModifierList)
  544.     (this,buffer);
  545. }
  546.  
  547.  
  548. /* method: somtSetSymbolsOnEntry */
  549. long   somtSetSymbolsOnEntry(SOMTEmitC* emitter,
  550.         string prefix)
  551. {
  552.    return SOM_ResolveD(this,SOMTAttributeEntryC,SOMTEntryC,somtSetSymbolsOnEntry)
  553.     (this,emitter,prefix);
  554. }
  555.  
  556.  
  557. /* method: somtSetEntryStruct */
  558. void   somtSetEntryStruct(Entry* es)
  559. {
  560.    SOM_ResolveD(this,SOMTAttributeEntryC,SOMTEntryC,somtSetEntryStruct)
  561.     (this,es);
  562. }
  563.  
  564.  
  565. /* method: somInit */
  566. void   somInit()
  567. {
  568.    SOM_ResolveD(this,SOMTAttributeEntryC,SOMObject,somInit)
  569.     (this);
  570. }
  571.  
  572.  
  573. /* method: somUninit */
  574. void   somUninit()
  575. {
  576.    SOM_ResolveD(this,SOMTAttributeEntryC,SOMObject,somUninit)
  577.     (this);
  578. }
  579.  
  580.  
  581. /* method: somPrintSelf */
  582. SOMObject*   somPrintSelf()
  583. {
  584.    return SOM_ResolveD(this,SOMTAttributeEntryC,SOMObject,somPrintSelf)
  585.     (this);
  586. }
  587.  
  588.  
  589. /* method: somDumpSelfInt */
  590. void   somDumpSelfInt(long level)
  591. {
  592.    SOM_ResolveD(this,SOMTAttributeEntryC,SOMObject,somDumpSelfInt)
  593.     (this,level);
  594. }
  595.  
  596.  
  597. /* method: somDumpSelf */
  598. void   somDumpSelf(long level)
  599. {
  600.    SOM_ResolveD(this,SOMTAttributeEntryC,SOMObject,somDumpSelf)
  601.     (this,level);
  602. }
  603.  
  604.  
  605. /* initializer method: somDefaultInit */
  606. void   somDefaultInit(somInitCtrl* ctrl)
  607. {
  608.    SOM_ResolveD(this,SOMTAttributeEntryC,SOMObject,somDefaultInit)
  609.     (this,ctrl);
  610. }
  611.  
  612.  
  613. /* method: somDestruct */
  614. void   somDestruct(octet doFree,
  615.         somDestructCtrl* ctrl)
  616. {
  617.    SOM_ResolveD(this,SOMTAttributeEntryC,SOMObject,somDestruct)
  618.     (this,doFree,ctrl);
  619. }
  620.  
  621.  
  622. /* initializer method: somDefaultCopyInit */
  623. void   somDefaultCopyInit(somInitCtrl* ctrl,
  624.         SOMObject* fromObj)
  625. {
  626.    SOM_ResolveD(this,SOMTAttributeEntryC,SOMObject,somDefaultCopyInit)
  627.     (this,ctrl,fromObj);
  628. }
  629.  
  630.  
  631. /* method: somDefaultAssign */
  632. SOMTAttributeEntryC*  somDefaultAssign(somAssignCtrl* ctrl,
  633.         SOMObject* fromObj)
  634. {
  635.    return SOM_ResolveD(this,SOMTAttributeEntryC,SOMObject,somDefaultAssign)
  636.     (this,ctrl,fromObj);
  637. }
  638.  
  639.  
  640. /* initializer method: somDefaultConstCopyInit */
  641. void   somDefaultConstCopyInit(somInitCtrl* ctrl,
  642.         SOMObject* fromObj)
  643. {
  644.    SOM_ResolveD(this,SOMTAttributeEntryC,SOMObject,somDefaultConstCopyInit)
  645.     (this,ctrl,fromObj);
  646. }
  647.  
  648.  
  649. /* initializer method: somDefaultVCopyInit */
  650. void   somDefaultVCopyInit(somInitCtrl* ctrl,
  651.         SOMObject* fromObj)
  652. {
  653.    SOM_ResolveD(this,SOMTAttributeEntryC,SOMObject,somDefaultVCopyInit)
  654.     (this,ctrl,fromObj);
  655. }
  656.  
  657.  
  658. /* initializer method: somDefaultConstVCopyInit */
  659. void   somDefaultConstVCopyInit(somInitCtrl* ctrl,
  660.         SOMObject* fromObj)
  661. {
  662.    SOM_ResolveD(this,SOMTAttributeEntryC,SOMObject,somDefaultConstVCopyInit)
  663.     (this,ctrl,fromObj);
  664. }
  665.  
  666.  
  667. /* method: somDefaultConstAssign */
  668. SOMTAttributeEntryC*  somDefaultConstAssign(somAssignCtrl* ctrl,
  669.         SOMObject* fromObj)
  670. {
  671.    return SOM_ResolveD(this,SOMTAttributeEntryC,SOMObject,somDefaultConstAssign)
  672.     (this,ctrl,fromObj);
  673. }
  674.  
  675.  
  676. /* method: somDefaultVAssign */
  677. SOMTAttributeEntryC*  somDefaultVAssign(somAssignCtrl* ctrl,
  678.         SOMObject* fromObj)
  679. {
  680.    return SOM_ResolveD(this,SOMTAttributeEntryC,SOMObject,somDefaultVAssign)
  681.     (this,ctrl,fromObj);
  682. }
  683.  
  684.  
  685. /* method: somDefaultConstVAssign */
  686. SOMTAttributeEntryC*  somDefaultConstVAssign(somAssignCtrl* ctrl,
  687.         SOMObject* fromObj)
  688. {
  689.    return SOM_ResolveD(this,SOMTAttributeEntryC,SOMObject,somDefaultConstVAssign)
  690.     (this,ctrl,fromObj);
  691. }
  692.  
  693.  
  694. /* method: somFree */
  695. void   somFree()
  696. {
  697.    SOM_ResolveD(this,SOMTAttributeEntryC,SOMObject,somFree)
  698.     (this);
  699. }
  700.  
  701.  
  702. /* method: somGetClass */
  703. SOMClass*   somGetClass()
  704. {
  705.    return SOM_ResolveD(this,SOMTAttributeEntryC,SOMObject,somGetClass)
  706.     (this);
  707. }
  708.  
  709.  
  710. /* method: somGetClassName */
  711. string   somGetClassName()
  712. {
  713.    return SOM_ResolveD(this,SOMTAttributeEntryC,SOMObject,somGetClassName)
  714.     (this);
  715. }
  716.  
  717.  
  718. /* method: somGetSize */
  719. long   somGetSize()
  720. {
  721.    return SOM_ResolveD(this,SOMTAttributeEntryC,SOMObject,somGetSize)
  722.     (this);
  723. }
  724.  
  725.  
  726. /* method: somIsA */
  727. boolean   somIsA(SOMClass* aClassObj)
  728. {
  729.    return SOM_ResolveD(this,SOMTAttributeEntryC,SOMObject,somIsA)
  730.     (this,aClassObj);
  731. }
  732.  
  733.  
  734. /* method: somIsInstanceOf */
  735. boolean   somIsInstanceOf(SOMClass* aClassObj)
  736. {
  737.    return SOM_ResolveD(this,SOMTAttributeEntryC,SOMObject,somIsInstanceOf)
  738.     (this,aClassObj);
  739. }
  740.  
  741.  
  742. /* method: somRespondsTo */
  743. boolean   somRespondsTo(somId mId)
  744. {
  745.    return SOM_ResolveD(this,SOMTAttributeEntryC,SOMObject,somRespondsTo)
  746.     (this,mId);
  747. }
  748.  
  749.  
  750. /* va_list method: somDispatch */
  751. /* the va_list invocation form */
  752. boolean   SOMTAttributeEntryC_somDispatch(somToken* retValue,
  753.         somId methodId,
  754.         va_list ap)
  755. {
  756. return SOM_ResolveD(this,SOMTAttributeEntryC,SOMObject,somDispatch)
  757.     (this,retValue,methodId,ap);
  758. }
  759.  
  760. /* the varargs invocation form */
  761. boolean   somDispatch(somToken* retValue,
  762.         somId methodId,
  763.         ...)
  764. {
  765.    va_list ap;
  766.    va_start(ap, methodId);
  767.    boolean __somResult = 
  768.       SOM_ResolveD(this,SOMTAttributeEntryC,SOMObject,somDispatch)
  769.     (this,retValue,methodId,ap);
  770.    va_end(ap);
  771.    return __somResult;
  772. }
  773.  
  774.  
  775. /* va_list method: somClassDispatch */
  776. /* the va_list invocation form */
  777. boolean   SOMTAttributeEntryC_somClassDispatch(SOMClass* clsObj,
  778.         somToken* retValue,
  779.         somId methodId,
  780.         va_list ap)
  781. {
  782. return SOM_ResolveD(this,SOMTAttributeEntryC,SOMObject,somClassDispatch)
  783.     (this,clsObj,retValue,methodId,ap);
  784. }
  785.  
  786. /* the varargs invocation form */
  787. boolean   somClassDispatch(SOMClass* clsObj,
  788.         somToken* retValue,
  789.         somId methodId,
  790.         ...)
  791. {
  792.    va_list ap;
  793.    va_start(ap, methodId);
  794.    boolean __somResult = 
  795.       SOM_ResolveD(this,SOMTAttributeEntryC,SOMObject,somClassDispatch)
  796.     (this,clsObj,retValue,methodId,ap);
  797.    va_end(ap);
  798.    return __somResult;
  799. }
  800.  
  801.  
  802. /* method: somCastObj */
  803. boolean   somCastObj(SOMClass* cls)
  804. {
  805.    return SOM_ResolveD(this,SOMTAttributeEntryC,SOMObject,somCastObj)
  806.     (this,cls);
  807. }
  808.  
  809.  
  810. /* method: somResetObj */
  811. boolean   somResetObj()
  812. {
  813.    return SOM_ResolveD(this,SOMTAttributeEntryC,SOMObject,somResetObj)
  814.     (this);
  815. }
  816.  
  817.  
  818.  
  819. };   /* SOMTAttributeEntryC */
  820.  
  821.  
  822.  
  823. #endif       /* SOM_SOMTAttributeEntryC_xh */
  824.