home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / wpentk.zip / WBPENTK4.DSK / IDMCOLL.IH < prev    next >
Text File  |  1994-10-07  |  6KB  |  198 lines

  1.  
  2. /*
  3.  * This file was generated by the SOM Compiler.
  4.  * FileName: ..\..\pentkt\h\idmcoll.ih.
  5.  * Generated using:
  6.  *     SOM Precompiler somipc: 2.7
  7.  *     SOM Emitter emitih: 2.22
  8.  */
  9.  
  10. /*
  11.  * 
  12.  *   idmcoll.idl
  13.  * 
  14.  *   CLASS: IDMCollectResult
  15.  * 
  16.  *   CLASS HIERARCHY:
  17.  * 
  18.  *      SOMObject
  19.  *        └── IDMResult
  20.  *              └── IDMCollectResult
  21.  * 
  22.  *   DESCRIPTION:
  23.  * 
  24.  *      Input Data Collection class.
  25.  * 
  26.  */
  27.  
  28.  
  29. #ifndef SOM_IDMCollectResult_ih
  30. #define SOM_IDMCollectResult_ih
  31.  
  32. #pragma checkout(suspend)
  33.  
  34. #include <idmcoll.h>
  35.  
  36. /*
  37.  * Set the scope of methods functions
  38.  */
  39. #ifndef SOM_Scope
  40. #ifdef __cplusplus
  41.   #define SOM_Scope extern "C"
  42. #else
  43.   #define SOM_Scope extern
  44. #endif  /* __cplusplus */
  45. #endif  /* SOM_Scope */
  46.  
  47. #ifndef SOM_CurrentClass
  48.     #define SOM_CurrentClass IDMCollectResultCClassData.parentMtab
  49. #endif  /* SOM_CurrentClass */
  50.  
  51. #define IDMCollectResult_MaxNoMethods 0
  52.  
  53. /*
  54.  * Instance data
  55.  */
  56. typedef void IDMCollectResultData;
  57.  
  58. /*
  59.  * Begin stuff that only goes in the primary file
  60.  */
  61. #if (defined(IDMCollectResult_Class_Source) || defined(SOM_Module_idmcoll_Source))
  62.  
  63. /*
  64.  * Trace/Debug macro
  65.  */
  66. #ifndef IDMCollectResultMethodDebug
  67.    #define IDMCollectResultMethodDebug(c,m) SOMMethodDebug(c,m)
  68. #endif  /* IDMCollectResultMethodDebug */
  69.  
  70. /*
  71.  * Current class macros for Instance and Meta classes.
  72.  */
  73. #undef SOMMeta
  74. #define SOMMeta M_IDMCollectResultCClassData.parentMtab
  75. #undef SOMInstance
  76. #define SOMInstance IDMCollectResultCClassData.parentMtab
  77.  
  78. #ifndef M_IDMCollectResult_Class_Source
  79.    #define M_IDMCollectResult_Class_Source
  80. #endif    /* M_IDMCollectResult_Class_Source */
  81.  
  82. /*
  83.  * Generate the Apply Stubs.
  84.  */
  85.  
  86. /*
  87.  * Overridden method: idmresInitIdmResult
  88.  */
  89. #pragma linkage(IDMColl_idmresInitIdmResult, system)
  90. SOM_Scope void  SOMLINK IDMColl_idmresInitIdmResult(IDMCollectResult *somSelf, Environment *ev,
  91.         IDMObject* idmObject);
  92. #ifndef somMN_idmresInitIdmResult_defined
  93. #define somMN_idmresInitIdmResult_defined
  94.    static char *somMN_idmresInitIdmResult = "idmresInitIdmResult";
  95.    static somId somId_idmresInitIdmResult = &somMN_idmresInitIdmResult;
  96. #endif  /* somMN_idmresInitIdmResult_defined */
  97. #define IDMCollectResult_parent_IDMResult_idmresInitIdmResult(somSelf,ev,idmObject) \
  98.     ((SOM_ParentNumResolve(IDMResult, 1, IDMCollectResultCClassData.parentMtab, idmresInitIdmResult)) \
  99.      (somSelf,ev,idmObject))
  100. #ifndef SOMGD_pmc_IDMResult_idmresInitIdmResult
  101.   #ifdef parent_IDMResult_idmresInitIdmResult
  102.      #undef parent_IDMResult_idmresInitIdmResult
  103.      #define SOMGD_pmc_IDMResult_idmresInitIdmResult 1
  104.   #else
  105.      #define parent_IDMResult_idmresInitIdmResult IDMCollectResult_parent_IDMResult_idmresInitIdmResult
  106.   #endif /* parent_IDMResult_idmresInitIdmResult */
  107. #endif /* SOMGD_pmc_IDMResult_idmresInitIdmResult */
  108. #ifndef parent_idmresInitIdmResult
  109.    #define parent_idmresInitIdmResult(somSelf,ev,idmObject) \
  110.     ((SOM_ParentNumResolve(IDMResult, 1, SOM_CurrentClass, idmresInitIdmResult)) \
  111.      (somSelf,ev,idmObject))
  112. #endif  /* parent_idmresInitIdmResult */
  113. #define IDMCollectResult_parents_idmresInitIdmResult(arg0,arg1) \
  114.   (void) IDMCollectResult_parent_IDMResult_idmresInitIdmResult(arg0,arg1);
  115.  
  116. /*
  117.  * Initialize the class data structure
  118.  */
  119. struct IDMCollectResultClassDataStructure IDMCollectResultClassData = {(SOMAny *) NULL};
  120.  
  121. /*
  122.  * Define the C class data structure
  123.  */
  124. struct IDMCollectResultCClassDataStructure IDMCollectResultCClassData = {(somMethodTabs) NULL};
  125.  
  126. /*
  127.  * Routines and Structures to create the class object
  128.  */
  129.  
  130. /*
  131.  * Declare the Override Methods table.
  132.  */
  133. static somOverrideMethod_t IDMCollectResultOM[] = {
  134.     {    &somId_idmresInitIdmResult,
  135.          (somMethodProc *) IDMColl_idmresInitIdmResult    },
  136. };
  137.  
  138.  
  139. /*
  140.  *  Initializers for class Ids
  141.  */
  142. static char * somCN_IDMCollectResult = "IDMCollectResult";
  143. static char * somPCN_IDMCollectResult_IDMResult = "IDMResult";
  144.  
  145. static somId somPCIDMCollectResult[] = {
  146.     &somPCN_IDMCollectResult_IDMResult,
  147. };
  148.  
  149. static somStaticClassInfo IDMCollectResultSCI = {
  150.     3, 0, 1, 0, 0, 0,
  151.     IDMCollectResult_MajorVersion, IDMCollectResult_MinorVersion,
  152.     0, IDMCollectResult_MaxNoMethods, 1,
  153.     &somCN_IDMCollectResult,
  154.     (somId) NULL, 1,
  155.     somPCIDMCollectResult,
  156.     (somClassDataStructure *) &IDMCollectResultClassData,
  157.     (somCClassDataStructure *) &IDMCollectResultCClassData,
  158.     (somStaticMethod_t *) NULL, IDMCollectResultOM,
  159.     (char *) NULL,
  160.     (somNonInternalData_t *) NULL,  (somProcMethods_t *) NULL,
  161.     (somVarargsFuncs_t *) NULL,
  162.     (somTP_somClassInitFunc *) NULL,
  163.     0,
  164.     0,  /* old style class, zero directinitclasses */
  165.     0, /* no directinitclasses */
  166.     0, /* number of methods */
  167.     0, /* methods of the class */
  168.     0, /* dataOffset1 */
  169.     0, /* dataOffset2 */
  170.     0, /* number of SelectInheritedMethods */
  171.     0, /* SelectInheritedMethods */
  172.     0, /* number of releaseorder entries */
  173.     0, /* ReleaseOrder */
  174.     0, /* number of migrated methods */
  175.     0, /* migrated method implementations */
  176.     0, /* number of initializers */
  177.     0, /* initializers */
  178.     0, /* used to identify a DTS class */
  179.     0, /* used to register dynamically computed info */
  180. };
  181.  
  182.  
  183. IDMCollectResult * SOMLINK IDMCollectResultNewClass (integer4 somtmajorVersion,
  184.         integer4 somtminorVersion)
  185. {
  186.     IDMResultNewClass(IDMResult_MajorVersion,IDMResult_MinorVersion);    /* static reference */
  187.     return (somBuildClass(1,&IDMCollectResultSCI, somtmajorVersion, somtminorVersion));
  188. }
  189.  
  190. /*
  191.  * Functions for attributes.
  192.  */
  193.  
  194. #endif                   /* IDMCollectResult_Class_Source */
  195. #pragma checkout(resume)
  196.  
  197. #endif       /* SOM_IDMCollectResult_ih */
  198.