
/*
 * This file was generated by the SOM Compiler.
 * FileName: scclass.xh.
 * Generated using:
 *     SOM Precompiler somipc: 2.29.1.19
 *     SOM Emitter emitxh.dll: 2.108
 */

/*
 *   COMPONENT_NAME: some
 * 
 *   ORIGINS: 27
 * 
 * 
 *    25H7912  (C)  COPYRIGHT International Business Machines Corp. 1992,1994,1996
 *   All Rights Reserved
 *   Licensed Materials - Property of IBM
 *   US Government Users Restricted Rights - Use, duplication or
 *   disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
 *  @(#) somc/sctypes.h 2.10 5/22/96 13:13:27 [12/22/96 21:12:13]
 * 
 */


#ifndef SOM_SOMTClassEntryC_xh
#define SOM_SOMTClassEntryC_xh


/*
 *  This entry is the anchor for all information about a class
 *  definition. The part it inherits from <SOMTEntryC> concerns
 *  the actual class statement in the interface definition.  The new
 *  methods and attributes provided by the class concern the class
 *  definition as a whole.
 *  A number of the possible statements in a class definition are
 *  optional, when they are missing from the class definition then
 *  methods that would return an entry for this kind of statement, will
 *  return NULL.
 */

#define SOMTClassEntryC_MajorVersion 2
#define SOMTClassEntryC_MinorVersion 1
class SOMTClassEntryC;

/*
 *  This entry is the anchor for all information about a class
 *  definition. The part it inherits from <SOMTEntryC> concerns
 *  the actual class statement in the interface definition.  The new
 *  methods and attributes provided by the class concern the class
 *  definition as a whole.
 *  A number of the possible statements in a class definition are
 *  optional, when they are missing from the class definition then
 *  methods that would return an entry for this kind of statement, will
 *  return NULL.
 */

/* Parents */
#ifndef SOM_SOMTEntryC_xh
#ifdef SOMLOCALINCLUDES
#include "scentry.xh"
#else
#include <scentry.xh>
#endif
#endif

/* Useful C++ SOM defs */
#include <somcls.xh>
#include <somcm.xh>

#ifndef SOMTClassEntryC_API
#define SOMTClassEntryC_API
/*
 * -- The Class API
 */
#ifndef SOM_IMPORTEXPORT_some_scclass
#ifdef SOM_DLL_some
	/* export semantics */
	#if defined(SOM_DEFFILE_some)\
	||(defined(SOM_DEFFILE_BY_DEFAULT)&&!defined(SOM_NODEFFILE_some))\
	|| !defined(SOM_Module_scclass_Source)
	#define SOM_IMPORTEXPORT_some_scclass
	#else
	#define SOM_IMPORTEXPORT_some_scclass SOMDLLEXPORT
	#endif
#else
	#define SOM_IMPORTEXPORT_some_scclass SOMDLLIMPORT
#endif
#endif

/*
 * Start of bindings for IDL types
 */

class SOMClass;
class SOMObject;
class SOMTEntryC;
class SOMTEmitC;
class SOMTMetaClassEntryC;
class SOMTAttributeEntryC;
class SOMTTypedefEntryC;
class SOMTBaseClassEntryC;
class SOMTPassthruEntryC;
class SOMTDataEntryC;
class SOMTMethodEntryC;
class SOMTClassEntryC;
class SOMTModuleEntryC;
class SOMTParameterEntryC;
class SOMTStructEntryC;
class SOMTUnionEntryC;
class SOMTEnumEntryC;
class SOMTConstEntryC;
class SOMTSequenceEntryC;
class SOMTStringEntryC;
class SOMTEnumNameEntryC;
class SOMTCommonEntryC;
class SOMTUserDefinedTypeEntryC;

/*
 * End of bindings for IDL types.
 */

/*
 * A function to create the SOMTClassEntryC class object...
 */
SOMEXTERN SOM_IMPORTEXPORT_some_scclass SOMClass * SOMLINK SOMTClassEntryCNewClass(
		integer4 majorVersion,
		integer4 minorVersion);


/*
 * The API 2 ClassData Structures...
 */
SOMEXTERN struct SOMTClassEntryCClassDataStructure {
	SOMClass *classObject;
	somMToken _get_somtSourceFileName;
	somMToken _get_somtMetaClassEntry;
	somMToken _get_somtNewMethodCount;
	somMToken _get_somtLocalInclude;
	somMToken _get_somtPrivateMethodCount;
	somMToken _get_somtStaticMethodCount;
	somMToken _get_somtOverrideMethodCount;
	somMToken _get_somtProcMethodCount;
	somMToken _get_somtVAMethodCount;
	somMToken _get_somtBaseCount;
	somMToken _get_somtExternalDataCount;
	somMToken _get_somtPublicDataCount;
	somMToken _get_somtPrivateDataCount;
	somMToken somtGetFirstBaseClass;
	somMToken somtGetNextBaseClass;
	somMToken somtGetFirstReleaseName;
	somMToken somtGetNextReleaseName;
	somMToken somtGetReleaseNameList;
	somMToken somtGetFirstPassthru;
	somMToken somtGetNextPassthru;
	somMToken somtGetFirstData;
	somMToken somtGetNextData;
	somMToken somtGetFirstMethod;
	somMToken somtGetNextMethod;
	somMToken somtGetFirstInheritedMethod;
	somMToken somtGetNextInheritedMethod;
	somMToken somtFilterNew;
	somMToken somtFilterOverridden;
	somMToken somtFilterPrivOrPub;
	somMToken _get_somtMetaclassFor;
	somMToken _get_somtForwardRef;
	somMToken somtGetFirstAttribute;
	somMToken somtGetNextAttribute;
	somMToken somtGetFirstStruct;
	somMToken somtGetNextStruct;
	somMToken somtGetFirstTypedef;
	somMToken somtGetNextTypedef;
	somMToken somtGetFirstUnion;
	somMToken somtGetNextUnion;
	somMToken somtGetFirstEnum;
	somMToken somtGetNextEnum;
	somMToken somtGetFirstConstant;
	somMToken somtGetNextConstant;
	somMToken somtGetFirstSequence;
	somMToken somtGetNextSequence;
	somMToken _get_somtClassModule;
	somMToken somtGetFirstPubdef;
	somMToken somtGetNextPubdef;
	somMToken somtGetFirstStaticData;
	somMToken somtGetNextStaticData;
} SOMDLINK SOM_IMPORTEXPORT_some_scclass SOMTClassEntryCClassData;
SOMEXTERN struct SOMTClassEntryCCClassDataStructure {
	som3ClassDetailsPtr    parentMtab;
	somDToken              instanceDataToken;
} SOMDLINK SOM_IMPORTEXPORT_some_scclass SOMTClassEntryCCClassData;


/*
 * Class Object and Method Token Macros
 */
#define _SOMCLASS_SOMTClassEntryC (SOMTClassEntryCClassData.classObject)
#ifndef SOMGD_SOMTClassEntryC
    #if (defined(_SOMTClassEntryC) || defined(__SOMTClassEntryC))
        #undef _SOMTClassEntryC
        #undef __SOMTClassEntryC
        #define SOMGD_SOMTClassEntryC 1
    #else
        #define _SOMTClassEntryC _SOMCLASS_SOMTClassEntryC
    #endif /* _SOMTClassEntryC */
#endif /* SOMGD_SOMTClassEntryC */
#define SOMTClassEntryC_classObj _SOMCLASS_SOMTClassEntryC
#define _SOMMTOKEN_SOMTClassEntryC(method) ((somMToken)SOMTClassEntryCClassData.method)

/*
 * -- Typedefs for SOMTClassEntryC Method Procedures
 */
