
/*
 * This file was generated by the SOM Compiler.
 * FileName: colblk.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_columnBlock_ih
#define SOM_columnBlock_ih


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

#ifndef SOM_columnBlock_h
#include "colblk.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 struct {
	long columnWidth;
        /*
         *   The width of a column (in characters).
         */
} __somC_columnBlock_ProtectedPrivateData;
typedef __somC_columnBlock_ProtectedPrivateData columnBlockData, *columnBlockDataPtr;

/*
 * -- GetData macro
 */
typedef columnBlockDataPtr SOMLINK somTP_columnBlock_DataThunk(void*);
typedef somTP_columnBlock_DataThunk *somTD_columnBlock_DataThunk;

#define columnBlockGetData(somSelf) \
   (((somTD_columnBlock_DataThunk)(columnBlockCClassData.instanceDataToken))(somSelf))
#define _columnWidth somThis->columnWidth

/*
 * -- Primary Implementation File Support
 */
#if (defined(columnBlock_Class_Source) || defined(SOM_Module_colblk_Source))

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

static void SOMLINK __somC_columnBlock_classInit(SOMClass cls);


/*
 * Init ClassData Structures
 */
struct columnBlockClassDataStructure SOMDLLEXPORT SOMDLINK columnBlockClassData = {0};
struct columnBlockCClassDataStructure SOMDLLEXPORT SOMDLINK columnBlockCClassData = {0};


/*
 * Identifiers
 */
static char __somC_Strings_columnBlock0[] = {"columnBlock"}; /* class name */
static char __somC_Strings_columnBlock1[] = {"cbInit"}; /* method name */
static char __somC_Strings_columnBlock2[] = {"_get_columnWidth"}; /* method name */
static char __somC_Strings_columnBlock3[] = {"cbLinesLeft"}; /* method name */
static char __somC_Strings_columnBlock4[] = {"cbPrintBlanks"}; /* method name */
static char __somC_Strings_columnBlock5[] = {"linkedList"}; /* parent name */
static char __somC_Strings_columnBlock6[] = {"llAddTail"}; /* overridden method name */
static char __somC_Strings_columnBlock7[] = {"print"}; /* overridden method name */
static char __somC_Strings_columnBlock8[] = {"somInit"}; /* overridden method name */
static char __somC_Strings_columnBlock9[] = {"somUninit"}; /* overridden method name */
static char __somC_Strings_columnBlock10[] = {"somDumpSelfInt"}; /* overridden method name */
static char * __somC_columnBlock_regIdsArray[] = {
	__somC_Strings_columnBlock0,
#ifndef __somC_columnBlock_regIds_cbInit
#define __somC_columnBlock_regIds_cbInit 1
#endif
	__somC_Strings_columnBlock1,
#ifndef __somC_columnBlock_regIds__get_columnWidth
#define __somC_columnBlock_regIds__get_columnWidth 2
#endif
	__somC_Strings_columnBlock2,
#ifndef __somC_columnBlock_regIds_cbLinesLeft
#define __somC_columnBlock_regIds_cbLinesLeft 3
#endif
	__somC_Strings_columnBlock3,
#ifndef __somC_columnBlock_regIds_cbPrintBlanks
#define __somC_columnBlock_regIds_cbPrintBlanks 4
#endif
	__somC_Strings_columnBlock4,
	__somC_Strings_columnBlock5,
#ifndef __somC_columnBlock_regIds_llAddTail
#define __somC_columnBlock_regIds_llAddTail 6
#endif
	__somC_Strings_columnBlock6,
#ifndef __somC_columnBlock_regIds_print
#define __somC_columnBlock_regIds_print 7
#endif
	__somC_Strings_columnBlock7,
#ifndef __somC_columnBlock_regIds_somInit
#define __somC_columnBlock_regIds_somInit 8
#endif
	__somC_Strings_columnBlock8,
#ifndef __somC_columnBlock_regIds_somUninit
#define __somC_columnBlock_regIds_somUninit 9
#endif
	__somC_Strings_columnBlock9,
#ifndef __somC_columnBlock_regIds_somDumpSelfInt
#define __somC_columnBlock_regIds_somDumpSelfInt 10
#endif
	__somC_Strings_columnBlock10
};


