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

  1.  
  2. /*
  3.  * This file was generated by the SOM Compiler.
  4.  * FileName: h:\somnt\include\IMPLDEF.xh.
  5.  * Generated using:
  6.  *     SOM Precompiler somipc: Development
  7.  *     SOM Emitter emitxh.dll: Development
  8.  */
  9.  
  10. /*
  11.  * 
  12.  *    COMPONENT_NAME: somd
  13.  * 
  14.  *    ORIGINS: 27
  15.  * 
  16.  * 
  17.  *    10H9767, 10H9769  (C) COPYRIGHT International Business Machines Corp. 1992,1994
  18.  *    All Rights Reserved
  19.  *    Licensed Materials - Property of IBM
  20.  *    US Government Users Restricted Rights - Use, duplication or
  21.  *    disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  22.  * 
  23.  *   CLASS SPECIFICATION FOR IMPLEMENTATION DEFINITION
  24.  */
  25.  
  26.  
  27. #ifndef SOM_ImplementationDef_xh
  28. #define SOM_ImplementationDef_xh
  29.  
  30. class ImplementationDef;
  31.  
  32. #define ImplementationDef_MajorVersion 2
  33. #define ImplementationDef_MinorVersion 1
  34.  
  35. /* C++ SOM defs */
  36. #include <somcls.xh>
  37. #include <somcm.xh>
  38.  
  39. /* C++ parent defs */
  40. #ifndef SOM_SOMObject_xh
  41. #include <somobj.xh>
  42. #endif
  43.  
  44. #ifndef ImplementationDef_API
  45. #define ImplementationDef_API
  46. /*
  47.  * -- The Class API
  48.  */
  49.  
  50. /*
  51.  * Start of user-defined types:
  52.  */
  53. class SOMClass;
  54. class SOMObject;
  55. class Container;
  56.  
  57. /*
  58.  * End of user-defined types.
  59.  */
  60.  
  61. /*
  62.  * Passthru lines: File: "C.xh", "after"
  63.  */
  64.  
  65. /* flags */
  66. #define IMPLDEF_MULTI_THREAD  0x00000001
  67. #define IMPLDEF_POOL_THREAD   0x00000002
  68. #define IMPLDEF_DISABLE_SVR   0x00000004
  69. #define IMPLDEF_IMPLID_SET    0x00000008
  70. #define IMPLDEF_NONSTOPPABLE  0x00000010
  71. #define IMPLDEF_SECUREMODE    0x00000020
  72.  
  73. class ImplementationDef;
  74. SOMEXTERN WIN32_DLLIMPORT ImplementationDef*  SOMDLINK SOMD_ImplDefObject;
  75.  
  76.  
  77. /* A procedure to create the ImplementationDef Class */
  78. SOMEXTERN
  79. #if (defined(SOM_Module_IMPLDEF_Source) || defined(ImplementationDef_Class_Source) || defined (SOM_DONT_IMPORT_CLASS_ImplementationDef))
  80. WIN32_DLLEXPORT
  81. #else
  82. WIN32_DLLIMPORT
  83. #endif
  84. SOMClass * SOMLINK ImplementationDefNewClass(
  85.         integer4,
  86.         integer4 );
  87.  
  88. /* The API to the ImplementationDef class object, and the methods it introduces. */
  89. SOMEXTERN struct ImplementationDefClassDataStructure {
  90.     SOMClass *classObject;
  91.     somMToken _set_impl_id;
  92.     somMToken _get_impl_id;
  93.     somMToken _set_impl_alias;
  94.     somMToken _get_impl_alias;
  95.     somMToken _set_impl_program;
  96.     somMToken _get_impl_program;
  97.     somMToken _set_impl_flags;
  98.     somMToken _get_impl_flags;
  99.     somMToken _set_impl_server_class;
  100.     somMToken _get_impl_server_class;
  101.     somMToken _set_impl_socket_class;
  102.     somMToken _get_impl_socket_class;
  103.     somMToken _set_impl_refdata_file;
  104.     somMToken _get_impl_refdata_file;
  105.     somMToken _set_impl_refdata_bkup;
  106.     somMToken _get_impl_refdata_bkup;
  107.     somMToken _set_impl_hostname;
  108.     somMToken _get_impl_hostname;
  109.     somMToken _set_impl_def_struct;
  110.     somMToken _get_impl_def_struct;
  111.     somMToken get_impl_winserver_handle;
  112. }
  113. #if !(defined(SOM_Module_IMPLDEF_Source) || defined(ImplementationDef_Class_Source) || defined (SOM_DONT_IMPORT_CLASS_ImplementationDef))
  114. WIN32_DLLIMPORT
  115. #elif defined(_MSC_VER)||defined(_WIN32_DECL_PROTO)
  116. WIN32_DLLEXPORT
  117. #endif
  118. SOMDLINK ImplementationDefClassData;
  119. #define _ImplementationDef ImplementationDefClassData.classObject
  120.  
  121. /* The API to parentMtabs for ImplementationDef, and the instance data it introduces. */
  122. SOMEXTERN struct ImplementationDefCClassDataStructure {
  123.     somMethodTabs parentMtab;
  124.     somDToken              instanceDataToken;
  125. }
  126. #if !(defined(SOM_Module_IMPLDEF_Source) || defined(ImplementationDef_Class_Source) || defined (SOM_DONT_IMPORT_CLASS_ImplementationDef))
  127. WIN32_DLLIMPORT
  128. #elif defined(_MSC_VER)||defined(_WIN32_DECL_PROTO)
  129. WIN32_DLLEXPORT
  130. #endif
  131. SOMDLINK ImplementationDefCClassData;
  132.  
  133. /*
  134.  * -- Typedefs for ImplementationDef Method Procedures
  135.  */
  136. extern "C" {
  137. typedef string   SOMLINK somTP_ImplementationDef__get_impl_id(ImplementationDef *somSelf, Environment *ev);
  138. typedef somTP_ImplementationDef__get_impl_id *somTD_ImplementationDef__get_impl_id;
  139. typedef void   SOMLINK somTP_ImplementationDef__set_impl_id(ImplementationDef *somSelf, Environment *ev,
  140.         string impl_id);
  141. typedef somTP_ImplementationDef__set_impl_id *somTD_ImplementationDef__set_impl_id;
  142. typedef string   SOMLINK somTP_ImplementationDef__get_impl_alias(ImplementationDef *somSelf, Environment *ev);
  143. typedef somTP_ImplementationDef__get_impl_alias *somTD_ImplementationDef__get_impl_alias;
  144. typedef void   SOMLINK somTP_ImplementationDef__set_impl_alias(ImplementationDef *somSelf, Environment *ev,
  145.         string impl_alias);
  146. typedef somTP_ImplementationDef__set_impl_alias *somTD_ImplementationDef__set_impl_alias;
  147. typedef string   SOMLINK somTP_ImplementationDef__get_impl_program(ImplementationDef *somSelf, Environment *ev);
  148. typedef somTP_ImplementationDef__get_impl_program *somTD_ImplementationDef__get_impl_program;
  149. typedef void   SOMLINK somTP_ImplementationDef__set_impl_program(ImplementationDef *somSelf, Environment *ev,
  150.         string impl_program);
  151. typedef somTP_ImplementationDef__set_impl_program *somTD_ImplementationDef__set_impl_program;
  152. typedef Flags   SOMLINK somTP_ImplementationDef__get_impl_flags(ImplementationDef *somSelf, Environment *ev);
  153. typedef somTP_ImplementationDef__get_impl_flags *somTD_ImplementationDef__get_impl_flags;
  154. typedef void   SOMLINK somTP_ImplementationDef__set_impl_flags(ImplementationDef *somSelf, Environment *ev,
  155.         Flags impl_flags);
  156. typedef somTP_ImplementationDef__set_impl_flags *somTD_ImplementationDef__set_impl_flags;
  157. typedef string   SOMLINK somTP_ImplementationDef__get_impl_server_class(ImplementationDef *somSelf, Environment *ev);
  158. typedef somTP_ImplementationDef__get_impl_server_class *somTD_ImplementationDef__get_impl_server_class;
  159. typedef void   SOMLINK somTP_ImplementationDef__set_impl_server_class(ImplementationDef *somSelf, Environment *ev,
  160.         string impl_server_class);
  161. typedef somTP_ImplementationDef__set_impl_server_class *somTD_ImplementationDef__set_impl_server_class;
  162. typedef string   SOMLINK somTP_ImplementationDef__get_impl_refdata_file(ImplementationDef *somSelf, Environment *ev);
  163. typedef somTP_ImplementationDef__get_impl_refdata_file *somTD_ImplementationDef__get_impl_refdata_file;
  164. typedef void   SOMLINK somTP_ImplementationDef__set_impl_refdata_file(ImplementationDef *somSelf, Environment *ev,
  165.         string impl_refdata_file);
  166. typedef somTP_ImplementationDef__set_impl_refdata_file *somTD_ImplementationDef__set_impl_refdata_file;
  167. typedef string   SOMLINK somTP_ImplementationDef__get_impl_refdata_bkup(ImplementationDef *somSelf, Environment *ev);
  168. typedef somTP_ImplementationDef__get_impl_refdata_bkup *somTD_ImplementationDef__get_impl_refdata_bkup;
  169. typedef void   SOMLINK somTP_ImplementationDef__set_impl_refdata_bkup(ImplementationDef *somSelf, Environment *ev,
  170.         string impl_refdata_bkup);
  171. typedef somTP_ImplementationDef__set_impl_refdata_bkup *somTD_ImplementationDef__set_impl_refdata_bkup;
  172. typedef string   SOMLINK somTP_ImplementationDef__get_impl_hostname(ImplementationDef *somSelf, Environment *ev);
  173. typedef somTP_ImplementationDef__get_impl_hostname *somTD_ImplementationDef__get_impl_hostname;
  174. typedef void   SOMLINK somTP_ImplementationDef__set_impl_hostname(ImplementationDef *somSelf, Environment *ev,
  175.         string impl_hostname);
  176. typedef somTP_ImplementationDef__set_impl_hostname *somTD_ImplementationDef__set_impl_hostname;
  177.  
  178. /*
  179.  * -- Typedefs for Reintroduced Wrapper Methods
  180.  */
  181. typedef void   SOMLINK somTP_ImplementationDef_somDefaultInit(ImplementationDef *somSelf,
  182.         somInitCtrl* ctrl);
  183. typedef somTP_ImplementationDef_somDefaultInit *somTD_ImplementationDef_somDefaultInit;
  184. typedef void   SOMLINK somTP_ImplementationDef_somDestruct(ImplementationDef *somSelf,
  185.         octet doFree,
  186.         somDestructCtrl* ctrl);
  187. typedef somTP_ImplementationDef_somDestruct *somTD_ImplementationDef_somDestruct;
  188. typedef void   SOMLINK somTP_ImplementationDef_somDefaultCopyInit(ImplementationDef *somSelf,
  189.         somInitCtrl* ctrl,
  190.         SOMObject* fromObj);
  191. typedef somTP_ImplementationDef_somDefaultCopyInit *somTD_ImplementationDef_somDefaultCopyInit;
  192. typedef ImplementationDef*   SOMLINK somTP_ImplementationDef_somDefaultAssign(ImplementationDef *somSelf,
  193.         somAssignCtrl* ctrl,
  194.         SOMObject* fromObj);
  195. typedef somTP_ImplementationDef_somDefaultAssign *somTD_ImplementationDef_somDefaultAssign;
  196. typedef void   SOMLINK somTP_ImplementationDef_somDefaultConstCopyInit(ImplementationDef *somSelf,
  197.         somInitCtrl* ctrl,
  198.         SOMObject* fromObj);
  199. typedef somTP_ImplementationDef_somDefaultConstCopyInit *somTD_ImplementationDef_somDefaultConstCopyInit;
  200. typedef void   SOMLINK somTP_ImplementationDef_somDefaultVCopyInit(ImplementationDef *somSelf,
  201.         somInitCtrl* ctrl,
  202.         SOMObject* fromObj);
  203. typedef somTP_ImplementationDef_somDefaultVCopyInit *somTD_ImplementationDef_somDefaultVCopyInit;
  204. typedef void   SOMLINK somTP_ImplementationDef_somDefaultConstVCopyInit(ImplementationDef *somSelf,
  205.         somInitCtrl* ctrl,
  206.         SOMObject* fromObj);
  207. typedef somTP_ImplementationDef_somDefaultConstVCopyInit *somTD_ImplementationDef_somDefaultConstVCopyInit;
  208. typedef ImplementationDef*   SOMLINK somTP_ImplementationDef_somDefaultConstAssign(ImplementationDef *somSelf,
  209.         somAssignCtrl* ctrl,
  210.         SOMObject* fromObj);
  211. typedef somTP_ImplementationDef_somDefaultConstAssign *somTD_ImplementationDef_somDefaultConstAssign;
  212. typedef ImplementationDef*   SOMLINK somTP_ImplementationDef_somDefaultVAssign(ImplementationDef *somSelf,
  213.         somAssignCtrl* ctrl,
  214.         SOMObject* fromObj);
  215. typedef somTP_ImplementationDef_somDefaultVAssign *somTD_ImplementationDef_somDefaultVAssign;
  216. typedef ImplementationDef*   SOMLINK somTP_ImplementationDef_somDefaultConstVAssign(ImplementationDef *somSelf,
  217.         somAssignCtrl* ctrl,
  218.         SOMObject* fromObj);
  219. typedef somTP_ImplementationDef_somDefaultConstVAssign *somTD_ImplementationDef_somDefaultConstVAssign;
  220. typedef void   SOMLINK somTP_ImplementationDef_somInit(ImplementationDef *somSelf);
  221. typedef somTP_ImplementationDef_somInit *somTD_ImplementationDef_somInit;
  222. typedef void   SOMLINK somTP_ImplementationDef_somFree(ImplementationDef *somSelf);
  223. typedef somTP_ImplementationDef_somFree *somTD_ImplementationDef_somFree;
  224. typedef void   SOMLINK somTP_ImplementationDef_somUninit(ImplementationDef *somSelf);
  225. typedef somTP_ImplementationDef_somUninit *somTD_ImplementationDef_somUninit;
  226. typedef SOMClass*   SOMLINK somTP_ImplementationDef_somGetClass(ImplementationDef *somSelf);
  227. typedef somTP_ImplementationDef_somGetClass *somTD_ImplementationDef_somGetClass;
  228. typedef string   SOMLINK somTP_ImplementationDef_somGetClassName(ImplementationDef *somSelf);
  229. typedef somTP_ImplementationDef_somGetClassName *somTD_ImplementationDef_somGetClassName;
  230. typedef long   SOMLINK somTP_ImplementationDef_somGetSize(ImplementationDef *somSelf);
  231. typedef somTP_ImplementationDef_somGetSize *somTD_ImplementationDef_somGetSize;
  232. typedef boolean   SOMLINK somTP_ImplementationDef_somIsA(ImplementationDef *somSelf,
  233.         SOMClass* aClassObj);
  234. typedef somTP_ImplementationDef_somIsA *somTD_ImplementationDef_somIsA;
  235. typedef boolean   SOMLINK somTP_ImplementationDef_somIsInstanceOf(ImplementationDef *somSelf,
  236.         SOMClass* aClassObj);
  237. typedef somTP_ImplementationDef_somIsInstanceOf *somTD_ImplementationDef_somIsInstanceOf;
  238. typedef boolean   SOMLINK somTP_ImplementationDef_somRespondsTo(ImplementationDef *somSelf,
  239.         somId mId);
  240. typedef somTP_ImplementationDef_somRespondsTo *somTD_ImplementationDef_somRespondsTo;
  241. typedef boolean   SOMLINK somTP_ImplementationDef_somDispatch(ImplementationDef *somSelf,
  242.         somToken* retValue,
  243.         somId methodId,
  244.         va_list ap);
  245. typedef somTP_ImplementationDef_somDispatch *somTD_ImplementationDef_somDispatch;
  246. typedef boolean   SOMLINK somTP_ImplementationDef_somClassDispatch(ImplementationDef *somSelf,
  247.         SOMClass* clsObj,
  248.         somToken* retValue,
  249.         somId methodId,
  250.         va_list ap);
  251. typedef somTP_ImplementationDef_somClassDispatch *somTD_ImplementationDef_somClassDispatch;
  252. typedef boolean   SOMLINK somTP_ImplementationDef_somCastObj(ImplementationDef *somSelf,
  253.         SOMClass* cls);
  254. typedef somTP_ImplementationDef_somCastObj *somTD_ImplementationDef_somCastObj;
  255. typedef boolean   SOMLINK somTP_ImplementationDef_somResetObj(ImplementationDef *somSelf);
  256. typedef somTP_ImplementationDef_somResetObj *somTD_ImplementationDef_somResetObj;
  257. typedef SOMObject*   SOMLINK somTP_ImplementationDef_somPrintSelf(ImplementationDef *somSelf);
  258. typedef somTP_ImplementationDef_somPrintSelf *somTD_ImplementationDef_somPrintSelf;
  259. typedef void   SOMLINK somTP_ImplementationDef_somDumpSelf(ImplementationDef *somSelf,
  260.         long level);
  261. typedef somTP_ImplementationDef_somDumpSelf *somTD_ImplementationDef_somDumpSelf;
  262. typedef void   SOMLINK somTP_ImplementationDef_somDumpSelfInt(ImplementationDef *somSelf,
  263.         long level);
  264. typedef somTP_ImplementationDef_somDumpSelfInt *somTD_ImplementationDef_somDumpSelfInt;
  265. }
  266.  
  267. #endif /* ImplementationDef_API */
  268.  
  269.  
  270. /*
  271.  * -- This emitter believes that method thunks are unavailable,
  272.  * -- so somResolve will be called.
  273.  */
  274. #undef somresolve_
  275. #define somresolve_(obj,mToken) (somResolve(obj,mToken))
  276.  
  277. /*
  278.  * -- The C++ Wrapper Class for ImplementationDef
  279.  */
  280. class ImplementationDef : public SOMObject
  281. {
  282. public:
  283.  
  284. // ImplementationDef::new creates the class object if necessary, and then uses somNewNoInit
  285. // to allocate memory and create the object. Initialization is in ctors.
  286. void *operator new(size_t)
  287. {
  288.    if (!_ImplementationDef) ImplementationDefNewClass(ImplementationDef_MajorVersion,ImplementationDef_MinorVersion);
  289.    return (void*)
  290.       SOM_Resolve(_ImplementationDef,SOMClass,somNewNoInit)
  291.          ((SOMClass *)((void*)_ImplementationDef));
  292. }
  293.  
  294. // ImplementationDef::delete uses somDestruct.
  295. void operator delete(void * obj)
  296. {
  297.    if (obj && *(void**)obj) {
  298.       SOM_Resolve(obj,SOMObject,somDestruct)
  299.          ((SOMObject*)obj, 1, 0);
  300.    }
  301. }
  302.  
  303. ImplementationDef()
  304. {
  305.    if (*(void**)this != 
  306.        ((somParentMtabStructPtr)
  307.         (ImplementationDefCClassData.parentMtab))->mtab)
  308.       return;
  309.    ((SOMObject*)((void*)this))->somDefaultInit(0);
  310. }
  311.  
  312. ImplementationDef(ImplementationDef* fromObj)
  313. {
  314.    if (*(void**)this != 
  315.        ((somParentMtabStructPtr)
  316.         (ImplementationDefCClassData.parentMtab))->mtab)
  317.       return;
  318.    ((SOMObject*)((void*)this))->somDefaultCopyInit(0,((SOMObject*)((void*)fromObj)));
  319. }
  320.  
  321. ImplementationDef(const ImplementationDef* fromObj)
  322. {
  323.    if (*(void**)this != 
  324.        ((somParentMtabStructPtr)
  325.         (ImplementationDefCClassData.parentMtab))->mtab)
  326.       return;
  327.    ((SOMObject*)((void*)this))->somDefaultConstCopyInit(0,((SOMObject*)((void*)fromObj)));
  328. }
  329.  
  330.  
  331. /* method: _get_impl_id */
  332. string   _get_impl_id(Environment *ev)
  333. {
  334.    return SOM_ResolveD(this,ImplementationDef,ImplementationDef,_get_impl_id)
  335.     (this, ev);
  336. }
  337.  
  338.  
  339. /* method: _set_impl_id */
  340. void   _set_impl_id(Environment *ev,
  341.         string impl_id)
  342. {
  343.    SOM_ResolveD(this,ImplementationDef,ImplementationDef,_set_impl_id)
  344.     (this, ev,impl_id);
  345. }
  346.  
  347.  
  348. /* method: _get_impl_alias */
  349. string   _get_impl_alias(Environment *ev)
  350. {
  351.    return SOM_ResolveD(this,ImplementationDef,ImplementationDef,_get_impl_alias)
  352.     (this, ev);
  353. }
  354.  
  355.  
  356. /* method: _set_impl_alias */
  357. void   _set_impl_alias(Environment *ev,
  358.         string impl_alias)
  359. {
  360.    SOM_ResolveD(this,ImplementationDef,ImplementationDef,_set_impl_alias)
  361.     (this, ev,impl_alias);
  362. }
  363.  
  364.  
  365. /* method: _get_impl_program */
  366. string   _get_impl_program(Environment *ev)
  367. {
  368.    return SOM_ResolveD(this,ImplementationDef,ImplementationDef,_get_impl_program)
  369.     (this, ev);
  370. }
  371.  
  372.  
  373. /* method: _set_impl_program */
  374. void   _set_impl_program(Environment *ev,
  375.         string impl_program)
  376. {
  377.    SOM_ResolveD(this,ImplementationDef,ImplementationDef,_set_impl_program)
  378.     (this, ev,impl_program);
  379. }
  380.  
  381.  
  382. /* method: _get_impl_flags */
  383. Flags   _get_impl_flags(Environment *ev)
  384. {
  385.    return SOM_ResolveD(this,ImplementationDef,ImplementationDef,_get_impl_flags)
  386.     (this, ev);
  387. }
  388.  
  389.  
  390. /* method: _set_impl_flags */
  391. void   _set_impl_flags(Environment *ev,
  392.         Flags impl_flags)
  393. {
  394.    SOM_ResolveD(this,ImplementationDef,ImplementationDef,_set_impl_flags)
  395.     (this, ev,impl_flags);
  396. }
  397.  
  398.  
  399. /* method: _get_impl_server_class */
  400. string   _get_impl_server_class(Environment *ev)
  401. {
  402.    return SOM_ResolveD(this,ImplementationDef,ImplementationDef,_get_impl_server_class)
  403.     (this, ev);
  404. }
  405.  
  406.  
  407. /* method: _set_impl_server_class */
  408. void   _set_impl_server_class(Environment *ev,
  409.         string impl_server_class)
  410. {
  411.    SOM_ResolveD(this,ImplementationDef,ImplementationDef,_set_impl_server_class)
  412.     (this, ev,impl_server_class);
  413. }
  414.  
  415.  
  416. /* method: _get_impl_refdata_file */
  417. string   _get_impl_refdata_file(Environment *ev)
  418. {
  419.    return SOM_ResolveD(this,ImplementationDef,ImplementationDef,_get_impl_refdata_file)
  420.     (this, ev);
  421. }
  422.  
  423.  
  424. /* method: _set_impl_refdata_file */
  425. void   _set_impl_refdata_file(Environment *ev,
  426.         string impl_refdata_file)
  427. {
  428.    SOM_ResolveD(this,ImplementationDef,ImplementationDef,_set_impl_refdata_file)
  429.     (this, ev,impl_refdata_file);
  430. }
  431.  
  432.  
  433. /* method: _get_impl_refdata_bkup */
  434. string   _get_impl_refdata_bkup(Environment *ev)
  435. {
  436.    return SOM_ResolveD(this,ImplementationDef,ImplementationDef,_get_impl_refdata_bkup)
  437.     (this, ev);
  438. }
  439.  
  440.  
  441. /* method: _set_impl_refdata_bkup */
  442. void   _set_impl_refdata_bkup(Environment *ev,
  443.         string impl_refdata_bkup)
  444. {
  445.    SOM_ResolveD(this,ImplementationDef,ImplementationDef,_set_impl_refdata_bkup)
  446.     (this, ev,impl_refdata_bkup);
  447. }
  448.  
  449.  
  450. /* method: _get_impl_hostname */
  451. string   _get_impl_hostname(Environment *ev)
  452. {
  453.    return SOM_ResolveD(this,ImplementationDef,ImplementationDef,_get_impl_hostname)
  454.     (this, ev);
  455. }
  456.  
  457.  
  458. /* method: _set_impl_hostname */
  459. void   _set_impl_hostname(Environment *ev,
  460.         string impl_hostname)
  461. {
  462.    SOM_ResolveD(this,ImplementationDef,ImplementationDef,_set_impl_hostname)
  463.     (this, ev,impl_hostname);
  464. }
  465.  
  466.  
  467. /*
  468.  * Reintroduce inherited methods
  469.  */
  470.  
  471. /* initializer method: somDefaultInit */
  472. void   somDefaultInit(somInitCtrl* ctrl)
  473. {
  474.    SOM_ResolveD(this,ImplementationDef,SOMObject,somDefaultInit)
  475.     (this,ctrl);
  476. }
  477.  
  478.  
  479. /* method: somDestruct */
  480. void   somDestruct(octet doFree,
  481.         somDestructCtrl* ctrl)
  482. {
  483.    SOM_ResolveD(this,ImplementationDef,SOMObject,somDestruct)
  484.     (this,doFree,ctrl);
  485. }
  486.  
  487.  
  488. /* initializer method: somDefaultCopyInit */
  489. void   somDefaultCopyInit(somInitCtrl* ctrl,
  490.         SOMObject* fromObj)
  491. {
  492.    SOM_ResolveD(this,ImplementationDef,SOMObject,somDefaultCopyInit)
  493.     (this,ctrl,fromObj);
  494. }
  495.  
  496.  
  497. /* method: somDefaultAssign */
  498. ImplementationDef*  somDefaultAssign(somAssignCtrl* ctrl,
  499.         SOMObject* fromObj)
  500. {
  501.    return SOM_ResolveD(this,ImplementationDef,SOMObject,somDefaultAssign)
  502.     (this,ctrl,fromObj);
  503. }
  504.  
  505.  
  506. /* initializer method: somDefaultConstCopyInit */
  507. void   somDefaultConstCopyInit(somInitCtrl* ctrl,
  508.         SOMObject* fromObj)
  509. {
  510.    SOM_ResolveD(this,ImplementationDef,SOMObject,somDefaultConstCopyInit)
  511.     (this,ctrl,fromObj);
  512. }
  513.  
  514.  
  515. /* initializer method: somDefaultVCopyInit */
  516. void   somDefaultVCopyInit(somInitCtrl* ctrl,
  517.         SOMObject* fromObj)
  518. {
  519.    SOM_ResolveD(this,ImplementationDef,SOMObject,somDefaultVCopyInit)
  520.     (this,ctrl,fromObj);
  521. }
  522.  
  523.  
  524. /* initializer method: somDefaultConstVCopyInit */
  525. void   somDefaultConstVCopyInit(somInitCtrl* ctrl,
  526.         SOMObject* fromObj)
  527. {
  528.    SOM_ResolveD(this,ImplementationDef,SOMObject,somDefaultConstVCopyInit)
  529.     (this,ctrl,fromObj);
  530. }
  531.  
  532.  
  533. /* method: somDefaultConstAssign */
  534. ImplementationDef*  somDefaultConstAssign(somAssignCtrl* ctrl,
  535.         SOMObject* fromObj)
  536. {
  537.    return SOM_ResolveD(this,ImplementationDef,SOMObject,somDefaultConstAssign)
  538.     (this,ctrl,fromObj);
  539. }
  540.  
  541.  
  542. /* method: somDefaultVAssign */
  543. ImplementationDef*  somDefaultVAssign(somAssignCtrl* ctrl,
  544.         SOMObject* fromObj)
  545. {
  546.    return SOM_ResolveD(this,ImplementationDef,SOMObject,somDefaultVAssign)
  547.     (this,ctrl,fromObj);
  548. }
  549.  
  550.  
  551. /* method: somDefaultConstVAssign */
  552. ImplementationDef*  somDefaultConstVAssign(somAssignCtrl* ctrl,
  553.         SOMObject* fromObj)
  554. {
  555.    return SOM_ResolveD(this,ImplementationDef,SOMObject,somDefaultConstVAssign)
  556.     (this,ctrl,fromObj);
  557. }
  558.  
  559.  
  560. /* method: somInit */
  561. void   somInit()
  562. {
  563.    SOM_ResolveD(this,ImplementationDef,SOMObject,somInit)
  564.     (this);
  565. }
  566.  
  567.  
  568. /* method: somFree */
  569. void   somFree()
  570. {
  571.    SOM_ResolveD(this,ImplementationDef,SOMObject,somFree)
  572.     (this);
  573. }
  574.  
  575.  
  576. /* method: somUninit */
  577. void   somUninit()
  578. {
  579.    SOM_ResolveD(this,ImplementationDef,SOMObject,somUninit)
  580.     (this);
  581. }
  582.  
  583.  
  584. /* method: somGetClass */
  585. SOMClass*   somGetClass()
  586. {
  587.    return SOM_ResolveD(this,ImplementationDef,SOMObject,somGetClass)
  588.     (this);
  589. }
  590.  
  591.  
  592. /* method: somGetClassName */
  593. string   somGetClassName()
  594. {
  595.    return SOM_ResolveD(this,ImplementationDef,SOMObject,somGetClassName)
  596.     (this);
  597. }
  598.  
  599.  
  600. /* method: somGetSize */
  601. long   somGetSize()
  602. {
  603.    return SOM_ResolveD(this,ImplementationDef,SOMObject,somGetSize)
  604.     (this);
  605. }
  606.  
  607.  
  608. /* method: somIsA */
  609. boolean   somIsA(SOMClass* aClassObj)
  610. {
  611.    return SOM_ResolveD(this,ImplementationDef,SOMObject,somIsA)
  612.     (this,aClassObj);
  613. }
  614.  
  615.  
  616. /* method: somIsInstanceOf */
  617. boolean   somIsInstanceOf(SOMClass* aClassObj)
  618. {
  619.    return SOM_ResolveD(this,ImplementationDef,SOMObject,somIsInstanceOf)
  620.     (this,aClassObj);
  621. }
  622.  
  623.  
  624. /* method: somRespondsTo */
  625. boolean   somRespondsTo(somId mId)
  626. {
  627.    return SOM_ResolveD(this,ImplementationDef,SOMObject,somRespondsTo)
  628.     (this,mId);
  629. }
  630.  
  631.  
  632. /* va_list method: somDispatch */
  633. /* the va_list invocation form */
  634. boolean   ImplementationDef_somDispatch(somToken* retValue,
  635.         somId methodId,
  636.         va_list ap)
  637. {
  638. return SOM_ResolveD(this,ImplementationDef,SOMObject,somDispatch)
  639.     (this,retValue,methodId,ap);
  640. }
  641.  
  642. /* the varargs invocation form */
  643. boolean   somDispatch(somToken* retValue,
  644.         somId methodId,
  645.         ...)
  646. {
  647.    va_list ap;
  648.    va_start(ap, methodId);
  649.    boolean __somResult = 
  650.       SOM_ResolveD(this,ImplementationDef,SOMObject,somDispatch)
  651.     (this,retValue,methodId,ap);
  652.    va_end(ap);
  653.    return __somResult;
  654. }
  655.  
  656.  
  657. /* va_list method: somClassDispatch */
  658. /* the va_list invocation form */
  659. boolean   ImplementationDef_somClassDispatch(SOMClass* clsObj,
  660.         somToken* retValue,
  661.         somId methodId,
  662.         va_list ap)
  663. {
  664. return SOM_ResolveD(this,ImplementationDef,SOMObject,somClassDispatch)
  665.     (this,clsObj,retValue,methodId,ap);
  666. }
  667.  
  668. /* the varargs invocation form */
  669. boolean   somClassDispatch(SOMClass* clsObj,
  670.         somToken* retValue,
  671.         somId methodId,
  672.         ...)
  673. {
  674.    va_list ap;
  675.    va_start(ap, methodId);
  676.    boolean __somResult = 
  677.       SOM_ResolveD(this,ImplementationDef,SOMObject,somClassDispatch)
  678.     (this,clsObj,retValue,methodId,ap);
  679.    va_end(ap);
  680.    return __somResult;
  681. }
  682.  
  683.  
  684. /* method: somCastObj */
  685. boolean   somCastObj(SOMClass* cls)
  686. {
  687.    return SOM_ResolveD(this,ImplementationDef,SOMObject,somCastObj)
  688.     (this,cls);
  689. }
  690.  
  691.  
  692. /* method: somResetObj */
  693. boolean   somResetObj()
  694. {
  695.    return SOM_ResolveD(this,ImplementationDef,SOMObject,somResetObj)
  696.     (this);
  697. }
  698.  
  699.  
  700. /* method: somPrintSelf */
  701. SOMObject*   somPrintSelf()
  702. {
  703.    return SOM_ResolveD(this,ImplementationDef,SOMObject,somPrintSelf)
  704.     (this);
  705. }
  706.  
  707.  
  708. /* method: somDumpSelf */
  709. void   somDumpSelf(long level)
  710. {
  711.    SOM_ResolveD(this,ImplementationDef,SOMObject,somDumpSelf)
  712.     (this,level);
  713. }
  714.  
  715.  
  716. /* method: somDumpSelfInt */
  717. void   somDumpSelfInt(long level)
  718. {
  719.    SOM_ResolveD(this,ImplementationDef,SOMObject,somDumpSelfInt)
  720.     (this,level);
  721. }
  722.  
  723.  
  724.  
  725. };   /* ImplementationDef */
  726.  
  727.  
  728.  
  729. #endif       /* SOM_ImplementationDef_xh */
  730.