SOMEXTERN {
typedef string   SOMLINK somTP_SOMTClassEntryC__get_somtSourceFileName(SOMTClassEntryC *somSelf);
typedef somTP_SOMTClassEntryC__get_somtSourceFileName *somTD_SOMTClassEntryC__get_somtSourceFileName;
typedef SOMTMetaClassEntryC*   SOMLINK somTP_SOMTClassEntryC__get_somtMetaClassEntry(SOMTClassEntryC *somSelf);
typedef somTP_SOMTClassEntryC__get_somtMetaClassEntry *somTD_SOMTClassEntryC__get_somtMetaClassEntry;
typedef SOMTModuleEntryC*   SOMLINK somTP_SOMTClassEntryC__get_somtClassModule(SOMTClassEntryC *somSelf);
typedef somTP_SOMTClassEntryC__get_somtClassModule *somTD_SOMTClassEntryC__get_somtClassModule;
typedef long   SOMLINK somTP_SOMTClassEntryC__get_somtNewMethodCount(SOMTClassEntryC *somSelf);
typedef somTP_SOMTClassEntryC__get_somtNewMethodCount *somTD_SOMTClassEntryC__get_somtNewMethodCount;
typedef boolean   SOMLINK somTP_SOMTClassEntryC__get_somtLocalInclude(SOMTClassEntryC *somSelf);
typedef somTP_SOMTClassEntryC__get_somtLocalInclude *somTD_SOMTClassEntryC__get_somtLocalInclude;
typedef long   SOMLINK somTP_SOMTClassEntryC__get_somtPrivateMethodCount(SOMTClassEntryC *somSelf);
typedef somTP_SOMTClassEntryC__get_somtPrivateMethodCount *somTD_SOMTClassEntryC__get_somtPrivateMethodCount;
typedef long   SOMLINK somTP_SOMTClassEntryC__get_somtStaticMethodCount(SOMTClassEntryC *somSelf);
typedef somTP_SOMTClassEntryC__get_somtStaticMethodCount *somTD_SOMTClassEntryC__get_somtStaticMethodCount;
typedef long   SOMLINK somTP_SOMTClassEntryC__get_somtOverrideMethodCount(SOMTClassEntryC *somSelf);
typedef somTP_SOMTClassEntryC__get_somtOverrideMethodCount *somTD_SOMTClassEntryC__get_somtOverrideMethodCount;
typedef long   SOMLINK somTP_SOMTClassEntryC__get_somtProcMethodCount(SOMTClassEntryC *somSelf);
typedef somTP_SOMTClassEntryC__get_somtProcMethodCount *somTD_SOMTClassEntryC__get_somtProcMethodCount;
typedef long   SOMLINK somTP_SOMTClassEntryC__get_somtVAMethodCount(SOMTClassEntryC *somSelf);
typedef somTP_SOMTClassEntryC__get_somtVAMethodCount *somTD_SOMTClassEntryC__get_somtVAMethodCount;
typedef long   SOMLINK somTP_SOMTClassEntryC__get_somtBaseCount(SOMTClassEntryC *somSelf);
typedef somTP_SOMTClassEntryC__get_somtBaseCount *somTD_SOMTClassEntryC__get_somtBaseCount;
typedef long   SOMLINK somTP_SOMTClassEntryC__get_somtExternalDataCount(SOMTClassEntryC *somSelf);
typedef somTP_SOMTClassEntryC__get_somtExternalDataCount *somTD_SOMTClassEntryC__get_somtExternalDataCount;
typedef long   SOMLINK somTP_SOMTClassEntryC__get_somtPublicDataCount(SOMTClassEntryC *somSelf);
typedef somTP_SOMTClassEntryC__get_somtPublicDataCount *somTD_SOMTClassEntryC__get_somtPublicDataCount;
typedef long   SOMLINK somTP_SOMTClassEntryC__get_somtPrivateDataCount(SOMTClassEntryC *somSelf);
typedef somTP_SOMTClassEntryC__get_somtPrivateDataCount *somTD_SOMTClassEntryC__get_somtPrivateDataCount;
typedef SOMTClassEntryC*   SOMLINK somTP_SOMTClassEntryC__get_somtMetaclassFor(SOMTClassEntryC *somSelf);
typedef somTP_SOMTClassEntryC__get_somtMetaclassFor *somTD_SOMTClassEntryC__get_somtMetaclassFor;
typedef boolean   SOMLINK somTP_SOMTClassEntryC__get_somtForwardRef(SOMTClassEntryC *somSelf);
typedef somTP_SOMTClassEntryC__get_somtForwardRef *somTD_SOMTClassEntryC__get_somtForwardRef;
typedef SOMTBaseClassEntryC*   SOMLINK somTP_SOMTClassEntryC_somtGetFirstBaseClass(SOMTClassEntryC *somSelf);
typedef somTP_SOMTClassEntryC_somtGetFirstBaseClass *somTD_SOMTClassEntryC_somtGetFirstBaseClass;
typedef SOMTBaseClassEntryC*   SOMLINK somTP_SOMTClassEntryC_somtGetNextBaseClass(SOMTClassEntryC *somSelf);
typedef somTP_SOMTClassEntryC_somtGetNextBaseClass *somTD_SOMTClassEntryC_somtGetNextBaseClass;
typedef string   SOMLINK somTP_SOMTClassEntryC_somtGetFirstReleaseName(SOMTClassEntryC *somSelf);
typedef somTP_SOMTClassEntryC_somtGetFirstReleaseName *somTD_SOMTClassEntryC_somtGetFirstReleaseName;
typedef string   SOMLINK somTP_SOMTClassEntryC_somtGetNextReleaseName(SOMTClassEntryC *somSelf);
typedef somTP_SOMTClassEntryC_somtGetNextReleaseName *somTD_SOMTClassEntryC_somtGetNextReleaseName;
typedef long   SOMLINK somTP_SOMTClassEntryC_somtGetReleaseNameList(SOMTClassEntryC *somSelf, 
		string buffer);
typedef somTP_SOMTClassEntryC_somtGetReleaseNameList *somTD_SOMTClassEntryC_somtGetReleaseNameList;
typedef SOMTPassthruEntryC*   SOMLINK somTP_SOMTClassEntryC_somtGetFirstPassthru(SOMTClassEntryC *somSelf);
typedef somTP_SOMTClassEntryC_somtGetFirstPassthru *somTD_SOMTClassEntryC_somtGetFirstPassthru;
typedef SOMTPassthruEntryC*   SOMLINK somTP_SOMTClassEntryC_somtGetNextPassthru(SOMTClassEntryC *somSelf);
typedef somTP_SOMTClassEntryC_somtGetNextPassthru *somTD_SOMTClassEntryC_somtGetNextPassthru;
typedef SOMTDataEntryC*   SOMLINK somTP_SOMTClassEntryC_somtGetFirstData(SOMTClassEntryC *somSelf);
typedef somTP_SOMTClassEntryC_somtGetFirstData *somTD_SOMTClassEntryC_somtGetFirstData;
typedef SOMTDataEntryC*   SOMLINK somTP_SOMTClassEntryC_somtGetNextData(SOMTClassEntryC *somSelf);
typedef somTP_SOMTClassEntryC_somtGetNextData *somTD_SOMTClassEntryC_somtGetNextData;
typedef SOMTDataEntryC*   SOMLINK somTP_SOMTClassEntryC_somtGetFirstStaticData(SOMTClassEntryC *somSelf);
typedef somTP_SOMTClassEntryC_somtGetFirstStaticData *somTD_SOMTClassEntryC_somtGetFirstStaticData;
typedef SOMTDataEntryC*   SOMLINK somTP_SOMTClassEntryC_somtGetNextStaticData(SOMTClassEntryC *somSelf);
typedef somTP_SOMTClassEntryC_somtGetNextStaticData *somTD_SOMTClassEntryC_somtGetNextStaticData;
typedef SOMTMethodEntryC*   SOMLINK somTP_SOMTClassEntryC_somtGetFirstMethod(SOMTClassEntryC *somSelf);
typedef somTP_SOMTClassEntryC_somtGetFirstMethod *somTD_SOMTClassEntryC_somtGetFirstMethod;
typedef SOMTMethodEntryC*   SOMLINK somTP_SOMTClassEntryC_somtGetNextMethod(SOMTClassEntryC *somSelf);
typedef somTP_SOMTClassEntryC_somtGetNextMethod *somTD_SOMTClassEntryC_somtGetNextMethod;
typedef SOMTMethodEntryC*   SOMLINK somTP_SOMTClassEntryC_somtGetFirstInheritedMethod(SOMTClassEntryC *somSelf);
typedef somTP_SOMTClassEntryC_somtGetFirstInheritedMethod *somTD_SOMTClassEntryC_somtGetFirstInheritedMethod;
typedef SOMTMethodEntryC*   SOMLINK somTP_SOMTClassEntryC_somtGetNextInheritedMethod(SOMTClassEntryC *somSelf);
typedef somTP_SOMTClassEntryC_somtGetNextInheritedMethod *somTD_SOMTClassEntryC_somtGetNextInheritedMethod;
typedef SOMTAttributeEntryC*   SOMLINK somTP_SOMTClassEntryC_somtGetFirstAttribute(SOMTClassEntryC *somSelf);
typedef somTP_SOMTClassEntryC_somtGetFirstAttribute *somTD_SOMTClassEntryC_somtGetFirstAttribute;
typedef SOMTAttributeEntryC*   SOMLINK somTP_SOMTClassEntryC_somtGetNextAttribute(SOMTClassEntryC *somSelf);
typedef somTP_SOMTClassEntryC_somtGetNextAttribute *somTD_SOMTClassEntryC_somtGetNextAttribute;
typedef SOMTStructEntryC*   SOMLINK somTP_SOMTClassEntryC_somtGetFirstStruct(SOMTClassEntryC *somSelf);
typedef somTP_SOMTClassEntryC_somtGetFirstStruct *somTD_SOMTClassEntryC_somtGetFirstStruct;
typedef SOMTStructEntryC*   SOMLINK somTP_SOMTClassEntryC_somtGetNextStruct(SOMTClassEntryC *somSelf);
typedef somTP_SOMTClassEntryC_somtGetNextStruct *somTD_SOMTClassEntryC_somtGetNextStruct;
typedef SOMTTypedefEntryC*   SOMLINK somTP_SOMTClassEntryC_somtGetFirstTypedef(SOMTClassEntryC *somSelf);
typedef somTP_SOMTClassEntryC_somtGetFirstTypedef *somTD_SOMTClassEntryC_somtGetFirstTypedef;
typedef SOMTTypedefEntryC*   SOMLINK somTP_SOMTClassEntryC_somtGetNextTypedef(SOMTClassEntryC *somSelf);
typedef somTP_SOMTClassEntryC_somtGetNextTypedef *somTD_SOMTClassEntryC_somtGetNextTypedef;
typedef SOMTUnionEntryC*   SOMLINK somTP_SOMTClassEntryC_somtGetFirstUnion(SOMTClassEntryC *somSelf);
typedef somTP_SOMTClassEntryC_somtGetFirstUnion *somTD_SOMTClassEntryC_somtGetFirstUnion;
typedef SOMTUnionEntryC*   SOMLINK somTP_SOMTClassEntryC_somtGetNextUnion(SOMTClassEntryC *somSelf);
typedef somTP_SOMTClassEntryC_somtGetNextUnion *somTD_SOMTClassEntryC_somtGetNextUnion;
typedef SOMTEnumEntryC*   SOMLINK somTP_SOMTClassEntryC_somtGetFirstEnum(SOMTClassEntryC *somSelf);
typedef somTP_SOMTClassEntryC_somtGetFirstEnum *somTD_SOMTClassEntryC_somtGetFirstEnum;
typedef SOMTEnumEntryC*   SOMLINK somTP_SOMTClassEntryC_somtGetNextEnum(SOMTClassEntryC *somSelf);
typedef somTP_SOMTClassEntryC_somtGetNextEnum *somTD_SOMTClassEntryC_somtGetNextEnum;
typedef SOMTConstEntryC*   SOMLINK somTP_SOMTClassEntryC_somtGetFirstConstant(SOMTClassEntryC *somSelf);
typedef somTP_SOMTClassEntryC_somtGetFirstConstant *somTD_SOMTClassEntryC_somtGetFirstConstant;
typedef SOMTConstEntryC*   SOMLINK somTP_SOMTClassEntryC_somtGetNextConstant(SOMTClassEntryC *somSelf);
typedef somTP_SOMTClassEntryC_somtGetNextConstant *somTD_SOMTClassEntryC_somtGetNextConstant;
typedef SOMTSequenceEntryC*   SOMLINK somTP_SOMTClassEntryC_somtGetFirstSequence(SOMTClassEntryC *somSelf);
typedef somTP_SOMTClassEntryC_somtGetFirstSequence *somTD_SOMTClassEntryC_somtGetFirstSequence;
typedef SOMTSequenceEntryC*   SOMLINK somTP_SOMTClassEntryC_somtGetNextSequence(SOMTClassEntryC *somSelf);
typedef somTP_SOMTClassEntryC_somtGetNextSequence *somTD_SOMTClassEntryC_somtGetNextSequence;
typedef SOMTEntryC*   SOMLINK somTP_SOMTClassEntryC_somtGetFirstPubdef(SOMTClassEntryC *somSelf);
typedef somTP_SOMTClassEntryC_somtGetFirstPubdef *somTD_SOMTClassEntryC_somtGetFirstPubdef;
typedef SOMTEntryC*   SOMLINK somTP_SOMTClassEntryC_somtGetNextPubdef(SOMTClassEntryC *somSelf);
typedef somTP_SOMTClassEntryC_somtGetNextPubdef *somTD_SOMTClassEntryC_somtGetNextPubdef;
typedef boolean   SOMLINK somTP_SOMTClassEntryC_somtFilterNew(SOMTClassEntryC *somSelf, 
		SOMTMethodEntryC* entry);
typedef somTP_SOMTClassEntryC_somtFilterNew *somTD_SOMTClassEntryC_somtFilterNew;
typedef boolean   SOMLINK somTP_SOMTClassEntryC_somtFilterOverridden(SOMTClassEntryC *somSelf, 
		SOMTMethodEntryC* entry);
typedef somTP_SOMTClassEntryC_somtFilterOverridden *somTD_SOMTClassEntryC_somtFilterOverridden;
typedef boolean   SOMLINK somTP_SOMTClassEntryC_somtFilterPrivOrPub(SOMTClassEntryC *somSelf, 
		SOMTCommonEntryC* entry);
typedef somTP_SOMTClassEntryC_somtFilterPrivOrPub *somTD_SOMTClassEntryC_somtFilterPrivOrPub;

/*
 * -- Typedefs for Reintroduced Wrapper Methods
 */
typedef string   SOMLINK somTP_SOMTClassEntryC__get_somtEntryName(SOMTClassEntryC *somSelf);
typedef somTP_SOMTClassEntryC__get_somtEntryName *somTD_SOMTClassEntryC__get_somtEntryName;
typedef void   SOMLINK somTP_SOMTClassEntryC__set_somtEntryName(SOMTClassEntryC *somSelf, 
		string somtEntryName);
typedef somTP_SOMTClassEntryC__set_somtEntryName *somTD_SOMTClassEntryC__set_somtEntryName;
typedef SOMTTypes   SOMLINK somTP_SOMTClassEntryC__get_somtElementType(SOMTClassEntryC *somSelf);
typedef somTP_SOMTClassEntryC__get_somtElementType *somTD_SOMTClassEntryC__get_somtElementType;
typedef void   SOMLINK somTP_SOMTClassEntryC__set_somtElementType(SOMTClassEntryC *somSelf, 
		SOMTTypes somtElementType);
typedef somTP_SOMTClassEntryC__set_somtElementType *somTD_SOMTClassEntryC__set_somtElementType;
typedef string   SOMLINK somTP_SOMTClassEntryC__get_somtElementTypeName(SOMTClassEntryC *somSelf);
typedef somTP_SOMTClassEntryC__get_somtElementTypeName *somTD_SOMTClassEntryC__get_somtElementTypeName;
typedef string   SOMLINK somTP_SOMTClassEntryC__get_somtEntryComment(SOMTClassEntryC *somSelf);
typedef somTP_SOMTClassEntryC__get_somtEntryComment *somTD_SOMTClassEntryC__get_somtEntryComment;
typedef unsigned long   SOMLINK somTP_SOMTClassEntryC__get_somtSourceLineNumber(SOMTClassEntryC *somSelf);
typedef somTP_SOMTClassEntryC__get_somtSourceLineNumber *somTD_SOMTClassEntryC__get_somtSourceLineNumber;
typedef TypeCode   SOMLINK somTP_SOMTClassEntryC__get_somtTypeCode(SOMTClassEntryC *somSelf);
typedef somTP_SOMTClassEntryC__get_somtTypeCode *somTD_SOMTClassEntryC__get_somtTypeCode;
typedef boolean   SOMLINK somTP_SOMTClassEntryC__get_somtIsReference(SOMTClassEntryC *somSelf);
typedef somTP_SOMTClassEntryC__get_somtIsReference *somTD_SOMTClassEntryC__get_somtIsReference;
typedef string   SOMLINK somTP_SOMTClassEntryC__get_somtIDLScopedName(SOMTClassEntryC *somSelf);
typedef somTP_SOMTClassEntryC__get_somtIDLScopedName *somTD_SOMTClassEntryC__get_somtIDLScopedName;
typedef string   SOMLINK somTP_SOMTClassEntryC__get_somtCScopedName(SOMTClassEntryC *somSelf);
typedef somTP_SOMTClassEntryC__get_somtCScopedName *somTD_SOMTClassEntryC__get_somtCScopedName;
typedef string   SOMLINK somTP_SOMTClassEntryC_somtGetModifierValue(SOMTClassEntryC *somSelf, 
		string modifierName);
typedef somTP_SOMTClassEntryC_somtGetModifierValue *somTD_SOMTClassEntryC_somtGetModifierValue;
typedef boolean   SOMLINK somTP_SOMTClassEntryC_somtGetFirstModifier(SOMTClassEntryC *somSelf, 
		string* modifierName, 
		string* modifierValue);
typedef somTP_SOMTClassEntryC_somtGetFirstModifier *somTD_SOMTClassEntryC_somtGetFirstModifier;
typedef boolean   SOMLINK somTP_SOMTClassEntryC_somtGetNextModifier(SOMTClassEntryC *somSelf, 
		string* modifierName, 
		string* modifierValue);
typedef somTP_SOMTClassEntryC_somtGetNextModifier *somTD_SOMTClassEntryC_somtGetNextModifier;
typedef long   SOMLINK somTP_SOMTClassEntryC_somtFormatModifier(SOMTClassEntryC *somSelf, 
		string buffer, 
		string name, 
		string value);
typedef somTP_SOMTClassEntryC_somtFormatModifier *somTD_SOMTClassEntryC_somtFormatModifier;
typedef long   SOMLINK somTP_SOMTClassEntryC_somtGetModifierList(SOMTClassEntryC *somSelf, 
		string buffer);
typedef somTP_SOMTClassEntryC_somtGetModifierList *somTD_SOMTClassEntryC_somtGetModifierList;
typedef long   SOMLINK somTP_SOMTClassEntryC_somtSetSymbolsOnEntry(SOMTClassEntryC *somSelf, 
		SOMTEmitC* emitter, 
		string prefix);
typedef somTP_SOMTClassEntryC_somtSetSymbolsOnEntry *somTD_SOMTClassEntryC_somtSetSymbolsOnEntry;
typedef void   SOMLINK somTP_SOMTClassEntryC_somtSetEntryStruct(SOMTClassEntryC *somSelf, 
		Entry* es);
typedef somTP_SOMTClassEntryC_somtSetEntryStruct *somTD_SOMTClassEntryC_somtSetEntryStruct;
typedef void   SOMLINK somTP_SOMTClassEntryC_somInit(SOMTClassEntryC *somSelf);
typedef somTP_SOMTClassEntryC_somInit *somTD_SOMTClassEntryC_somInit;
typedef void   SOMLINK somTP_SOMTClassEntryC_somUninit(SOMTClassEntryC *somSelf);
typedef somTP_SOMTClassEntryC_somUninit *somTD_SOMTClassEntryC_somUninit;
typedef SOMTClassEntryC*   SOMLINK somTP_SOMTClassEntryC_somPrintSelf(SOMTClassEntryC *somSelf);
typedef somTP_SOMTClassEntryC_somPrintSelf *somTD_SOMTClassEntryC_somPrintSelf;
typedef void   SOMLINK somTP_SOMTClassEntryC_somDumpSelfInt(SOMTClassEntryC *somSelf, 
		long level);
typedef somTP_SOMTClassEntryC_somDumpSelfInt *somTD_SOMTClassEntryC_somDumpSelfInt;
typedef void   SOMLINK somTP_SOMTClassEntryC_somDumpSelf(SOMTClassEntryC *somSelf, 
		long level);
typedef somTP_SOMTClassEntryC_somDumpSelf *somTD_SOMTClassEntryC_somDumpSelf;
typedef void   SOMLINK somTP_SOMTClassEntryC_somDefaultInit(SOMTClassEntryC *somSelf, 
		som3InitCtrl* ctrl);
typedef somTP_SOMTClassEntryC_somDefaultInit *somTD_SOMTClassEntryC_somDefaultInit;
typedef void   SOMLINK somTP_SOMTClassEntryC_somDestruct(SOMTClassEntryC *somSelf, 
		octet doFree, 
		som3DestructCtrl* ctrl);
typedef somTP_SOMTClassEntryC_somDestruct *somTD_SOMTClassEntryC_somDestruct;
typedef void   SOMLINK somTP_SOMTClassEntryC_somDefaultCopyInit(SOMTClassEntryC *somSelf, 
		som3InitCtrl* ctrl, 
		SOMObject* fromObj);
typedef somTP_SOMTClassEntryC_somDefaultCopyInit *somTD_SOMTClassEntryC_somDefaultCopyInit;
typedef SOMTClassEntryC*   SOMLINK somTP_SOMTClassEntryC_somDefaultAssign(SOMTClassEntryC *somSelf, 
		som3AssignCtrl* ctrl, 
		SOMObject* fromObj);
typedef somTP_SOMTClassEntryC_somDefaultAssign *somTD_SOMTClassEntryC_somDefaultAssign;
typedef void   SOMLINK somTP_SOMTClassEntryC_somDefaultConstCopyInit(SOMTClassEntryC *somSelf, 
		som3InitCtrl* ctrl, 
		SOMObject* fromObj);
typedef somTP_SOMTClassEntryC_somDefaultConstCopyInit *somTD_SOMTClassEntryC_somDefaultConstCopyInit;
typedef void   SOMLINK somTP_SOMTClassEntryC_somDefaultVCopyInit(SOMTClassEntryC *somSelf, 
		som3InitCtrl* ctrl, 
		SOMObject* fromObj);
typedef somTP_SOMTClassEntryC_somDefaultVCopyInit *somTD_SOMTClassEntryC_somDefaultVCopyInit;
typedef void   SOMLINK somTP_SOMTClassEntryC_somDefaultConstVCopyInit(SOMTClassEntryC *somSelf, 
		som3InitCtrl* ctrl, 
		SOMObject* fromObj);
typedef somTP_SOMTClassEntryC_somDefaultConstVCopyInit *somTD_SOMTClassEntryC_somDefaultConstVCopyInit;
typedef SOMTClassEntryC*   SOMLINK somTP_SOMTClassEntryC_somDefaultConstAssign(SOMTClassEntryC *somSelf, 
		som3AssignCtrl* ctrl, 
		SOMObject* fromObj);
typedef somTP_SOMTClassEntryC_somDefaultConstAssign *somTD_SOMTClassEntryC_somDefaultConstAssign;
typedef SOMTClassEntryC*   SOMLINK somTP_SOMTClassEntryC_somDefaultVAssign(SOMTClassEntryC *somSelf, 
		som3AssignCtrl* ctrl, 
		SOMObject* fromObj);
typedef somTP_SOMTClassEntryC_somDefaultVAssign *somTD_SOMTClassEntryC_somDefaultVAssign;
typedef SOMTClassEntryC*   SOMLINK somTP_SOMTClassEntryC_somDefaultConstVAssign(SOMTClassEntryC *somSelf, 
		som3AssignCtrl* ctrl, 
		SOMObject* fromObj);
typedef somTP_SOMTClassEntryC_somDefaultConstVAssign *somTD_SOMTClassEntryC_somDefaultConstVAssign;
typedef void   SOMLINK somTP_SOMTClassEntryC_somFree(SOMTClassEntryC *somSelf);
typedef somTP_SOMTClassEntryC_somFree *somTD_SOMTClassEntryC_somFree;
typedef SOMClass*   SOMLINK somTP_SOMTClassEntryC_somGetClass(SOMTClassEntryC *somSelf);
typedef somTP_SOMTClassEntryC_somGetClass *somTD_SOMTClassEntryC_somGetClass;
typedef string   SOMLINK somTP_SOMTClassEntryC_somGetClassName(SOMTClassEntryC *somSelf);
typedef somTP_SOMTClassEntryC_somGetClassName *somTD_SOMTClassEntryC_somGetClassName;
typedef long   SOMLINK somTP_SOMTClassEntryC_somGetSize(SOMTClassEntryC *somSelf);
typedef somTP_SOMTClassEntryC_somGetSize *somTD_SOMTClassEntryC_somGetSize;
typedef boolean   SOMLINK somTP_SOMTClassEntryC_somIsA(SOMTClassEntryC *somSelf, 
		SOMClass* aClassObj);
typedef somTP_SOMTClassEntryC_somIsA *somTD_SOMTClassEntryC_somIsA;
typedef boolean   SOMLINK somTP_SOMTClassEntryC_somIsInstanceOf(SOMTClassEntryC *somSelf, 
		SOMClass* aClassObj);
typedef somTP_SOMTClassEntryC_somIsInstanceOf *somTD_SOMTClassEntryC_somIsInstanceOf;
typedef boolean   SOMLINK somTP_SOMTClassEntryC_somRespondsTo(SOMTClassEntryC *somSelf, 
		somId mId);
typedef somTP_SOMTClassEntryC_somRespondsTo *somTD_SOMTClassEntryC_somRespondsTo;
typedef boolean   SOMLINK somTP_SOMTClassEntryC_somDispatch(SOMTClassEntryC *somSelf, 
		somToken* retValue, 
		somId methodId, 
		va_list ap);
typedef somTP_SOMTClassEntryC_somDispatch *somTD_SOMTClassEntryC_somDispatch;
typedef boolean   SOMLINK somTP_SOMTClassEntryC_somClassDispatch(SOMTClassEntryC *somSelf, 
		SOMClass* clsObj, 
		somToken* retValue, 
		somId methodId, 
		va_list ap);
typedef somTP_SOMTClassEntryC_somClassDispatch *somTD_SOMTClassEntryC_somClassDispatch;
typedef boolean   SOMLINK somTP_SOMTClassEntryC_somCastObj(SOMTClassEntryC *somSelf, 
		SOMClass* castedCls);
typedef somTP_SOMTClassEntryC_somCastObj *somTD_SOMTClassEntryC_somCastObj;
typedef boolean   SOMLINK somTP_SOMTClassEntryC_somResetObj(SOMTClassEntryC *somSelf);
typedef somTP_SOMTClassEntryC_somResetObj *somTD_SOMTClassEntryC_somResetObj;
}