/*
 * Overridden method: llAddTail
 */
SOM_Scope baseType  SOMLINK llAddTail(columnBlock somSelf,
		baseType newElement);
static somMethodProc* columnBlock_parent_linkedList_llAddTail_resolved;
#define columnBlock_parent_linkedList_llAddTail(somSelf,newElement) \
  ((( somTD_linkedList_llAddTail ) \
    columnBlock_parent_linkedList_llAddTail_resolved)(somSelf,newElement))
#ifndef SOMGD_pmc_linkedList_llAddTail
  #ifdef parent_linkedList_llAddTail
     #define SOMGD_pmc_linkedList_llAddTail 1
     #undef parent_linkedList_llAddTail
  #else
     #define parent_linkedList_llAddTail columnBlock_parent_linkedList_llAddTail
  #endif /* parent_linkedList_llAddTail */
#endif /* SOMGD_pmc_linkedList_llAddTail */
#ifndef SOMGD_pmc_parent_llAddTail
  #ifdef parent_llAddTail
    #define SOMGD_pmc_parent_llAddTail
    #undef parent_llAddTail
  #else
#define parent_llAddTail columnBlock_parent_linkedList_llAddTail
  #endif
#endif
#define columnBlock_parents_llAddTail(somSelf,newElement) (\
   columnBlock_parent_linkedList_llAddTail(somSelf,newElement))
#define SOMPCALLcolumnBlock_llAddTail
static somMethodProc* columnBlock_pcall_llAddTail_resolved;
#define columnBlock_pcall_llAddTail(somSelf,newElement) \
  ((( somTD_linkedList_llAddTail ) \
    columnBlock_pcall_llAddTail_resolved)(somSelf,newElement))
static baseType  SOMLINK columnBlock_pcallResolve_llAddTail(columnBlock somSelf,
		baseType newElement)
{
   return ((somTD_linkedList_llAddTail) 
      somPCallResolve(somSelf, _columnBlock, _SOMMTOKEN_linkedList(llAddTail)))(somSelf,newElement);
}


/*
 * Overridden method: print
 */
SOM_Scope void  SOMLINK print(columnBlock somSelf,
		FILE* outputFile);
static somMethodProc* columnBlock_parent_linkedList_print_resolved;
#define columnBlock_parent_linkedList_print(somSelf,outputFile) \
  ((( somTD_baseType_print ) \
    columnBlock_parent_linkedList_print_resolved)(somSelf,outputFile))
#ifndef SOMGD_pmc_linkedList_print
  #ifdef parent_linkedList_print
     #define SOMGD_pmc_linkedList_print 1
     #undef parent_linkedList_print
  #else
     #define parent_linkedList_print columnBlock_parent_linkedList_print
  #endif /* parent_linkedList_print */
#endif /* SOMGD_pmc_linkedList_print */
#ifndef SOMGD_pmc_parent_print
  #ifdef parent_print
    #define SOMGD_pmc_parent_print
    #undef parent_print
  #else
#define parent_print columnBlock_parent_linkedList_print
  #endif
#endif
#define columnBlock_parents_print(somSelf,outputFile) (\
   columnBlock_parent_linkedList_print(somSelf,outputFile))
#define SOMPCALLcolumnBlock_print
static somMethodProc* columnBlock_pcall_print_resolved;
#define columnBlock_pcall_print(somSelf,outputFile) \
  ((( somTD_baseType_print ) \
    columnBlock_pcall_print_resolved)(somSelf,outputFile))
static void  SOMLINK columnBlock_pcallResolve_print(columnBlock somSelf,
		FILE* outputFile)
{
   ((somTD_baseType_print) 
      somPCallResolve(somSelf, _columnBlock, _SOMMTOKEN_baseType(print)))(somSelf,outputFile);
}


/*
 * Overridden method: somInit
 */
