
/*
 * This file was generated by the SOM Compiler.
 * FileName: footer.ih.
 * Generated using:
 *     SOM Precompiler somipc: 2.29.1.19
 *     SOM Emitter emitih.dll: 2.77.1.179
 */

/*
 *   This class is adapted from the book
 *     Class Construction in C and C++, Object Oriented Fundamentals
 *     by Roger Sessions, Copyright (c) 1992 Prentice Hall.
 *   Reprinted with permission.
 */


/*
 * The SOM_STRICT_IDL macro means that we can ignore stars
 * in our declarations of objects.
 */
#define SOM_STRICT_IDL 1


#ifndef SOM_footer_ih
#define SOM_footer_ih


/*
 * Set the scope of method functions
 */
#ifndef SOM_Scope
#define SOM_Scope static
#endif

#ifndef SOM_footer_h
#include "footer.h"
#endif
#include <somcsr.h>
#if defined(__IBMC__) && (__IBMC__ >= 300)
  #pragma info(none)
#else
  #if defined(__IBMC__)
     #pragma checkout(suspend)
  #endif
#endif


/*
 * -- Instance data
 */
typedef void footerData;
#define __somC_footer_NODATA

/*
 * This class introduces no instance data, so no GetData macro is provided
 */

/*
 * -- Primary Implementation File Support
 */
#if (defined(footer_Class_Source) || defined(SOM_Module_footer_Source))

#ifndef footerMethodDebug
   #define footerMethodDebug(c,m) SOMMethodDebug(c,m)
#endif  /* footerMethodDebug */

static void SOMLINK __somC_footer_classInit(SOMClass cls);


/*
 * Init ClassData Structures
 */
struct footerClassDataStructure SOMDLLEXPORT SOMDLINK footerClassData = {0};
struct footerCClassDataStructure SOMDLLEXPORT SOMDLINK footerCClassData = {0};


/*
 * Identifiers
 */
static char __somC_Strings_footer0[] = {"footer"}; /* class name */
static char __somC_Strings_footer1[] = {"envProcessor"}; /* parent name */
static char __somC_Strings_footer2[] = {"epProcessEnvironment"}; /* overridden method name */
static char * __somC_footer_regIdsArray[] = {
	__somC_Strings_footer0,
	__somC_Strings_footer1,
#ifndef __somC_footer_regIds_epProcessEnvironment
#define __somC_footer_regIds_epProcessEnvironment 2
#endif
	__somC_Strings_footer2
};


/*
 * Overridden method: epProcessEnvironment
 */
SOM_Scope void  SOMLINK epProcessEnvironment(footer somSelf);
static somMethodProc* footer_parent_envProcessor_epProcessEnvironment_resolved;
#define footer_parent_envProcessor_epProcessEnvironment(somSelf) \
  ((( somTD_envProcessor_epProcessEnvironment ) \
    footer_parent_envProcessor_epProcessEnvironment_resolved)(somSelf))
#ifndef SOMGD_pmc_envProcessor_epProcessEnvironment
  #ifdef parent_envProcessor_epProcessEnvironment
     #define SOMGD_pmc_envProcessor_epProcessEnvironment 1
     #undef parent_envProcessor_epProcessEnvironment
  #else
     #define parent_envProcessor_epProcessEnvironment footer_parent_envProcessor_epProcessEnvironment
  #endif /* parent_envProcessor_epProcessEnvironment */
#endif /* SOMGD_pmc_envProcessor_epProcessEnvironment */
#ifndef SOMGD_pmc_parent_epProcessEnvironment
  #ifdef parent_epProcessEnvironment
    #define SOMGD_pmc_parent_epProcessEnvironment
    #undef parent_epProcessEnvironment
  #else
#define parent_epProcessEnvironment footer_parent_envProcessor_epProcessEnvironment
  #endif
#endif
#define footer_parents_epProcessEnvironment(somSelf) (\
   footer_parent_envProcessor_epProcessEnvironment(somSelf))
#define SOMPCALLfooter_epProcessEnvironment
static somMethodProc* footer_pcall_epProcessEnvironment_resolved;
#define footer_pcall_epProcessEnvironment(somSelf) \
  ((( somTD_envProcessor_epProcessEnvironment ) \
    footer_pcall_epProcessEnvironment_resolved)(somSelf))
static void  SOMLINK footer_pcallResolve_epProcessEnvironment(footer somSelf)
{
   ((somTD_envProcessor_epProcessEnvironment) 
      somPCallResolve(somSelf, _footer, _SOMMTOKEN_envProcessor(epProcessEnvironment)))(somSelf);
}


/*
 * Functions for attributes.
 */

/*
 * Special Method Support
 */

/*
 * -- Routines and Structures to create the class object
 */
static SOMClass * __somC_footer_parentArray[] = {
	NULL,
};
void * __somC_footer_parentMtabs[1];

static somOverrideMethod_t2 __somC_footer_overridesArray[] = {
{ &(__somC_footer_regIdsArray[__somC_footer_regIds_epProcessEnvironment]), 
#ifdef SOMPCALLfooter_epProcessEnvironment
   (somMethodPtr*)&footer_pcall_epProcessEnvironment_resolved, 
   (somMethodPtr)footer_pcallResolve_epProcessEnvironment, 
#else
   (somMethodPtr*)0, 
   (somMethodPtr)0, 
#endif
(somMethodPtr)epProcessEnvironment }
};