#endif /* SOMTClassEntryC_API */


/*
 * -- The C++ Wrapper Class for SOMTClassEntryC
 */
class SOMTClassEntryC : public SOMTEntryC
{
/*
 *  This entry is the anchor for all information about a class
 *  definition. The part it inherits from <SOMTEntryC> concerns
 *  the actual class statement in the interface definition.  The new
 *  methods and attributes provided by the class concern the class
 *  definition as a whole.
 *  A number of the possible statements in a class definition are
 *  optional, when they are missing from the class definition then
 *  methods that would return an entry for this kind of statement, will
 *  return NULL.
 */
public:

// SOMTClassEntryC::new creates the class object if necessary, and then uses
// somNewNoInit to allocate memory and create the object.
// Initialization is in ctors.
void *operator new(size_t)
{
   if (!_SOMTClassEntryC) SOMTClassEntryCNewClass(SOMTClassEntryC_MajorVersion,SOMTClassEntryC_MinorVersion);
   return (void*)
   (((somTD_SOMClass_somNewNoInit)(SOMClassClassData.somNewNoInit))
         ((SOMClass *)((void*)_SOMTClassEntryC)));
}

// SOMTClassEntryC::delete uses somFree.
void operator delete(void * obj)
{
   if (obj && *(void**)obj)
      ((SOMObject*)obj)->somFree();
}

SOMTClassEntryC& operator=(SOMTClassEntryC& fromObj)
{
   this->somDefaultAssign(0,(SOMObject*)((void*)&fromObj));
   return *this;
}

SOMTClassEntryC()
{
   if (*(void**)this != (SOMTClassEntryCCClassData.parentMtab)->mtab)
      return;
   ((SOMObject*)((void*)this))->somDefaultInit(0);
}

SOMTClassEntryC(SOMTClassEntryC* fromObj)
{
   if (*(void**)this != (SOMTClassEntryCCClassData.parentMtab)->mtab)
      return;
   ((SOMObject*)((void*)this))->somDefaultCopyInit(0,((SOMObject*)((void*)fromObj)));
}


/* method: _get_somtSourceFileName */
string   _get_somtSourceFileName()
{
/*
 *  Returns the name of file containing the definition of this class.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMTClassEntryC),
	 ((somTD_SOMTClassEntryC__get_somtSourceFileName)(SOMTClassEntryCClassData._get_somtSourceFileName))(((SOMTClassEntryC *)((void *)this)))
	);
}


/* method: _get_somtMetaClassEntry */
SOMTMetaClassEntryC*   _get_somtMetaClassEntry()
{
/*
 *  Returns the entry for the meta class statement in class
 *  definition or NULL if there is no meta class statement.
 *  Note: the SOM architecture requires that all classes have a meta
 *  class, however <SOMClass> is its own metaclass. Thus, any attempt
 *  to walk up the metaclass chain must terminate when it finds a
 *  class that is its own meta class, otherwise an infinite loop is
 *  possible.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMTClassEntryC),
	 ((somTD_SOMTClassEntryC__get_somtMetaClassEntry)(SOMTClassEntryCClassData._get_somtMetaClassEntry))(((SOMTClassEntryC *)((void *)this)))
	);
}


/* method: _get_somtClassModule */
SOMTModuleEntryC*   _get_somtClassModule()
{
/*
 *  The module that contains this class, or NULL if there is not one.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMTClassEntryC),
	 ((somTD_SOMTClassEntryC__get_somtClassModule)(SOMTClassEntryCClassData._get_somtClassModule))(((SOMTClassEntryC *)((void *)this)))
	);
}


/* method: _get_somtNewMethodCount */
long   _get_somtNewMethodCount()
{
/*
 *  Returns the number of new methods introduced in this class
 *  definition.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMTClassEntryC),
	 ((somTD_SOMTClassEntryC__get_somtNewMethodCount)(SOMTClassEntryCClassData._get_somtNewMethodCount))(((SOMTClassEntryC *)((void *)this)))
	);
}


/* method: _get_somtLocalInclude */
boolean   _get_somtLocalInclude()
{
/*
 *  Returns true if the header files associated with this class
 *  definition should be included using local search, eg, "name.h"
 *  instead of <name.h>
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMTClassEntryC),
	 ((somTD_SOMTClassEntryC__get_somtLocalInclude)(SOMTClassEntryCClassData._get_somtLocalInclude))(((SOMTClassEntryC *)((void *)this)))
	);
}


/* method: _get_somtPrivateMethodCount */
long   _get_somtPrivateMethodCount()
{
/*
 *  Returns number of new private methods in class.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMTClassEntryC),
	 ((somTD_SOMTClassEntryC__get_somtPrivateMethodCount)(SOMTClassEntryCClassData._get_somtPrivateMethodCount))(((SOMTClassEntryC *)((void *)this)))
	);
}


/* method: _get_somtStaticMethodCount */
long   _get_somtStaticMethodCount()
{
/*
 *  Returns number of new static methods in class.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMTClassEntryC),
	 ((somTD_SOMTClassEntryC__get_somtStaticMethodCount)(SOMTClassEntryCClassData._get_somtStaticMethodCount))(((SOMTClassEntryC *)((void *)this)))
	);
}


/* method: _get_somtOverrideMethodCount */
long   _get_somtOverrideMethodCount()
{
/*
 *  Returns number of new override methods in class.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMTClassEntryC),
	 ((somTD_SOMTClassEntryC__get_somtOverrideMethodCount)(SOMTClassEntryCClassData._get_somtOverrideMethodCount))(((SOMTClassEntryC *)((void *)this)))
	);
}


/* method: _get_somtProcMethodCount */
long   _get_somtProcMethodCount()
{
/*
 *  Returns number of procedure methods for class.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMTClassEntryC),
	 ((somTD_SOMTClassEntryC__get_somtProcMethodCount)(SOMTClassEntryCClassData._get_somtProcMethodCount))(((SOMTClassEntryC *)((void *)this)))
	);
}


/* method: _get_somtVAMethodCount */
long   _get_somtVAMethodCount()
{
/*
 *  Returns number of VarArg methods for class.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMTClassEntryC),
	 ((somTD_SOMTClassEntryC__get_somtVAMethodCount)(SOMTClassEntryCClassData._get_somtVAMethodCount))(((SOMTClassEntryC *)((void *)this)))
	);
}


/* method: _get_somtBaseCount */
long   _get_somtBaseCount()
{
/*
 *  Returns number of base classes for class.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMTClassEntryC),
	 ((somTD_SOMTClassEntryC__get_somtBaseCount)(SOMTClassEntryCClassData._get_somtBaseCount))(((SOMTClassEntryC *)((void *)this)))
	);
}


/* method: _get_somtExternalDataCount */
long   _get_somtExternalDataCount()
{
/*
 *  Returns number of external (public or private) data members for class.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMTClassEntryC),
	 ((somTD_SOMTClassEntryC__get_somtExternalDataCount)(SOMTClassEntryCClassData._get_somtExternalDataCount))(((SOMTClassEntryC *)((void *)this)))
	);
}


/* method: _get_somtPublicDataCount */
long   _get_somtPublicDataCount()
{
/*
 *  Returns number of public data members for class.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMTClassEntryC),
	 ((somTD_SOMTClassEntryC__get_somtPublicDataCount)(SOMTClassEntryCClassData._get_somtPublicDataCount))(((SOMTClassEntryC *)((void *)this)))
	);
}


/* method: _get_somtPrivateDataCount */
long   _get_somtPrivateDataCount()
{
/*
 *  Returns number of private data members for class.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMTClassEntryC),
	 ((somTD_SOMTClassEntryC__get_somtPrivateDataCount)(SOMTClassEntryCClassData._get_somtPrivateDataCount))(((SOMTClassEntryC *)((void *)this)))
	);
}


/* method: _get_somtMetaclassFor */
SOMTClassEntryC*   _get_somtMetaclassFor()
{
/*
 *  If this is a metaclass, the class for which it is a metaclass, else NULL.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMTClassEntryC),
	 ((somTD_SOMTClassEntryC__get_somtMetaclassFor)(SOMTClassEntryCClassData._get_somtMetaclassFor))(((SOMTClassEntryC *)((void *)this)))
	);
}


/* method: _get_somtForwardRef */
boolean   _get_somtForwardRef()
{
/*
 *  Whether this is a forward reference or not.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMTClassEntryC),
	 ((somTD_SOMTClassEntryC__get_somtForwardRef)(SOMTClassEntryCClassData._get_somtForwardRef))(((SOMTClassEntryC *)((void *)this)))
	);
}


/* method: somtGetFirstBaseClass */
SOMTBaseClassEntryC*   somtGetFirstBaseClass()
{
/*
 *  Returns the entry for the "left most" direct base class form for
 *  this class, if it has one and NULL otherwise.  Note: <SOMObject>
 *  does not have any base classes and therefore will terminate an
 *  attempt to walk up the base class chain.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMTClassEntryC),
	 ((somTD_SOMTClassEntryC_somtGetFirstBaseClass)(SOMTClassEntryCClassData.somtGetFirstBaseClass))(((SOMTClassEntryC *)((void *)this)))
	);
}


/* method: somtGetNextBaseClass */
SOMTBaseClassEntryC*   somtGetNextBaseClass()
{
/*
 *  Returns the entry for the next direct base class form of this
 *  class, if it has one and NULL otherwise.  The direct base classes
 *  of a derived class are ordered from "left to right".
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMTClassEntryC),
	 ((somTD_SOMTClassEntryC_somtGetNextBaseClass)(SOMTClassEntryCClassData.somtGetNextBaseClass))(((SOMTClassEntryC *)((void *)this)))
	);
}


/* method: somtGetFirstReleaseName */
string   somtGetFirstReleaseName()
{
/*
 *  Returns the first name in the release order statement for this
 *  entry if it has one and NULL otherwise.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMTClassEntryC),
	 ((somTD_SOMTClassEntryC_somtGetFirstReleaseName)(SOMTClassEntryCClassData.somtGetFirstReleaseName))(((SOMTClassEntryC *)((void *)this)))
	);
}


/* method: somtGetNextReleaseName */
string   somtGetNextReleaseName()
{
/*
 *  Returns the next name in the release order statement for this
 *  entry if it has one and NULL otherwise.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMTClassEntryC),
	 ((somTD_SOMTClassEntryC_somtGetNextReleaseName)(SOMTClassEntryCClassData.somtGetNextReleaseName))(((SOMTClassEntryC *)((void *)this)))
	);
}


/* method: somtGetReleaseNameList */
long   somtGetReleaseNameList(string buffer)
{
/*
 *  Puts all the release names in <buffer> in template output form,
 *  buffer must be large enough, no tests are made.  The number of
 *  release names is returned.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMTClassEntryC),
	 ((somTD_SOMTClassEntryC_somtGetReleaseNameList)(SOMTClassEntryCClassData.somtGetReleaseNameList))(((SOMTClassEntryC *)((void *)this)),buffer)
	);
}


/* method: somtGetFirstPassthru */
SOMTPassthruEntryC*   somtGetFirstPassthru()
{
/*
 *  Returns the first passthru entry for this class definition if it
 *  has one and NULL otherwise.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMTClassEntryC),
	 ((somTD_SOMTClassEntryC_somtGetFirstPassthru)(SOMTClassEntryCClassData.somtGetFirstPassthru))(((SOMTClassEntryC *)((void *)this)))
	);
}


/* method: somtGetNextPassthru */
SOMTPassthruEntryC*   somtGetNextPassthru()
{
/*
 *  Returns the next passthru entry for this class definition if it
 *  has one and NULL otherwise.  The passthru entry will be returned
 *  in an order based on the appearence of passthru statements in the
 *  class definition.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMTClassEntryC),
	 ((somTD_SOMTClassEntryC_somtGetNextPassthru)(SOMTClassEntryCClassData.somtGetNextPassthru))(((SOMTClassEntryC *)((void *)this)))
	);
}


/* method: somtGetFirstData */
SOMTDataEntryC*   somtGetFirstData()
{
/*
 *  Returns the first data entry for this class definition if it has
 *  one and NULL otherwise.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMTClassEntryC),
	 ((somTD_SOMTClassEntryC_somtGetFirstData)(SOMTClassEntryCClassData.somtGetFirstData))(((SOMTClassEntryC *)((void *)this)))
	);
}


/* method: somtGetNextData */
SOMTDataEntryC*   somtGetNextData()
{
/*
 *  Returns the next data entry for this class definition if it has
 *  one and NULL otherwise.  The data entries will be returned in an
 *  order based on the appearence data member declarations in the
 *  class definition.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMTClassEntryC),
	 ((somTD_SOMTClassEntryC_somtGetNextData)(SOMTClassEntryCClassData.somtGetNextData))(((SOMTClassEntryC *)((void *)this)))
	);
}


/* method: somtGetFirstStaticData */
SOMTDataEntryC*   somtGetFirstStaticData()
{
/*
 *  Returns the first static data entry for this class definition if it has
 *  one and NULL otherwise. Static data is handled specialy in SOM so a
 *  different accessor method is provided.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMTClassEntryC),
	 ((somTD_SOMTClassEntryC_somtGetFirstStaticData)(SOMTClassEntryCClassData.somtGetFirstStaticData))(((SOMTClassEntryC *)((void *)this)))
	);
}


/* method: somtGetNextStaticData */
SOMTDataEntryC*   somtGetNextStaticData()
{
/*
 *  Returns the next static data entry for this class definition if it has
 *  one and NULL otherwise.  The data entries will be returned in an
 *  order based on the release order
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMTClassEntryC),
	 ((somTD_SOMTClassEntryC_somtGetNextStaticData)(SOMTClassEntryCClassData.somtGetNextStaticData))(((SOMTClassEntryC *)((void *)this)))
	);
}


/* method: somtGetFirstMethod */
SOMTMethodEntryC*   somtGetFirstMethod()
{
/*
 *  Returns the first method entry for this class definition if it
 *  has one and NULL otherwise.  Method entries may be for new or
 *  overridden methods.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMTClassEntryC),
	 ((somTD_SOMTClassEntryC_somtGetFirstMethod)(SOMTClassEntryCClassData.somtGetFirstMethod))(((SOMTClassEntryC *)((void *)this)))
	);
}


/* method: somtGetNextMethod */
SOMTMethodEntryC*   somtGetNextMethod()
{
/*
 *  Returns the next method entry for this class definition if it has
 *  one and NULL otherwise.  The method entries will be returned in an
 *  order based on the appearence method declarations in the
 *  class definition.  Method entries may be for new or overridden methods.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMTClassEntryC),
	 ((somTD_SOMTClassEntryC_somtGetNextMethod)(SOMTClassEntryCClassData.somtGetNextMethod))(((SOMTClassEntryC *)((void *)this)))
	);
}


/* method: somtGetFirstInheritedMethod */
SOMTMethodEntryC*   somtGetFirstInheritedMethod()
{
/*
 *  Returns the first inherited and not overridden method entry for
 *  this class definition if it has one and NULL otherwise.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMTClassEntryC),
	 ((somTD_SOMTClassEntryC_somtGetFirstInheritedMethod)(SOMTClassEntryCClassData.somtGetFirstInheritedMethod))(((SOMTClassEntryC *)((void *)this)))
	);
}


/* method: somtGetNextInheritedMethod */
SOMTMethodEntryC*   somtGetNextInheritedMethod()
{
/*
 *  Returns the next inherited and not overridden method entry for
 *  this class definition if it has one and NULL otherwise.  The
 *  method entries will be returned in an unspecified, but constant
 *  order.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMTClassEntryC),
	 ((somTD_SOMTClassEntryC_somtGetNextInheritedMethod)(SOMTClassEntryCClassData.somtGetNextInheritedMethod))(((SOMTClassEntryC *)((void *)this)))
	);
}


/* method: somtGetFirstAttribute */
SOMTAttributeEntryC*   somtGetFirstAttribute()
{
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMTClassEntryC),
	 ((somTD_SOMTClassEntryC_somtGetFirstAttribute)(SOMTClassEntryCClassData.somtGetFirstAttribute))(((SOMTClassEntryC *)((void *)this)))
	);
}


/* method: somtGetNextAttribute */
SOMTAttributeEntryC*   somtGetNextAttribute()
{
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMTClassEntryC),
	 ((somTD_SOMTClassEntryC_somtGetNextAttribute)(SOMTClassEntryCClassData.somtGetNextAttribute))(((SOMTClassEntryC *)((void *)this)))
	);
}


/* method: somtGetFirstStruct */
SOMTStructEntryC*   somtGetFirstStruct()
{
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMTClassEntryC),
	 ((somTD_SOMTClassEntryC_somtGetFirstStruct)(SOMTClassEntryCClassData.somtGetFirstStruct))(((SOMTClassEntryC *)((void *)this)))
	);
}


/* method: somtGetNextStruct */
SOMTStructEntryC*   somtGetNextStruct()
{
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMTClassEntryC),
	 ((somTD_SOMTClassEntryC_somtGetNextStruct)(SOMTClassEntryCClassData.somtGetNextStruct))(((SOMTClassEntryC *)((void *)this)))
	);
}


/* method: somtGetFirstTypedef */
SOMTTypedefEntryC*   somtGetFirstTypedef()
{
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMTClassEntryC),
	 ((somTD_SOMTClassEntryC_somtGetFirstTypedef)(SOMTClassEntryCClassData.somtGetFirstTypedef))(((SOMTClassEntryC *)((void *)this)))
	);
}


/* method: somtGetNextTypedef */
SOMTTypedefEntryC*   somtGetNextTypedef()
{
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMTClassEntryC),
	 ((somTD_SOMTClassEntryC_somtGetNextTypedef)(SOMTClassEntryCClassData.somtGetNextTypedef))(((SOMTClassEntryC *)((void *)this)))
	);
}


/* method: somtGetFirstUnion */
SOMTUnionEntryC*   somtGetFirstUnion()
{
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMTClassEntryC),
	 ((somTD_SOMTClassEntryC_somtGetFirstUnion)(SOMTClassEntryCClassData.somtGetFirstUnion))(((SOMTClassEntryC *)((void *)this)))
	);
}


/* method: somtGetNextUnion */
SOMTUnionEntryC*   somtGetNextUnion()
{
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMTClassEntryC),
	 ((somTD_SOMTClassEntryC_somtGetNextUnion)(SOMTClassEntryCClassData.somtGetNextUnion))(((SOMTClassEntryC *)((void *)this)))
	);
}


/* method: somtGetFirstEnum */
SOMTEnumEntryC*   somtGetFirstEnum()
{
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMTClassEntryC),
	 ((somTD_SOMTClassEntryC_somtGetFirstEnum)(SOMTClassEntryCClassData.somtGetFirstEnum))(((SOMTClassEntryC *)((void *)this)))
	);
}


/* method: somtGetNextEnum */
SOMTEnumEntryC*   somtGetNextEnum()
{
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMTClassEntryC),
	 ((somTD_SOMTClassEntryC_somtGetNextEnum)(SOMTClassEntryCClassData.somtGetNextEnum))(((SOMTClassEntryC *)((void *)this)))
	);
}


/* method: somtGetFirstConstant */
SOMTConstEntryC*   somtGetFirstConstant()
{
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMTClassEntryC),
	 ((somTD_SOMTClassEntryC_somtGetFirstConstant)(SOMTClassEntryCClassData.somtGetFirstConstant))(((SOMTClassEntryC *)((void *)this)))
	);
}


/* method: somtGetNextConstant */
SOMTConstEntryC*   somtGetNextConstant()
{
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMTClassEntryC),
	 ((somTD_SOMTClassEntryC_somtGetNextConstant)(SOMTClassEntryCClassData.somtGetNextConstant))(((SOMTClassEntryC *)((void *)this)))
	);
}


/* method: somtGetFirstSequence */
SOMTSequenceEntryC*   somtGetFirstSequence()
{
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMTClassEntryC),
	 ((somTD_SOMTClassEntryC_somtGetFirstSequence)(SOMTClassEntryCClassData.somtGetFirstSequence))(((SOMTClassEntryC *)((void *)this)))
	);
}


/* method: somtGetNextSequence */
SOMTSequenceEntryC*   somtGetNextSequence()
{
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMTClassEntryC),
	 ((somTD_SOMTClassEntryC_somtGetNextSequence)(SOMTClassEntryCClassData.somtGetNextSequence))(((SOMTClassEntryC *)((void *)this)))
	);
}


/* method: somtGetFirstPubdef */
SOMTEntryC*   somtGetFirstPubdef()
{
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMTClassEntryC),
	 ((somTD_SOMTClassEntryC_somtGetFirstPubdef)(SOMTClassEntryCClassData.somtGetFirstPubdef))(((SOMTClassEntryC *)((void *)this)))
	);
}


/* method: somtGetNextPubdef */
SOMTEntryC*   somtGetNextPubdef()
{
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMTClassEntryC),
	 ((somTD_SOMTClassEntryC_somtGetNextPubdef)(SOMTClassEntryCClassData.somtGetNextPubdef))(((SOMTClassEntryC *)((void *)this)))
	);
}