SOM_Scope void  SOMLINK somInit(columnBlock somSelf);
/* pcalls for somInit/somUninit are turned off */
#define columnBlock_parent_linkedList_somInit(__somSelf) 
#ifndef parent_linkedList_somInit
   #define parent_linkedList_somInit(__somSelf) 
#endif
#ifndef parent_somInit
   #define parent_somInit(__somSelf) 
#endif
#define columnBlock_parents_somInit(__somSelf) 

/*
 * Overridden method: somUninit
 */
SOM_Scope void  SOMLINK somUninit(columnBlock somSelf);
/* pcalls for somInit/somUninit are turned off */
#define columnBlock_parent_linkedList_somUninit(__somSelf) 
#ifndef parent_linkedList_somUninit
   #define parent_linkedList_somUninit(__somSelf) 
#endif
#ifndef parent_somUninit
   #define parent_somUninit(__somSelf) 
#endif
#define columnBlock_parents_somUninit(__somSelf) 

/*
 * Overridden method: somDumpSelfInt
 */
SOM_Scope void  SOMLINK somDumpSelfInt(columnBlock somSelf,
		long level);
static somMethodProc* columnBlock_parent_linkedList_somDumpSelfInt_resolved;
#define columnBlock_parent_linkedList_somDumpSelfInt(somSelf,level) \
  ((( somTD_SOMObject_somDumpSelfInt ) \
    columnBlock_parent_linkedList_somDumpSelfInt_resolved)(somSelf,level))
#ifndef SOMGD_pmc_linkedList_somDumpSelfInt
  #ifdef parent_linkedList_somDumpSelfInt
     #define SOMGD_pmc_linkedList_somDumpSelfInt 1
     #undef parent_linkedList_somDumpSelfInt
  #else
     #define parent_linkedList_somDumpSelfInt columnBlock_parent_linkedList_somDumpSelfInt
  #endif /* parent_linkedList_somDumpSelfInt */
#endif /* SOMGD_pmc_linkedList_somDumpSelfInt */
#ifndef SOMGD_pmc_parent_somDumpSelfInt
  #ifdef parent_somDumpSelfInt
    #define SOMGD_pmc_parent_somDumpSelfInt
    #undef parent_somDumpSelfInt
  #else
#define parent_somDumpSelfInt columnBlock_parent_linkedList_somDumpSelfInt
  #endif
#endif
#define columnBlock_parents_somDumpSelfInt(somSelf,level) (\
   columnBlock_parent_linkedList_somDumpSelfInt(somSelf,level))
#define SOMPCALLcolumnBlock_somDumpSelfInt
static somMethodProc* columnBlock_pcall_somDumpSelfInt_resolved;
#define columnBlock_pcall_somDumpSelfInt(somSelf,level) \
  ((( somTD_SOMObject_somDumpSelfInt ) \
    columnBlock_pcall_somDumpSelfInt_resolved)(somSelf,level))
static void  SOMLINK columnBlock_pcallResolve_somDumpSelfInt(columnBlock somSelf,
		long level)
{
   ((somTD_SOMObject_somDumpSelfInt) 
      somPCallResolve(somSelf, _columnBlock, _SOMMTOKEN_SOMObject(somDumpSelfInt)))(somSelf,level);
}


/*
 * New Method: cbInit
 */
SOM_Scope void  SOMLINK cbInit(columnBlock somSelf,
		long newColumns,
		long newHeight,
		long newWidth);
/*
 *    Initialize a new columnBlock.
 */