static somClassVars1 __somC_footer_classVars1 = {
	1,		/* layoutVersion */
	(void *)NULL,	/* extension */
	0,	/* dataSize */
	0,		/* type code dataAlignment */
	(somMethodPtr)0,	/* classAllocate */
	(somMethodPtr)0	/* classDeallocate */
};

static struct footerClassDataStructure __somC_footer_resolvedMTokens;

static void * __somC_footer_CIB_unsharedClassVariablesPtr = 0;
som3ClassInfoStruct __somC_footer_ClassInfo; /* C forward reference */

SOM_CIB footer_ClassInitBlock = {
	1,	/* layoutVersion */
	&__somC_footer_classVars1,
	&__somC_footer_CIB_unsharedClassVariablesPtr,	/* unsharedVars */
	footer_MajorVersion,
	footer_MinorVersion,
	0x40004,	/* constFlags */
	0xFFFFFFFF,	/* inheritVars */
	0,	/* classMeta */
	(somMethodPtr) __somC_footer_classInit,	/* classInit */
	(somMethodPtr) 0,	/* classUninit */
	(somMethodPtr) 0,	/* legacyInit */
	(somMethodPtr) 0,	/* legacyUninit */
	(somMethodPtr) 0,	/* udaAssign */
	(somMethodPtr) 0,	/* udaConstAssign */
	0,	/* protectedDataOffset */
	0,	/* numEmbeddedObjs */
	0,	/* embeddedObjs */
	3,	/* numRegIds */
	__somC_footer_regIdsArray,	/* regIds */
	(sizeof(struct footerClassDataStructure) - sizeof(SOMClass *))/sizeof(somMToken),	/* numClassDataEntries */
	(somClassDataStructurePtr)&footerClassData,
	(somCClassDataStructurePtr)&footerCClassData,
	&__somC_footer_ClassInfo,
	1,	/* numParents */
	(SOMClass**)__somC_footer_parentArray,	/* parents */
	1,	/* numDirectInitClasses */
	(SOMClass**)__somC_footer_parentArray,	/* directInitClasses */
	0,	/* numNewInitializers */
	0,	/* newInitializerSymbols */
	0,	/* numOvInitializers */
	0,	/* ovInitializerSymbols */
	0,	/* special overrides */
	0,	/* maxNDMethods */
	0,	/* newNDMethods */
	1,	/* numOverrides */
	__somC_footer_overridesArray,	/* overrides */
	0,	/* numInheritedSelections */
	0,	/* inheritedSelections */
	0,	/* numMigratedMethods */
	0 	/* migrated methods */
};	/* CIB */

static som3ClassDetails __somC_footer_ClassDetails = {
	(somMethodTabPtr)NULL,	/* mtab */
	(somMethodTabPtr *)__somC_footer_parentMtabs,	/* parentMtabs */
	&footer_ClassInitBlock,	/* CIB pointer */
	(somTD_somRenewNoInitNoZeroThunk)0,	/* somRenewNoInitNoZeroThunk */
	(long)0,	/* instanceSize */
	(somMethodProc**)NULL,	/* resolvedInits */
	(somClassDataStructure *)&__somC_footer_resolvedMTokens,	/* resolvedMTokens */
	{0,0,0,0},	/* initCtrl */
	{0,0,0,0},	/* destructCtrl */
	{0,0,0,0},	/* assignCtrl */
	(long)1,	/* layoutVersion */
	(void*)NULL,	/* extension */
	(somDToken)NULL,	/* publicDataToken */
	(somDToken)NULL,	/* protectedDataToken */
};
som3ClassInfoStruct __somC_footer_ClassInfo = {
	0,	/* classObject */
	&__somC_footer_ClassDetails	/* class details */
};


/*
 * Class Creation and Initialization
 */

#if defined(__IBMC__) && (defined(_WIN32) || defined(__OS2__)) && !defined(SOM_PREWARP)
#pragma alloc_text (SEG0002, __somC_footer_classInit)
#pragma alloc_text (SEG0002, footerNewClass)
#endif

/* classinit function */
SOM_Scope void SOMLINK __somC_footer_classInit(SOMClass somSelf)
{
   SOM_IgnoreWarning(somSelf);
   footer_parent_envProcessor_epProcessEnvironment_resolved = 
	somParentNumResolve(footerCClassData.parentMtab, 1, _SOMMTOKEN_envProcessor(epProcessEnvironment)); 
}

/* NewClass Function */
SOMEXTERN SOMDLLEXPORT SOMClass  SOMLINK footerNewClass (long reqMajorVersion, long reqMinorVersion)
{
   if (_SOMCLASS_footer && _somCheckVersion(_SOMCLASS_footer,reqMajorVersion,reqMinorVersion))
      return _SOMCLASS_footer;
__somC_footer_parentArray[0] = (SOMClass *)&_SOMCLASS_envProcessor;
   /* require parents */
   if (!_SOMCLASS_envProcessor) envProcessorNewClass(envProcessor_MajorVersion,envProcessor_MinorVersion);
   /* return new class */
   return somBuildClass2( &footer_ClassInitBlock, reqMajorVersion, reqMinorVersion );
}

#endif       /* Primary Implementation Support */
#if defined(__IBMC__) && (__IBMC__ >= 300)
  #pragma info(restore)
#else
  #if defined(__IBMC__)
    #pragma checkout(resume)
  #endif
#endif

#endif       /* SOM_footer_ih */