/* method: somtFilterNew */
boolean   somtFilterNew(SOMTMethodEntryC* entry)
{
/*
 *  Returns 1 if entry is new in the class.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMTClassEntryC),
	 ((somTD_SOMTClassEntryC_somtFilterNew)(SOMTClassEntryCClassData.somtFilterNew))(((SOMTClassEntryC *)((void *)this)),entry)
	);
}


/* method: somtFilterOverridden */
boolean   somtFilterOverridden(SOMTMethodEntryC* entry)
{
/*
 *  Returns 1 if entry is an overriding method of the class.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMTClassEntryC),
	 ((somTD_SOMTClassEntryC_somtFilterOverridden)(SOMTClassEntryCClassData.somtFilterOverridden))(((SOMTClassEntryC *)((void *)this)),entry)
	);
}


/* method: somtFilterPrivOrPub */
boolean   somtFilterPrivOrPub(SOMTCommonEntryC* entry)
{
/*
 *  Returns TRUE if entry is Private or Public.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMTClassEntryC),
	 ((somTD_SOMTClassEntryC_somtFilterPrivOrPub)(SOMTClassEntryCClassData.somtFilterPrivOrPub))(((SOMTClassEntryC *)((void *)this)),entry)
	);
}


/*
 * Reintroduce inherited methods
 */

/* method: _get_somtEntryName */
string   _get_somtEntryName()
{
/*
 *  The name associated with this entry.  Eg, the name of
 *  the data item, the class, the method, the type, etc.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMTEntryC),
	 ((somTD_SOMTClassEntryC__get_somtEntryName)(SOMTEntryCClassData._get_somtEntryName))(((SOMTClassEntryC *)((void *)this)))
	);
}


/* method: _set_somtEntryName */
void   _set_somtEntryName(string somtEntryName)
{
/*
 *  The name associated with this entry.  Eg, the name of
 *  the data item, the class, the method, the type, etc.
 */
   	(
	 SOM_TestCls(this,_SOMCLASS_SOMTEntryC),
	 ((somTD_SOMTClassEntryC__set_somtEntryName)(SOMTEntryCClassData._set_somtEntryName))(((SOMTClassEntryC *)((void *)this)),somtEntryName)
	);
}


/* method: _get_somtElementType */
SOMTTypes   _get_somtElementType()
{
/*
 *  Returns the type of this entry.
 *  This is not datatype, but entry type (method, class,
 *  passthru, etc.). The value is defined by SOMTTypes.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMTEntryC),
	 ((somTD_SOMTClassEntryC__get_somtElementType)(SOMTEntryCClassData._get_somtElementType))(((SOMTClassEntryC *)((void *)this)))
	);
}


/* method: _set_somtElementType */
void   _set_somtElementType(SOMTTypes somtElementType)
{
/*
 *  Returns the type of this entry.
 *  This is not datatype, but entry type (method, class,
 *  passthru, etc.). The value is defined by SOMTTypes.
 */
   	(
	 SOM_TestCls(this,_SOMCLASS_SOMTEntryC),
	 ((somTD_SOMTClassEntryC__set_somtElementType)(SOMTEntryCClassData._set_somtElementType))(((SOMTClassEntryC *)((void *)this)),somtElementType)
	);
}


/* method: _get_somtElementTypeName */
string   _get_somtElementTypeName()
{
/*
 *  String version of somtElementType.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMTEntryC),
	 ((somTD_SOMTClassEntryC__get_somtElementTypeName)(SOMTEntryCClassData._get_somtElementTypeName))(((SOMTClassEntryC *)((void *)this)))
	);
}


/* method: _get_somtEntryComment */
string   _get_somtEntryComment()
{
/*
 *  Returns the comment associated with this entry, or NULL is this
 *  entry has no associated comment.  Comments will have comment
 *  delimitors removed, but will retain newline characters as
 *  specified in the source file. (use smLookupComment)
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMTEntryC),
	 ((somTD_SOMTClassEntryC__get_somtEntryComment)(SOMTEntryCClassData._get_somtEntryComment))(((SOMTClassEntryC *)((void *)this)))
	);
}


/* method: _get_somtSourceLineNumber */
unsigned long   _get_somtSourceLineNumber()
{
/*
 *  Returns the line number in the source file where this entry's
 *  syntactic form ended.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMTEntryC),
	 ((somTD_SOMTClassEntryC__get_somtSourceLineNumber)(SOMTEntryCClassData._get_somtSourceLineNumber))(((SOMTClassEntryC *)((void *)this)))
	);
}


/* method: _get_somtTypeCode */
TypeCode   _get_somtTypeCode()
{
/*
 *  The typecode, if appropriate, or NULL.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMTEntryC),
	 ((somTD_SOMTClassEntryC__get_somtTypeCode)(SOMTEntryCClassData._get_somtTypeCode))(((SOMTClassEntryC *)((void *)this)))
	);
}


/* method: _get_somtIsReference */
boolean   _get_somtIsReference()
{
/*
 *  Whether the entry is just a reference to the real type (TRUE)
 *  rather than a declaration of it (FALSE).
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMTEntryC),
	 ((somTD_SOMTClassEntryC__get_somtIsReference)(SOMTEntryCClassData._get_somtIsReference))(((SOMTClassEntryC *)((void *)this)))
	);
}


/* method: _get_somtIDLScopedName */
string   _get_somtIDLScopedName()
{
/*
 *  The IDL scoped name of the entry (using double colon as delimiter).
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMTEntryC),
	 ((somTD_SOMTClassEntryC__get_somtIDLScopedName)(SOMTEntryCClassData._get_somtIDLScopedName))(((SOMTClassEntryC *)((void *)this)))
	);
}


/* method: _get_somtCScopedName */
string   _get_somtCScopedName()
{
/*
 *  The C scoped name of the entry (using underscore as delimiter).
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMTEntryC),
	 ((somTD_SOMTClassEntryC__get_somtCScopedName)(SOMTEntryCClassData._get_somtCScopedName))(((SOMTClassEntryC *)((void *)this)))
	);
}


/* method: somtGetModifierValue */
string   somtGetModifierValue(string modifierName)
{
/*
 *  Returns the value of the named modifier if this entry has the
 *  named modifier and NULL otherwise. Note: if the modifier is
 *  present but does not have a value then a value of <'\1'> is
 *  returned.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMTEntryC),
	 ((somTD_SOMTClassEntryC_somtGetModifierValue)(SOMTEntryCClassData.somtGetModifierValue))(((SOMTClassEntryC *)((void *)this)),modifierName)
	);
}


/* method: somtGetFirstModifier */
boolean   somtGetFirstModifier(string* modifierName, 
		string* modifierValue)
{
/*
 *  Returns the first modifier associated with this entry.  1 (true)
 *  is returned if the entry has at least one modifier and 0 (false)
 *  otherwise.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMTEntryC),
	 ((somTD_SOMTClassEntryC_somtGetFirstModifier)(SOMTEntryCClassData.somtGetFirstModifier))(((SOMTClassEntryC *)((void *)this)),modifierName,modifierValue)
	);
}


/* method: somtGetNextModifier */
boolean   somtGetNextModifier(string* modifierName, 
		string* modifierValue)
{
/*
 *  Returns the next modifier (with respect to the last call to
 *  <somtGetNextModifier> or <somtGetFirstModifier>)
 *  associated with this entry.  1 (true) is returned if the entry
 *  had another modifier and 0 (false) otherwise.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMTEntryC),
	 ((somTD_SOMTClassEntryC_somtGetNextModifier)(SOMTEntryCClassData.somtGetNextModifier))(((SOMTClassEntryC *)((void *)this)),modifierName,modifierValue)
	);
}


/* method: somtFormatModifier */
long   somtFormatModifier(string buffer, 
		string name, 
		string value)
{
/*
 *  Formats the indicated name/value pair into buffer.  Buffer must
 *  be big enough to hold all the formatted pair, no checks are made.
 *  The number of characters added to buffer are returned (not
 *  including the trailing null character).
 *  Note: value may be null
 *  You will probably never call this method, it is provided so that
 *  you can override it to control the format returned in
 *  <somtGetModifierList>.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMTEntryC),
	 ((somTD_SOMTClassEntryC_somtFormatModifier)(SOMTEntryCClassData.somtFormatModifier))(((SOMTClassEntryC *)((void *)this)),buffer,name,value)
	);
}


/* method: somtGetModifierList */
long   somtGetModifierList(string buffer)
{
/*
 *  The modifiers for this entry are placed in <buffer> in template
 *  list form (newline separated).  Buffer must be big enough to
 *  hold all the modifiers, no checks are made. The number of
 *  modifiers is returned.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMTEntryC),
	 ((somTD_SOMTClassEntryC_somtGetModifierList)(SOMTEntryCClassData.somtGetModifierList))(((SOMTClassEntryC *)((void *)this)),buffer)
	);
}


/* method: somtSetSymbolsOnEntry */
long   somtSetSymbolsOnEntry(SOMTEmitC* emitter, 
		string prefix)
{
/*
 *  Places a number of symbol/value pairs in <t>.  All the symbols
 *  will begin with <prefix>.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMTEntryC),
	 ((somTD_SOMTClassEntryC_somtSetSymbolsOnEntry)(SOMTEntryCClassData.somtSetSymbolsOnEntry))(((SOMTClassEntryC *)((void *)this)),emitter,prefix)
	);
}


/* method: somtSetEntryStruct */
void   somtSetEntryStruct(Entry* es)
{
/*
 *  Sets the entry struct data member.
 *  Note, when overridding this method, it is important to call the
 *  parent version of the method first and then do your processing.
 */
   	(
	 SOM_TestCls(this,_SOMCLASS_SOMTEntryC),
	 ((somTD_SOMTClassEntryC_somtSetEntryStruct)(SOMTEntryCClassData.somtSetEntryStruct))(((SOMTClassEntryC *)((void *)this)),es)
	);
}


/* method: somInit */
void   somInit()
{
   	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_SOMTClassEntryC_somInit)(SOMObjectClassData.somInit))(((SOMTClassEntryC *)((void *)this)))
	);
}


/* method: somUninit */
void   somUninit()
{
   	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_SOMTClassEntryC_somUninit)(SOMObjectClassData.somUninit))(((SOMTClassEntryC *)((void *)this)))
	);
}


/* method: somPrintSelf */
SOMTClassEntryC*  somPrintSelf()
{
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_SOMTClassEntryC_somPrintSelf)(SOMObjectClassData.somPrintSelf))(((SOMTClassEntryC *)((void *)this)))
	);
}


/* method: somDumpSelfInt */
void   somDumpSelfInt(long level)
{
   	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_SOMTClassEntryC_somDumpSelfInt)(SOMObjectClassData.somDumpSelfInt))(((SOMTClassEntryC *)((void *)this)),level)
	);
}


/* method: somDumpSelf */
void   somDumpSelf(long level)
{
   	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_SOMTClassEntryC_somDumpSelf)(SOMObjectClassData.somDumpSelf))(((SOMTClassEntryC *)((void *)this)),level)
	);
}


/* initializer method: somDefaultInit */
void   somDefaultInit(som3InitCtrl* ctrl)
{
/*
 *  A default initializer for a SOM object. Passing a null ctrl
 *  indicates to the receiver that its class is the class of the
 *  object being initialized, whereby the initializer will determine
 *  an appropriate control structure.
 */
   	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_SOMTClassEntryC_somDefaultInit)(SOMObjectClassData.somDefaultInit))(((SOMTClassEntryC *)((void *)this)),ctrl)
	);
}