#ifndef somId_cbInit
#define somId_cbInit ((somId)&(__somC_columnBlock_regIdsArray[__somC_columnBlock_regIds_cbInit]))
#endif
#define SOM_MPR_MINFO_cbInit {0, 16, 0}
static somMpRowMethodInfo columnBlock_cbInit_mp_minfoRow = {{0, SOM_MP_ROWTYPE_METHODINFO}, SOM_MPR_MINFO_cbInit};
#ifndef DEFINEDcolumnBlock_cbInit_mp
#define DEFINEDcolumnBlock_cbInit_mp
/*[ ::columnBlock::cbInit columnBlock_cbInit_mp ]*/
/* Contract specification:
[CALLTYPE_OIDL (1)][VERSION 0]
ARG 0[in]: Long
ARG 1[in]: Long
ARG 2[in]: Long
*/
static struct { void * rows; unsigned char csr[8]; } columnBlock_cbInit_mp={&columnBlock_cbInit_mp_minfoRow, {
0x81, 0x03, 0x43, 0x43, 0x43},
};
#endif
#define cbInit_somMethodInfoValue 0
#define cbInit_somApplyStubValue &columnBlock_cbInit_mp.csr
#define cbInit_somHasMPlan 8

/*
 * New Method: _get_columnWidth
 */
SOM_Scope long  SOMLINK _get_columnWidth(columnBlock somSelf);
/*
 *   The width of a column (in characters).
 */
#ifndef somId__get_columnWidth
#define somId__get_columnWidth ((somId)&(__somC_columnBlock_regIdsArray[__somC_columnBlock_regIds__get_columnWidth]))
#endif
/* Contract specification:
[CALLTYPE_OIDL (1)][RESULT][VERSION 0]
RESULT[out]: Long
*/
#define _get_columnWidth_somMethodInfoValue 0
#define _get_columnWidth_somApplyStubValue 0x830105
#define _get_columnWidth_somHasMPlan 24

/*
 * New Method: cbLinesLeft
 */
SOM_Scope long  SOMLINK cbLinesLeft(columnBlock somSelf);
/*
 *   Returns TRUE if there is room for at least one more
 *   line in the columnBlock, FALSE otherwise.
 */
#ifndef somId_cbLinesLeft
#define somId_cbLinesLeft ((somId)&(__somC_columnBlock_regIdsArray[__somC_columnBlock_regIds_cbLinesLeft]))
#endif
/* Contract specification:
[CALLTYPE_OIDL (1)][RESULT][VERSION 0]
RESULT[out]: Long
*/
#define cbLinesLeft_somMethodInfoValue 0
#define cbLinesLeft_somApplyStubValue 0x830105
#define cbLinesLeft_somHasMPlan 24

/*
 * New Method: cbPrintBlanks
 */
SOM_Scope void  SOMLINK cbPrintBlanks(columnBlock somSelf,
		FILE* output,
		long nblanks);
/*
 * 	Prints blank characters to the output file.
 */
#ifndef somId_cbPrintBlanks
#define somId_cbPrintBlanks ((somId)&(__somC_columnBlock_regIdsArray[__somC_columnBlock_regIds_cbPrintBlanks]))
#endif
#define SOM_MPR_MINFO_cbPrintBlanks {0, 12, 0}
static somMethodInfo cbPrintBlanksMethodInfo = {0, 12, 0};
#define cbPrintBlanks_somMethodInfoValue &cbPrintBlanksMethodInfo
#define cbPrintBlanks_somApplyStubValue 0
#define cbPrintBlanks_somHasMPlan 0

/*
 * Functions for attributes.
 */
SOM_Scope long  SOMLINK _get_columnWidth(columnBlock somSelf){
    columnBlockData *somThis = columnBlockGetData(somSelf);

    return  (somThis->columnWidth);
}

/*
 * Special Method Support
 */

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

