home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
wpentk.zip
/
WBPENTK4.DSK
/
IDMCOLL.IH
< prev
next >
Wrap
Text File
|
1994-10-07
|
6KB
|
198 lines
/*
* This file was generated by the SOM Compiler.
* FileName: ..\..\pentkt\h\idmcoll.ih.
* Generated using:
* SOM Precompiler somipc: 2.7
* SOM Emitter emitih: 2.22
*/
/*
*
* idmcoll.idl
*
* CLASS: IDMCollectResult
*
* CLASS HIERARCHY:
*
* SOMObject
* └── IDMResult
* └── IDMCollectResult
*
* DESCRIPTION:
*
* Input Data Collection class.
*
*/
#ifndef SOM_IDMCollectResult_ih
#define SOM_IDMCollectResult_ih
#pragma checkout(suspend)
#include <idmcoll.h>
/*
* Set the scope of methods functions
*/
#ifndef SOM_Scope
#ifdef __cplusplus
#define SOM_Scope extern "C"
#else
#define SOM_Scope extern
#endif /* __cplusplus */
#endif /* SOM_Scope */
#ifndef SOM_CurrentClass
#define SOM_CurrentClass IDMCollectResultCClassData.parentMtab
#endif /* SOM_CurrentClass */
#define IDMCollectResult_MaxNoMethods 0
/*
* Instance data
*/
typedef void IDMCollectResultData;
/*
* Begin stuff that only goes in the primary file
*/
#if (defined(IDMCollectResult_Class_Source) || defined(SOM_Module_idmcoll_Source))
/*
* Trace/Debug macro
*/
#ifndef IDMCollectResultMethodDebug
#define IDMCollectResultMethodDebug(c,m) SOMMethodDebug(c,m)
#endif /* IDMCollectResultMethodDebug */
/*
* Current class macros for Instance and Meta classes.
*/
#undef SOMMeta
#define SOMMeta M_IDMCollectResultCClassData.parentMtab
#undef SOMInstance
#define SOMInstance IDMCollectResultCClassData.parentMtab
#ifndef M_IDMCollectResult_Class_Source
#define M_IDMCollectResult_Class_Source
#endif /* M_IDMCollectResult_Class_Source */
/*
* Generate the Apply Stubs.
*/
/*
* Overridden method: idmresInitIdmResult
*/
#pragma linkage(IDMColl_idmresInitIdmResult, system)
SOM_Scope void SOMLINK IDMColl_idmresInitIdmResult(IDMCollectResult *somSelf, Environment *ev,
IDMObject* idmObject);
#ifndef somMN_idmresInitIdmResult_defined
#define somMN_idmresInitIdmResult_defined
static char *somMN_idmresInitIdmResult = "idmresInitIdmResult";
static somId somId_idmresInitIdmResult = &somMN_idmresInitIdmResult;
#endif /* somMN_idmresInitIdmResult_defined */
#define IDMCollectResult_parent_IDMResult_idmresInitIdmResult(somSelf,ev,idmObject) \
((SOM_ParentNumResolve(IDMResult, 1, IDMCollectResultCClassData.parentMtab, idmresInitIdmResult)) \
(somSelf,ev,idmObject))
#ifndef SOMGD_pmc_IDMResult_idmresInitIdmResult
#ifdef parent_IDMResult_idmresInitIdmResult
#undef parent_IDMResult_idmresInitIdmResult
#define SOMGD_pmc_IDMResult_idmresInitIdmResult 1
#else
#define parent_IDMResult_idmresInitIdmResult IDMCollectResult_parent_IDMResult_idmresInitIdmResult
#endif /* parent_IDMResult_idmresInitIdmResult */
#endif /* SOMGD_pmc_IDMResult_idmresInitIdmResult */
#ifndef parent_idmresInitIdmResult
#define parent_idmresInitIdmResult(somSelf,ev,idmObject) \
((SOM_ParentNumResolve(IDMResult, 1, SOM_CurrentClass, idmresInitIdmResult)) \
(somSelf,ev,idmObject))
#endif /* parent_idmresInitIdmResult */
#define IDMCollectResult_parents_idmresInitIdmResult(arg0,arg1) \
(void) IDMCollectResult_parent_IDMResult_idmresInitIdmResult(arg0,arg1);
/*
* Initialize the class data structure
*/
struct IDMCollectResultClassDataStructure IDMCollectResultClassData = {(SOMAny *) NULL};
/*
* Define the C class data structure
*/
struct IDMCollectResultCClassDataStructure IDMCollectResultCClassData = {(somMethodTabs) NULL};
/*
* Routines and Structures to create the class object
*/
/*
* Declare the Override Methods table.
*/
static somOverrideMethod_t IDMCollectResultOM[] = {
{ &somId_idmresInitIdmResult,
(somMethodProc *) IDMColl_idmresInitIdmResult },
};
/*
* Initializers for class Ids
*/
static char * somCN_IDMCollectResult = "IDMCollectResult";
static char * somPCN_IDMCollectResult_IDMResult = "IDMResult";
static somId somPCIDMCollectResult[] = {
&somPCN_IDMCollectResult_IDMResult,
};
static somStaticClassInfo IDMCollectResultSCI = {
3, 0, 1, 0, 0, 0,
IDMCollectResult_MajorVersion, IDMCollectResult_MinorVersion,
0, IDMCollectResult_MaxNoMethods, 1,
&somCN_IDMCollectResult,
(somId) NULL, 1,
somPCIDMCollectResult,
(somClassDataStructure *) &IDMCollectResultClassData,
(somCClassDataStructure *) &IDMCollectResultCClassData,
(somStaticMethod_t *) NULL, IDMCollectResultOM,
(char *) NULL,
(somNonInternalData_t *) NULL, (somProcMethods_t *) NULL,
(somVarargsFuncs_t *) NULL,
(somTP_somClassInitFunc *) NULL,
0,
0, /* old style class, zero directinitclasses */
0, /* no directinitclasses */
0, /* number of methods */
0, /* methods of the class */
0, /* dataOffset1 */
0, /* dataOffset2 */
0, /* number of SelectInheritedMethods */
0, /* SelectInheritedMethods */
0, /* number of releaseorder entries */
0, /* ReleaseOrder */
0, /* number of migrated methods */
0, /* migrated method implementations */
0, /* number of initializers */
0, /* initializers */
0, /* used to identify a DTS class */
0, /* used to register dynamically computed info */
};
IDMCollectResult * SOMLINK IDMCollectResultNewClass (integer4 somtmajorVersion,
integer4 somtminorVersion)
{
IDMResultNewClass(IDMResult_MajorVersion,IDMResult_MinorVersion); /* static reference */
return (somBuildClass(1,&IDMCollectResultSCI, somtmajorVersion, somtminorVersion));
}
/*
* Functions for attributes.
*/
#endif /* IDMCollectResult_Class_Source */
#pragma checkout(resume)
#endif /* SOM_IDMCollectResult_ih */