/* method: somDestruct */
void   somDestruct(octet doFree, 
		som3DestructCtrl* ctrl)
{
/*
 *  The default destructor for a SOM object. A nonzero <doFree>
 *  indicates that the object storage should be freed by the
 *  object's class (via somDeallocate) after uninitialization.
 *  As with somDefaultInit, a null ctrl can be passed.
 */
   	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_SOMTClassEntryC_somDestruct)(SOMObjectClassData.somDestruct))(((SOMTClassEntryC *)((void *)this)),doFree,ctrl)
	);
}


/* initializer method: somDefaultCopyInit */
void   somDefaultCopyInit(som3InitCtrl* ctrl, 
		SOMObject* fromObj)
{
/*
 *  A default copy constructor. Use this to make copies of objects for
 *  calling methods with "by-value" argument semantics.
 */
   	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_SOMTClassEntryC_somDefaultCopyInit)(SOMObjectClassData.somDefaultCopyInit))(((SOMTClassEntryC *)((void *)this)),ctrl,fromObj)
	);
}


/* method: somDefaultAssign */
SOMTClassEntryC*  somDefaultAssign(som3AssignCtrl* ctrl, 
		SOMObject* fromObj)
{
/*
 *  A default assignment operator. Use this to "assign" the state of one
 *  object to another.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_SOMTClassEntryC_somDefaultAssign)(SOMObjectClassData.somDefaultAssign))(((SOMTClassEntryC *)((void *)this)),ctrl,fromObj)
	);
}


/* initializer method: somDefaultConstCopyInit */
void   somDefaultConstCopyInit(som3InitCtrl* ctrl, 
		SOMObject* fromObj)
{
/*
 *  A default copy constructor that uses a const fromObj.
 */
   	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_SOMTClassEntryC_somDefaultConstCopyInit)(SOMObjectClassData.somDefaultConstCopyInit))(((SOMTClassEntryC *)((void *)this)),ctrl,fromObj)
	);
}