somMethodDefn __somC_columnBlock_newNDMethodsArray[] = {
	{  (0 | cbInit_somHasMPlan), 0, (somMToken)0, (somMethodPtr)cbInit, 
	   0, (somMethodPtr)cbInit_somApplyStubValue, 
	   (somMethodInfo *) cbInit_somMethodInfoValue, &columnBlockClassData.cbInit, 0, 1 },
	{  (0 | _get_columnWidth_somHasMPlan), 0, (somMToken)0, (somMethodPtr)_get_columnWidth, 
	   0, (somMethodPtr)_get_columnWidth_somApplyStubValue, 
	   (somMethodInfo *) _get_columnWidth_somMethodInfoValue, &columnBlockClassData._get_columnWidth, 0, 1 },
	{  (0 | cbLinesLeft_somHasMPlan), 0, (somMToken)0, (somMethodPtr)cbLinesLeft, 
	   0, (somMethodPtr)cbLinesLeft_somApplyStubValue, 
	   (somMethodInfo *) cbLinesLeft_somMethodInfoValue, &columnBlockClassData.cbLinesLeft, 0, 1 },
	{  (0 | cbPrintBlanks_somHasMPlan), 0, (somMToken)0, (somMethodPtr)cbPrintBlanks, 
	   0, (somMethodPtr)cbPrintBlanks_somApplyStubValue, 
	   (somMethodInfo *) cbPrintBlanks_somMethodInfoValue, &columnBlockClassData.cbPrintBlanks, 0, 1 }
};

static somOverrideMethod_t2 __somC_columnBlock_overridesArray[] = {
{ &(__somC_columnBlock_regIdsArray[__somC_columnBlock_regIds_llAddTail]), 
#ifdef SOMPCALLcolumnBlock_llAddTail
   (somMethodPtr*)&columnBlock_pcall_llAddTail_resolved, 
   (somMethodPtr)columnBlock_pcallResolve_llAddTail, 
#else
   (somMethodPtr*)0, 
   (somMethodPtr)0, 
#endif
(somMethodPtr)llAddTail },
{ &(__somC_columnBlock_regIdsArray[__somC_columnBlock_regIds_print]), 
#ifdef SOMPCALLcolumnBlock_print
   (somMethodPtr*)&columnBlock_pcall_print_resolved, 
   (somMethodPtr)columnBlock_pcallResolve_print, 
#else
   (somMethodPtr*)0, 
   (somMethodPtr)0, 
#endif
(somMethodPtr)print },
{ &(__somC_columnBlock_regIdsArray[__somC_columnBlock_regIds_somInit]), 
#ifdef SOMPCALLcolumnBlock_somInit
   (somMethodPtr*)&columnBlock_pcall_somInit_resolved, 
   (somMethodPtr)columnBlock_pcallResolve_somInit, 
#else
   (somMethodPtr*)0, 
   (somMethodPtr)0, 
#endif
(somMethodPtr)somInit },
{ &(__somC_columnBlock_regIdsArray[__somC_columnBlock_regIds_somUninit]), 
#ifdef SOMPCALLcolumnBlock_somUninit
   (somMethodPtr*)&columnBlock_pcall_somUninit_resolved, 
   (somMethodPtr)columnBlock_pcallResolve_somUninit, 
#else
   (somMethodPtr*)0, 
   (somMethodPtr)0, 
#endif
(somMethodPtr)somUninit },
{ &(__somC_columnBlock_regIdsArray[__somC_columnBlock_regIds_somDumpSelfInt]), 
#ifdef SOMPCALLcolumnBlock_somDumpSelfInt
   (somMethodPtr*)&columnBlock_pcall_somDumpSelfInt_resolved, 
   (somMethodPtr)columnBlock_pcallResolve_somDumpSelfInt, 
#else
   (somMethodPtr*)0, 
   (somMethodPtr)0, 
#endif
(somMethodPtr)somDumpSelfInt }
};

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

static struct columnBlockClassDataStructure __somC_columnBlock_resolvedMTokens;

static void * __somC_columnBlock_CIB_unsharedClassVariablesPtr = 0;
som3ClassInfoStruct __somC_columnBlock_ClassInfo; /* C forward reference */