/* initializer method: somDefaultVCopyInit */
void   somDefaultVCopyInit(som3InitCtrl* ctrl, 
		SOMObject* fromObj)
{
/*
 *  A default copy constructor that uses a volatile fromObj.
 */
   	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_SOMTClassEntryC_somDefaultVCopyInit)(SOMObjectClassData.somDefaultVCopyInit))(((SOMTClassEntryC *)((void *)this)),ctrl,fromObj)
	);
}


/* initializer method: somDefaultConstVCopyInit */
void   somDefaultConstVCopyInit(som3InitCtrl* ctrl, 
		SOMObject* fromObj)
{
/*
 *  A default copy constructor that uses a const volatile fromObj.
 */
   	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_SOMTClassEntryC_somDefaultConstVCopyInit)(SOMObjectClassData.somDefaultConstVCopyInit))(((SOMTClassEntryC *)((void *)this)),ctrl,fromObj)
	);
}


/* method: somDefaultConstAssign */
SOMTClassEntryC*  somDefaultConstAssign(som3AssignCtrl* ctrl, 
		SOMObject* fromObj)
{
/*
 *  A default assignment operator that uses a const fromObj.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_SOMTClassEntryC_somDefaultConstAssign)(SOMObjectClassData.somDefaultConstAssign))(((SOMTClassEntryC *)((void *)this)),ctrl,fromObj)
	);
}


/* method: somDefaultVAssign */
SOMTClassEntryC*  somDefaultVAssign(som3AssignCtrl* ctrl, 
		SOMObject* fromObj)
{
/*
 *  A default assignment operator that uses a volatile fromObj.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_SOMTClassEntryC_somDefaultVAssign)(SOMObjectClassData.somDefaultVAssign))(((SOMTClassEntryC *)((void *)this)),ctrl,fromObj)
	);
}


/* method: somDefaultConstVAssign */
SOMTClassEntryC*  somDefaultConstVAssign(som3AssignCtrl* ctrl, 
		SOMObject* fromObj)
{
/*
 *  A default assignment operator that uses a const volatile fromObj.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_SOMTClassEntryC_somDefaultConstVAssign)(SOMObjectClassData.somDefaultConstVAssign))(((SOMTClassEntryC *)((void *)this)),ctrl,fromObj)
	);
}


/* method: somFree */
void   somFree()
{
/*
 *  The default implementation just calls somDestruct.
 */
   	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_SOMTClassEntryC_somFree)(SOMObjectClassData.somFree))(((SOMTClassEntryC *)((void *)this)))
	);
}


/* method: somGetClass */
SOMClass*   somGetClass()
{
/*
 *  Return the receiver's class.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_SOMTClassEntryC_somGetClass)(SOMObjectClassData.somGetClass))(((SOMTClassEntryC *)((void *)this)))
	);
}


/* method: somGetClassName */
string   somGetClassName()
{
/*
 *  Return the name of the receiver's class.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_SOMTClassEntryC_somGetClassName)(SOMObjectClassData.somGetClassName))(((SOMTClassEntryC *)((void *)this)))
	);
}


/* method: somGetSize */
long   somGetSize()
{
/*
 *  Return the size of the receiver.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_SOMTClassEntryC_somGetSize)(SOMObjectClassData.somGetSize))(((SOMTClassEntryC *)((void *)this)))
	);
}


/* method: somIsA */
boolean   somIsA(SOMClass* aClassObj)
{
/*
 *  Returns 1 (true) if the receiver responds to methods
 *  introduced by <aClassObj>, and 0 (false) otherwise.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_SOMTClassEntryC_somIsA)(SOMObjectClassData.somIsA))(((SOMTClassEntryC *)((void *)this)),aClassObj)
	);
}


/* method: somIsInstanceOf */
boolean   somIsInstanceOf(SOMClass* aClassObj)
{
/*
 *  Returns 1 (true) if the receiver is an instance of
 *  <aClassObj> and 0 (false) otherwise.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_SOMTClassEntryC_somIsInstanceOf)(SOMObjectClassData.somIsInstanceOf))(((SOMTClassEntryC *)((void *)this)),aClassObj)
	);
}


/* method: somRespondsTo */
boolean   somRespondsTo(somId mId)
{
/*
 *  Returns 1 (true) if the indicated method can be invoked
 *  on the receiver and 0 (false) otherwise.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_SOMTClassEntryC_somRespondsTo)(SOMObjectClassData.somRespondsTo))(((SOMTClassEntryC *)((void *)this)),mId)
	);
}


/* va_list method: somDispatch */

/*
 *  This method provides a generic, class-specific dispatch mechanism.
 *  It accepts as input <retValue> a pointer to the memory area to be
 *  loaded with the result of dispatching the method indicated by
 *  <methodId> using the arguments in <ap>. <ap> contains the object
 *  on which the method is to be invoked as the first argument.
 * 
 *  Default redispatch stubs invoke this method.
 */
/* the va_list invocation form */
boolean   SOMObject_somDispatch(somToken* retValue, 
		somId methodId, 
		va_list ap)
{   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_SOMTClassEntryC_somDispatch)(SOMObjectClassData.somDispatch))(((SOMTClassEntryC *)((void *)this)),retValue,methodId,ap)
	);
}

/* the varargs invocation form */
boolean   somDispatch(somToken* retValue, 
		somId methodId, 
		...)
{
/*
 *  This method provides a generic, class-specific dispatch mechanism.
 *  It accepts as input <retValue> a pointer to the memory area to be
 *  loaded with the result of dispatching the method indicated by
 *  <methodId> using the arguments in <ap>. <ap> contains the object
 *  on which the method is to be invoked as the first argument.
 * 
 *  Default redispatch stubs invoke this method.
 */
   va_list ap;
   va_start(ap, methodId);
   boolean __somResult = 
      	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_SOMTClassEntryC_somDispatch)(SOMObjectClassData.somDispatch))(((SOMTClassEntryC *)((void *)this)),retValue,methodId,ap)
	);
   va_end(ap);
   return __somResult;
}