SOM_CIB columnBlock_ClassInitBlock = {
	1,	/* layoutVersion */
	&__somC_columnBlock_classVars1,
	&__somC_columnBlock_CIB_unsharedClassVariablesPtr,	/* unsharedVars */
	columnBlock_MajorVersion,
	columnBlock_MinorVersion,
	0x40004,	/* constFlags */
	0xFFFFFFFF,	/* inheritVars */
	0,	/* classMeta */
	(somMethodPtr) __somC_columnBlock_classInit,	/* classInit */
	(somMethodPtr) 0,	/* classUninit */
	(somMethodPtr) somInit,	/* legacyInit */
	(somMethodPtr) somUninit,	/* legacyUninit */
	(somMethodPtr) 0,	/* udaAssign */
	(somMethodPtr) 0,	/* udaConstAssign */
	0,	/* protectedDataOffset */
	0,	/* numEmbeddedObjs */
	0,	/* embeddedObjs */
	11,	/* numRegIds */
	__somC_columnBlock_regIdsArray,	/* regIds */
	(sizeof(struct columnBlockClassDataStructure) - sizeof(SOMClass *))/sizeof(somMToken),	/* numClassDataEntries */
	(somClassDataStructurePtr)&columnBlockClassData,
	(somCClassDataStructurePtr)&columnBlockCClassData,
	&__somC_columnBlock_ClassInfo,
	1,	/* numParents */
	(SOMClass**)__somC_columnBlock_parentArray,	/* parents */
	1,	/* numDirectInitClasses */
	(SOMClass**)__somC_columnBlock_parentArray,	/* directInitClasses */
	0,	/* numNewInitializers */
	0,	/* newInitializerSymbols */
	0,	/* numOvInitializers */
	0,	/* ovInitializerSymbols */
	0,	/* special overrides */
	4,	/* maxNDMethods */
	__somC_columnBlock_newNDMethodsArray,	/* newNDMethods */
	5,	/* numOverrides */
	__somC_columnBlock_overridesArray,	/* overrides */
	0,	/* numInheritedSelections */
	0,	/* inheritedSelections */
	0,	/* numMigratedMethods */
	0 	/* migrated methods */
};	/* CIB */

static som3ClassDetails __somC_columnBlock_ClassDetails = {
	(somMethodTabPtr)NULL,	/* mtab */
	(somMethodTabPtr *)__somC_columnBlock_parentMtabs,	/* parentMtabs */
	&columnBlock_ClassInitBlock,	/* CIB pointer */
	(somTD_somRenewNoInitNoZeroThunk)0,	/* somRenewNoInitNoZeroThunk */
	(long)0,	/* instanceSize */
	(somMethodProc**)NULL,	/* resolvedInits */
	(somClassDataStructure *)&__somC_columnBlock_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_columnBlock_ClassInfo = {
	0,	/* classObject */
	&__somC_columnBlock_ClassDetails	/* class details */
};


/*
 * Class Creation and Initialization
 */

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

/* classinit function */
SOM_Scope void SOMLINK __somC_columnBlock_classInit(SOMClass somSelf)
{
   SOM_IgnoreWarning(somSelf);
   columnBlock_parent_linkedList_somDumpSelfInt_resolved = 
	somParentNumResolve(columnBlockCClassData.parentMtab, 1, _SOMMTOKEN_SOMObject(somDumpSelfInt)); 
   columnBlock_parent_linkedList_print_resolved = 
	somParentNumResolve(columnBlockCClassData.parentMtab, 1, _SOMMTOKEN_baseType(print)); 
   columnBlock_parent_linkedList_llAddTail_resolved = 
	somParentNumResolve(columnBlockCClassData.parentMtab, 1, _SOMMTOKEN_linkedList(llAddTail)); 
}

/* NewClass Function */
SOMEXTERN SOMDLLEXPORT SOMClass  SOMLINK columnBlockNewClass (long reqMajorVersion, long reqMinorVersion)
{
   if (_SOMCLASS_columnBlock && _somCheckVersion(_SOMCLASS_columnBlock,reqMajorVersion,reqMinorVersion))
      return _SOMCLASS_columnBlock;
__somC_columnBlock_parentArray[0] = (SOMClass *)&_SOMCLASS_linkedList;
   /* require parents */
   if (!_SOMCLASS_linkedList) linkedListNewClass(linkedList_MajorVersion,linkedList_MinorVersion);
   /* return new class */
   return somBuildClass2( &columnBlock_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_columnBlock_ih */