/* va_list method: somClassDispatch */

/*
 *  Like somDispatch, but method resolution for static methods is done
 *  according to the clsObj instance method table.
 */
/* the va_list invocation form */
boolean   SOMObject_somClassDispatch(SOMClass* clsObj, 
		somToken* retValue, 
		somId methodId, 
		va_list ap)
{   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_SOMTClassEntryC_somClassDispatch)(SOMObjectClassData.somClassDispatch))(((SOMTClassEntryC *)((void *)this)),clsObj,retValue,methodId,ap)
	);
}

/* the varargs invocation form */
boolean   somClassDispatch(SOMClass* clsObj, 
		somToken* retValue, 
		somId methodId, 
		...)
{
/*
 *  Like somDispatch, but method resolution for static methods is done
 *  according to the clsObj instance method table.
 */
   va_list ap;
   va_start(ap, methodId);
   boolean __somResult = 
      	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_SOMTClassEntryC_somClassDispatch)(SOMObjectClassData.somClassDispatch))(((SOMTClassEntryC *)((void *)this)),clsObj,retValue,methodId,ap)
	);
   va_end(ap);
   return __somResult;
}


/* method: somCastObj */
boolean   somCastObj(SOMClass* castedCls)
{
/*
 *  Changes the behavior of the target object to that implemented
 *  by castedCls. This is possible when all concrete data in castedCls
 *  is also concrete in the true class of the target object.
 *  Returns true (1) on success, and false (0) otherwise.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_SOMTClassEntryC_somCastObj)(SOMObjectClassData.somCastObj))(((SOMTClassEntryC *)((void *)this)),castedCls)
	);
}


/* method: somResetObj */
boolean   somResetObj()
{
/*
 *  reset an object to its true class. Returns true always.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_SOMTClassEntryC_somResetObj)(SOMObjectClassData.somResetObj))(((SOMTClassEntryC *)((void *)this)))
	);
}



};   /* SOMTClassEntryC */



#endif       /* SOM_SOMTClassEntryC_xh */
