
/*
 * This file was generated by the SOM Compiler.
 * FileName: scmethod.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_SOMTMethodEntryC_xh
#define SOM_SOMTMethodEntryC_xh


#define SOMTMethodEntryC_MajorVersion 2
#define SOMTMethodEntryC_MinorVersion 1
class SOMTMethodEntryC;

/* Parents */
#ifndef SOM_SOMTCommonEntryC_xh
#ifdef SOMLOCALINCLUDES
#include "sccommon.xh"
#else
#include <sccommon.xh>
#endif
#endif

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

#ifndef SOMTMethodEntryC_API
#define SOMTMethodEntryC_API
/*
 * -- The Class API
 */
#ifndef SOM_IMPORTEXPORT_some_scmethod
#ifdef SOM_DLL_some
	/* export semantics */
	#if defined(SOM_DEFFILE_some)\
	||(defined(SOM_DEFFILE_BY_DEFAULT)&&!defined(SOM_NODEFFILE_some))\
	|| !defined(SOM_Module_scmethod_Source)
	#define SOM_IMPORTEXPORT_some_scmethod
	#else
	#define SOM_IMPORTEXPORT_some_scmethod SOMDLLEXPORT
	#endif
#else
	#define SOM_IMPORTEXPORT_some_scmethod 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 SOMTMethodEntryC class object...
 */
SOMEXTERN SOM_IMPORTEXPORT_some_scmethod SOMClass * SOMLINK SOMTMethodEntryCNewClass(
		integer4 majorVersion,
		integer4 minorVersion);


/*
 * The API 2 ClassData Structures...
 */
SOMEXTERN struct SOMTMethodEntryCClassDataStructure {
	SOMClass *classObject;
	somMToken _get_somtIsVarargs;
	somMToken _get_somtOriginalMethod;
	somMToken _get_somtOriginalClass;
	somMToken _get_somtMethodGroup;
	somMToken somtGetFirstParameter;
	somMToken somtGetNextParameter;
	somMToken somtGetArgList;
	somMToken somtGetParmList;
	somMToken _get_somtIsPrivateMethod;
	somMToken _get_somtIsOneway;
	somMToken _get_somtArgCount;
	somMToken somtGetFirstException;
	somMToken somtGetNextException;
	somMToken _get_somtContextArray;
	somMToken somtGetShortCPrototype;
	somMToken somtGetFullCPrototype;
	somMToken somtGetShortParmList;
	somMToken somtGetFullParmList;
	somMToken somtGetNthParameter;
	somMToken _get_somtCReturnType;
	somMToken somtGetIDLParamList;
	somMToken somtGetShortCParamList;
	somMToken somtGetFullCParamList;
	somMToken somtGetShortParamNameList;
	somMToken somtGetFullParamNameList;
} SOMDLINK SOM_IMPORTEXPORT_some_scmethod SOMTMethodEntryCClassData;
SOMEXTERN struct SOMTMethodEntryCCClassDataStructure {
	som3ClassDetailsPtr    parentMtab;
	somDToken              instanceDataToken;
} SOMDLINK SOM_IMPORTEXPORT_some_scmethod SOMTMethodEntryCCClassData;


/*
 * Class Object and Method Token Macros
 */
#define _SOMCLASS_SOMTMethodEntryC (SOMTMethodEntryCClassData.classObject)
#ifndef SOMGD_SOMTMethodEntryC
    #if (defined(_SOMTMethodEntryC) || defined(__SOMTMethodEntryC))
        #undef _SOMTMethodEntryC
        #undef __SOMTMethodEntryC
        #define SOMGD_SOMTMethodEntryC 1
    #else
        #define _SOMTMethodEntryC _SOMCLASS_SOMTMethodEntryC
    #endif /* _SOMTMethodEntryC */
#endif /* SOMGD_SOMTMethodEntryC */
#define SOMTMethodEntryC_classObj _SOMCLASS_SOMTMethodEntryC
#define _SOMMTOKEN_SOMTMethodEntryC(method) ((somMToken)SOMTMethodEntryCClassData.method)

/*
 * -- Typedefs for SOMTMethodEntryC Method Procedures
 */
SOMEXTERN {
typedef boolean   SOMLINK somTP_SOMTMethodEntryC__get_somtIsVarargs(SOMTMethodEntryC *somSelf);
typedef somTP_SOMTMethodEntryC__get_somtIsVarargs *somTD_SOMTMethodEntryC__get_somtIsVarargs;
typedef SOMTMethodEntryC*   SOMLINK somTP_SOMTMethodEntryC__get_somtOriginalMethod(SOMTMethodEntryC *somSelf);
typedef somTP_SOMTMethodEntryC__get_somtOriginalMethod *somTD_SOMTMethodEntryC__get_somtOriginalMethod;
typedef SOMTClassEntryC*   SOMLINK somTP_SOMTMethodEntryC__get_somtOriginalClass(SOMTMethodEntryC *somSelf);
typedef somTP_SOMTMethodEntryC__get_somtOriginalClass *somTD_SOMTMethodEntryC__get_somtOriginalClass;
typedef SOMTEntryC*   SOMLINK somTP_SOMTMethodEntryC__get_somtMethodGroup(SOMTMethodEntryC *somSelf);
typedef somTP_SOMTMethodEntryC__get_somtMethodGroup *somTD_SOMTMethodEntryC__get_somtMethodGroup;
typedef boolean   SOMLINK somTP_SOMTMethodEntryC__get_somtIsPrivateMethod(SOMTMethodEntryC *somSelf);
typedef somTP_SOMTMethodEntryC__get_somtIsPrivateMethod *somTD_SOMTMethodEntryC__get_somtIsPrivateMethod;
typedef boolean   SOMLINK somTP_SOMTMethodEntryC__get_somtIsOneway(SOMTMethodEntryC *somSelf);
typedef somTP_SOMTMethodEntryC__get_somtIsOneway *somTD_SOMTMethodEntryC__get_somtIsOneway;
typedef short   SOMLINK somTP_SOMTMethodEntryC__get_somtArgCount(SOMTMethodEntryC *somSelf);
typedef somTP_SOMTMethodEntryC__get_somtArgCount *somTD_SOMTMethodEntryC__get_somtArgCount;
typedef SOMTParameterEntryC*   SOMLINK somTP_SOMTMethodEntryC_somtGetFirstParameter(SOMTMethodEntryC *somSelf);
typedef somTP_SOMTMethodEntryC_somtGetFirstParameter *somTD_SOMTMethodEntryC_somtGetFirstParameter;
typedef SOMTParameterEntryC*   SOMLINK somTP_SOMTMethodEntryC_somtGetNextParameter(SOMTMethodEntryC *somSelf);
typedef somTP_SOMTMethodEntryC_somtGetNextParameter *somTD_SOMTMethodEntryC_somtGetNextParameter;
typedef string   SOMLINK somTP_SOMTMethodEntryC_somtGetIDLParamList(SOMTMethodEntryC *somSelf, 
		string buffer);
typedef somTP_SOMTMethodEntryC_somtGetIDLParamList *somTD_SOMTMethodEntryC_somtGetIDLParamList;
typedef string   SOMLINK somTP_SOMTMethodEntryC_somtGetShortCParamList(SOMTMethodEntryC *somSelf, 
		string buffer, 
		string selfParm, 
		string varargsParm);
typedef somTP_SOMTMethodEntryC_somtGetShortCParamList *somTD_SOMTMethodEntryC_somtGetShortCParamList;
typedef string   SOMLINK somTP_SOMTMethodEntryC_somtGetFullCParamList(SOMTMethodEntryC *somSelf, 
		string buffer, 
		string varargsParm);
typedef somTP_SOMTMethodEntryC_somtGetFullCParamList *somTD_SOMTMethodEntryC_somtGetFullCParamList;
typedef string   SOMLINK somTP_SOMTMethodEntryC_somtGetShortParamNameList(SOMTMethodEntryC *somSelf, 
		string buffer, 
		string selfParm, 
		string varargsParm);
typedef somTP_SOMTMethodEntryC_somtGetShortParamNameList *somTD_SOMTMethodEntryC_somtGetShortParamNameList;
typedef string   SOMLINK somTP_SOMTMethodEntryC_somtGetFullParamNameList(SOMTMethodEntryC *somSelf, 
		string buffer, 
		string varargsParm);
typedef somTP_SOMTMethodEntryC_somtGetFullParamNameList *somTD_SOMTMethodEntryC_somtGetFullParamNameList;
typedef SOMTParameterEntryC*   SOMLINK somTP_SOMTMethodEntryC_somtGetNthParameter(SOMTMethodEntryC *somSelf, 
		short n);
typedef somTP_SOMTMethodEntryC_somtGetNthParameter *somTD_SOMTMethodEntryC_somtGetNthParameter;
typedef SOMTStructEntryC*   SOMLINK somTP_SOMTMethodEntryC_somtGetFirstException(SOMTMethodEntryC *somSelf);
typedef somTP_SOMTMethodEntryC_somtGetFirstException *somTD_SOMTMethodEntryC_somtGetFirstException;
typedef SOMTStructEntryC*   SOMLINK somTP_SOMTMethodEntryC_somtGetNextException(SOMTMethodEntryC *somSelf);
typedef somTP_SOMTMethodEntryC_somtGetNextException *somTD_SOMTMethodEntryC_somtGetNextException;
typedef string*   SOMLINK somTP_SOMTMethodEntryC__get_somtContextArray(SOMTMethodEntryC *somSelf);
typedef somTP_SOMTMethodEntryC__get_somtContextArray *somTD_SOMTMethodEntryC__get_somtContextArray;
typedef string   SOMLINK somTP_SOMTMethodEntryC__get_somtCReturnType(SOMTMethodEntryC *somSelf);
typedef somTP_SOMTMethodEntryC__get_somtCReturnType *somTD_SOMTMethodEntryC__get_somtCReturnType;

/*
 * -- Typedefs for Reintroduced Wrapper Methods
 */
typedef SOMTEntryC*   SOMLINK somTP_SOMTMethodEntryC__get_somtTypeObj(SOMTMethodEntryC *somSelf);
typedef somTP_SOMTMethodEntryC__get_somtTypeObj *somTD_SOMTMethodEntryC__get_somtTypeObj;
typedef string   SOMLINK somTP_SOMTMethodEntryC__get_somtPtrs(SOMTMethodEntryC *somSelf);
typedef somTP_SOMTMethodEntryC__get_somtPtrs *somTD_SOMTMethodEntryC__get_somtPtrs;
typedef string   SOMLINK somTP_SOMTMethodEntryC__get_somtArrayDimsString(SOMTMethodEntryC *somSelf);
typedef somTP_SOMTMethodEntryC__get_somtArrayDimsString *somTD_SOMTMethodEntryC__get_somtArrayDimsString;
typedef unsigned long   SOMLINK somTP_SOMTMethodEntryC_somtGetFirstArrayDimension(SOMTMethodEntryC *somSelf);
typedef somTP_SOMTMethodEntryC_somtGetFirstArrayDimension *somTD_SOMTMethodEntryC_somtGetFirstArrayDimension;
typedef unsigned long   SOMLINK somTP_SOMTMethodEntryC_somtGetNextArrayDimension(SOMTMethodEntryC *somSelf);
typedef somTP_SOMTMethodEntryC_somtGetNextArrayDimension *somTD_SOMTMethodEntryC_somtGetNextArrayDimension;
typedef string   SOMLINK somTP_SOMTMethodEntryC__get_somtSourceText(SOMTMethodEntryC *somSelf);
typedef somTP_SOMTMethodEntryC__get_somtSourceText *somTD_SOMTMethodEntryC__get_somtSourceText;
typedef string   SOMLINK somTP_SOMTMethodEntryC__get_somtType(SOMTMethodEntryC *somSelf);
typedef somTP_SOMTMethodEntryC__get_somtType *somTD_SOMTMethodEntryC__get_somtType;
typedef somtVisibilityT   SOMLINK somTP_SOMTMethodEntryC__get_somtVisibility(SOMTMethodEntryC *somSelf);
typedef somTP_SOMTMethodEntryC__get_somtVisibility *somTD_SOMTMethodEntryC__get_somtVisibility;
typedef boolean   SOMLINK somTP_SOMTMethodEntryC_somtIsArray(SOMTMethodEntryC *somSelf, 
		long* size);
typedef somTP_SOMTMethodEntryC_somtIsArray *somTD_SOMTMethodEntryC_somtIsArray;
typedef boolean   SOMLINK somTP_SOMTMethodEntryC_somtIsPointer(SOMTMethodEntryC *somSelf);
typedef somTP_SOMTMethodEntryC_somtIsPointer *somTD_SOMTMethodEntryC_somtIsPointer;
typedef void   SOMLINK somTP_SOMTMethodEntryC_somDumpSelfInt(SOMTMethodEntryC *somSelf, 
		long level);
typedef somTP_SOMTMethodEntryC_somDumpSelfInt *somTD_SOMTMethodEntryC_somDumpSelfInt;
typedef long   SOMLINK somTP_SOMTMethodEntryC_somtSetSymbolsOnEntry(SOMTMethodEntryC *somSelf, 
		SOMTEmitC* emitter, 
		string prefix);
typedef somTP_SOMTMethodEntryC_somtSetSymbolsOnEntry *somTD_SOMTMethodEntryC_somtSetSymbolsOnEntry;
typedef string   SOMLINK somTP_SOMTMethodEntryC__get_somtEntryName(SOMTMethodEntryC *somSelf);
typedef somTP_SOMTMethodEntryC__get_somtEntryName *somTD_SOMTMethodEntryC__get_somtEntryName;
typedef void   SOMLINK somTP_SOMTMethodEntryC__set_somtEntryName(SOMTMethodEntryC *somSelf, 
		string somtEntryName);
typedef somTP_SOMTMethodEntryC__set_somtEntryName *somTD_SOMTMethodEntryC__set_somtEntryName;
typedef SOMTTypes   SOMLINK somTP_SOMTMethodEntryC__get_somtElementType(SOMTMethodEntryC *somSelf);
typedef somTP_SOMTMethodEntryC__get_somtElementType *somTD_SOMTMethodEntryC__get_somtElementType;
typedef void   SOMLINK somTP_SOMTMethodEntryC__set_somtElementType(SOMTMethodEntryC *somSelf, 
		SOMTTypes somtElementType);
typedef somTP_SOMTMethodEntryC__set_somtElementType *somTD_SOMTMethodEntryC__set_somtElementType;
typedef string   SOMLINK somTP_SOMTMethodEntryC__get_somtElementTypeName(SOMTMethodEntryC *somSelf);
typedef somTP_SOMTMethodEntryC__get_somtElementTypeName *somTD_SOMTMethodEntryC__get_somtElementTypeName;
typedef string   SOMLINK somTP_SOMTMethodEntryC__get_somtEntryComment(SOMTMethodEntryC *somSelf);
typedef somTP_SOMTMethodEntryC__get_somtEntryComment *somTD_SOMTMethodEntryC__get_somtEntryComment;
typedef unsigned long   SOMLINK somTP_SOMTMethodEntryC__get_somtSourceLineNumber(SOMTMethodEntryC *somSelf);
typedef somTP_SOMTMethodEntryC__get_somtSourceLineNumber *somTD_SOMTMethodEntryC__get_somtSourceLineNumber;
typedef TypeCode   SOMLINK somTP_SOMTMethodEntryC__get_somtTypeCode(SOMTMethodEntryC *somSelf);
typedef somTP_SOMTMethodEntryC__get_somtTypeCode *somTD_SOMTMethodEntryC__get_somtTypeCode;
typedef boolean   SOMLINK somTP_SOMTMethodEntryC__get_somtIsReference(SOMTMethodEntryC *somSelf);
typedef somTP_SOMTMethodEntryC__get_somtIsReference *somTD_SOMTMethodEntryC__get_somtIsReference;
typedef string   SOMLINK somTP_SOMTMethodEntryC__get_somtIDLScopedName(SOMTMethodEntryC *somSelf);
typedef somTP_SOMTMethodEntryC__get_somtIDLScopedName *somTD_SOMTMethodEntryC__get_somtIDLScopedName;
typedef string   SOMLINK somTP_SOMTMethodEntryC__get_somtCScopedName(SOMTMethodEntryC *somSelf);
typedef somTP_SOMTMethodEntryC__get_somtCScopedName *somTD_SOMTMethodEntryC__get_somtCScopedName;
typedef string   SOMLINK somTP_SOMTMethodEntryC_somtGetModifierValue(SOMTMethodEntryC *somSelf, 
		string modifierName);
typedef somTP_SOMTMethodEntryC_somtGetModifierValue *somTD_SOMTMethodEntryC_somtGetModifierValue;
typedef boolean   SOMLINK somTP_SOMTMethodEntryC_somtGetFirstModifier(SOMTMethodEntryC *somSelf, 
		string* modifierName, 
		string* modifierValue);
typedef somTP_SOMTMethodEntryC_somtGetFirstModifier *somTD_SOMTMethodEntryC_somtGetFirstModifier;
typedef boolean   SOMLINK somTP_SOMTMethodEntryC_somtGetNextModifier(SOMTMethodEntryC *somSelf, 
		string* modifierName, 
		string* modifierValue);
typedef somTP_SOMTMethodEntryC_somtGetNextModifier *somTD_SOMTMethodEntryC_somtGetNextModifier;
typedef long   SOMLINK somTP_SOMTMethodEntryC_somtFormatModifier(SOMTMethodEntryC *somSelf, 
		string buffer, 
		string name, 
		string value);
typedef somTP_SOMTMethodEntryC_somtFormatModifier *somTD_SOMTMethodEntryC_somtFormatModifier;
typedef long   SOMLINK somTP_SOMTMethodEntryC_somtGetModifierList(SOMTMethodEntryC *somSelf, 
		string buffer);
typedef somTP_SOMTMethodEntryC_somtGetModifierList *somTD_SOMTMethodEntryC_somtGetModifierList;
typedef void   SOMLINK somTP_SOMTMethodEntryC_somtSetEntryStruct(SOMTMethodEntryC *somSelf, 
		Entry* es);
typedef somTP_SOMTMethodEntryC_somtSetEntryStruct *somTD_SOMTMethodEntryC_somtSetEntryStruct;
typedef void   SOMLINK somTP_SOMTMethodEntryC_somInit(SOMTMethodEntryC *somSelf);
typedef somTP_SOMTMethodEntryC_somInit *somTD_SOMTMethodEntryC_somInit;
typedef void   SOMLINK somTP_SOMTMethodEntryC_somUninit(SOMTMethodEntryC *somSelf);
typedef somTP_SOMTMethodEntryC_somUninit *somTD_SOMTMethodEntryC_somUninit;
typedef SOMTMethodEntryC*   SOMLINK somTP_SOMTMethodEntryC_somPrintSelf(SOMTMethodEntryC *somSelf);
typedef somTP_SOMTMethodEntryC_somPrintSelf *somTD_SOMTMethodEntryC_somPrintSelf;
typedef void   SOMLINK somTP_SOMTMethodEntryC_somDumpSelf(SOMTMethodEntryC *somSelf, 
		long level);
typedef somTP_SOMTMethodEntryC_somDumpSelf *somTD_SOMTMethodEntryC_somDumpSelf;
typedef void   SOMLINK somTP_SOMTMethodEntryC_somDefaultInit(SOMTMethodEntryC *somSelf, 
		som3InitCtrl* ctrl);
typedef somTP_SOMTMethodEntryC_somDefaultInit *somTD_SOMTMethodEntryC_somDefaultInit;
typedef void   SOMLINK somTP_SOMTMethodEntryC_somDestruct(SOMTMethodEntryC *somSelf, 
		octet doFree, 
		som3DestructCtrl* ctrl);
typedef somTP_SOMTMethodEntryC_somDestruct *somTD_SOMTMethodEntryC_somDestruct;
typedef void   SOMLINK somTP_SOMTMethodEntryC_somDefaultCopyInit(SOMTMethodEntryC *somSelf, 
		som3InitCtrl* ctrl, 
		SOMObject* fromObj);
typedef somTP_SOMTMethodEntryC_somDefaultCopyInit *somTD_SOMTMethodEntryC_somDefaultCopyInit;
typedef SOMTMethodEntryC*   SOMLINK somTP_SOMTMethodEntryC_somDefaultAssign(SOMTMethodEntryC *somSelf, 
		som3AssignCtrl* ctrl, 
		SOMObject* fromObj);
typedef somTP_SOMTMethodEntryC_somDefaultAssign *somTD_SOMTMethodEntryC_somDefaultAssign;
typedef void   SOMLINK somTP_SOMTMethodEntryC_somDefaultConstCopyInit(SOMTMethodEntryC *somSelf, 
		som3InitCtrl* ctrl, 
		SOMObject* fromObj);
typedef somTP_SOMTMethodEntryC_somDefaultConstCopyInit *somTD_SOMTMethodEntryC_somDefaultConstCopyInit;
typedef void   SOMLINK somTP_SOMTMethodEntryC_somDefaultVCopyInit(SOMTMethodEntryC *somSelf, 
		som3InitCtrl* ctrl, 
		SOMObject* fromObj);
typedef somTP_SOMTMethodEntryC_somDefaultVCopyInit *somTD_SOMTMethodEntryC_somDefaultVCopyInit;
typedef void   SOMLINK somTP_SOMTMethodEntryC_somDefaultConstVCopyInit(SOMTMethodEntryC *somSelf, 
		som3InitCtrl* ctrl, 
		SOMObject* fromObj);
typedef somTP_SOMTMethodEntryC_somDefaultConstVCopyInit *somTD_SOMTMethodEntryC_somDefaultConstVCopyInit;
typedef SOMTMethodEntryC*   SOMLINK somTP_SOMTMethodEntryC_somDefaultConstAssign(SOMTMethodEntryC *somSelf, 
		som3AssignCtrl* ctrl, 
		SOMObject* fromObj);
typedef somTP_SOMTMethodEntryC_somDefaultConstAssign *somTD_SOMTMethodEntryC_somDefaultConstAssign;
typedef SOMTMethodEntryC*   SOMLINK somTP_SOMTMethodEntryC_somDefaultVAssign(SOMTMethodEntryC *somSelf, 
		som3AssignCtrl* ctrl, 
		SOMObject* fromObj);
typedef somTP_SOMTMethodEntryC_somDefaultVAssign *somTD_SOMTMethodEntryC_somDefaultVAssign;
typedef SOMTMethodEntryC*   SOMLINK somTP_SOMTMethodEntryC_somDefaultConstVAssign(SOMTMethodEntryC *somSelf, 
		som3AssignCtrl* ctrl, 
		SOMObject* fromObj);
typedef somTP_SOMTMethodEntryC_somDefaultConstVAssign *somTD_SOMTMethodEntryC_somDefaultConstVAssign;
typedef void   SOMLINK somTP_SOMTMethodEntryC_somFree(SOMTMethodEntryC *somSelf);
typedef somTP_SOMTMethodEntryC_somFree *somTD_SOMTMethodEntryC_somFree;
typedef SOMClass*   SOMLINK somTP_SOMTMethodEntryC_somGetClass(SOMTMethodEntryC *somSelf);
typedef somTP_SOMTMethodEntryC_somGetClass *somTD_SOMTMethodEntryC_somGetClass;
typedef string   SOMLINK somTP_SOMTMethodEntryC_somGetClassName(SOMTMethodEntryC *somSelf);
typedef somTP_SOMTMethodEntryC_somGetClassName *somTD_SOMTMethodEntryC_somGetClassName;
typedef long   SOMLINK somTP_SOMTMethodEntryC_somGetSize(SOMTMethodEntryC *somSelf);
typedef somTP_SOMTMethodEntryC_somGetSize *somTD_SOMTMethodEntryC_somGetSize;
typedef boolean   SOMLINK somTP_SOMTMethodEntryC_somIsA(SOMTMethodEntryC *somSelf, 
		SOMClass* aClassObj);
typedef somTP_SOMTMethodEntryC_somIsA *somTD_SOMTMethodEntryC_somIsA;
typedef boolean   SOMLINK somTP_SOMTMethodEntryC_somIsInstanceOf(SOMTMethodEntryC *somSelf, 
		SOMClass* aClassObj);
typedef somTP_SOMTMethodEntryC_somIsInstanceOf *somTD_SOMTMethodEntryC_somIsInstanceOf;
typedef boolean   SOMLINK somTP_SOMTMethodEntryC_somRespondsTo(SOMTMethodEntryC *somSelf, 
		somId mId);
typedef somTP_SOMTMethodEntryC_somRespondsTo *somTD_SOMTMethodEntryC_somRespondsTo;
typedef boolean   SOMLINK somTP_SOMTMethodEntryC_somDispatch(SOMTMethodEntryC *somSelf, 
		somToken* retValue, 
		somId methodId, 
		va_list ap);
typedef somTP_SOMTMethodEntryC_somDispatch *somTD_SOMTMethodEntryC_somDispatch;
typedef boolean   SOMLINK somTP_SOMTMethodEntryC_somClassDispatch(SOMTMethodEntryC *somSelf, 
		SOMClass* clsObj, 
		somToken* retValue, 
		somId methodId, 
		va_list ap);
typedef somTP_SOMTMethodEntryC_somClassDispatch *somTD_SOMTMethodEntryC_somClassDispatch;
typedef boolean   SOMLINK somTP_SOMTMethodEntryC_somCastObj(SOMTMethodEntryC *somSelf, 
		SOMClass* castedCls);
typedef somTP_SOMTMethodEntryC_somCastObj *somTD_SOMTMethodEntryC_somCastObj;
typedef boolean   SOMLINK somTP_SOMTMethodEntryC_somResetObj(SOMTMethodEntryC *somSelf);
typedef somTP_SOMTMethodEntryC_somResetObj *somTD_SOMTMethodEntryC_somResetObj;
}

#endif /* SOMTMethodEntryC_API */


/*
 * -- The C++ Wrapper Class for SOMTMethodEntryC
 */
class SOMTMethodEntryC : public SOMTCommonEntryC
{
public:

// SOMTMethodEntryC::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 (!_SOMTMethodEntryC) SOMTMethodEntryCNewClass(SOMTMethodEntryC_MajorVersion,SOMTMethodEntryC_MinorVersion);
   return (void*)
   (((somTD_SOMClass_somNewNoInit)(SOMClassClassData.somNewNoInit))
         ((SOMClass *)((void*)_SOMTMethodEntryC)));
}

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

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

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

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


/* method: _get_somtIsVarargs */
boolean   _get_somtIsVarargs()
{
/*
 *  Returns 1 (true) if this method definition has a variable length
 *  parameter list.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMTMethodEntryC),
	 ((somTD_SOMTMethodEntryC__get_somtIsVarargs)(SOMTMethodEntryCClassData._get_somtIsVarargs))(((SOMTMethodEntryC *)((void *)this)))
	);
}


/* method: _get_somtOriginalMethod */
SOMTMethodEntryC*   _get_somtOriginalMethod()
{
/*
 *  If this is an override method definition (<SOMTOverrideMethodE>)
 *  then this is the method definition entry that orginially
 *  introduced the method.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMTMethodEntryC),
	 ((somTD_SOMTMethodEntryC__get_somtOriginalMethod)(SOMTMethodEntryCClassData._get_somtOriginalMethod))(((SOMTMethodEntryC *)((void *)this)))
	);
}


/* method: _get_somtOriginalClass */
SOMTClassEntryC*   _get_somtOriginalClass()
{
/*
 *  If this is an override method definition (<SOMTOverrideMethodE>)
 *  then this is the class definition entry that orginially
 *  introduced the method.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMTMethodEntryC),
	 ((somTD_SOMTMethodEntryC__get_somtOriginalClass)(SOMTMethodEntryCClassData._get_somtOriginalClass))(((SOMTMethodEntryC *)((void *)this)))
	);
}


/* method: _get_somtMethodGroup */
SOMTEntryC*   _get_somtMethodGroup()
{
/*
 *  The group this method is defined in within a class definition.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMTMethodEntryC),
	 ((somTD_SOMTMethodEntryC__get_somtMethodGroup)(SOMTMethodEntryCClassData._get_somtMethodGroup))(((SOMTMethodEntryC *)((void *)this)))
	);
}


/* method: _get_somtIsPrivateMethod */
boolean   _get_somtIsPrivateMethod()
{
/*
 *  Whether or not the method is private.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMTMethodEntryC),
	 ((somTD_SOMTMethodEntryC__get_somtIsPrivateMethod)(SOMTMethodEntryCClassData._get_somtIsPrivateMethod))(((SOMTMethodEntryC *)((void *)this)))
	);
}


/* method: _get_somtIsOneway */
boolean   _get_somtIsOneway()
{
/*
 *  Whether or not the method is oneway.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMTMethodEntryC),
	 ((somTD_SOMTMethodEntryC__get_somtIsOneway)(SOMTMethodEntryCClassData._get_somtIsOneway))(((SOMTMethodEntryC *)((void *)this)))
	);
}


/* method: _get_somtArgCount */
short   _get_somtArgCount()
{
/*
 *  The number of arguments for the method.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMTMethodEntryC),
	 ((somTD_SOMTMethodEntryC__get_somtArgCount)(SOMTMethodEntryCClassData._get_somtArgCount))(((SOMTMethodEntryC *)((void *)this)))
	);
}


/* method: somtGetFirstParameter */
SOMTParameterEntryC*   somtGetFirstParameter()
{
/*
 *  Returns the first formal parameter entry for this method if it
 *  has one and NULL otherwise.  Note: the target object parameter is
 *  not included, therefore the first parameter is really the second
 *  parameter from a SOM runtime perspective.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMTMethodEntryC),
	 ((somTD_SOMTMethodEntryC_somtGetFirstParameter)(SOMTMethodEntryCClassData.somtGetFirstParameter))(((SOMTMethodEntryC *)((void *)this)))
	);
}


/* method: somtGetNextParameter */
SOMTParameterEntryC*   somtGetNextParameter()
{
/*
 *  Returns the next formal parameter entry for this method if it has
 *  one and NULL otherwise.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMTMethodEntryC),
	 ((somTD_SOMTMethodEntryC_somtGetNextParameter)(SOMTMethodEntryCClassData.somtGetNextParameter))(((SOMTMethodEntryC *)((void *)this)))
	);
}


/* method: somtGetIDLParamList */
string   somtGetIDLParamList(string buffer)
{
/*
 *  Returns the formal parameter list (in IDL syntax) for this method.
 *  The parameter list is built in <buffer> and the address of <buffer>
 *  is returned.
 *  Parameters are delimited with newlines.
 *  The method receiver and any implicit method arguments are NOT included.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMTMethodEntryC),
	 ((somTD_SOMTMethodEntryC_somtGetIDLParamList)(SOMTMethodEntryCClassData.somtGetIDLParamList))(((SOMTMethodEntryC *)((void *)this)),buffer)
	);
}


/* method: somtGetShortCParamList */
string   somtGetShortCParamList(string buffer, 
		string selfParm, 
		string varargsParm)
{
/*
 *  Returns the formal parameter list (in ANSI C function prototype
 *  form, with types) for this method. The parameter list is built in
 *  <buffer> and the address of <buffer> is returned.
 *  Parameters are delimited with newlines.
 *  If this method takes a variable number of arguments then the
 *  final parameter substring is replaced by <varargsParm>, unless
 *  <varargsParm> is NULL in which case the final parameter is
 *  removed.
 *  If <selfParm> is not null then it is added as an initial
 *  parameter. (The <selfParm> string may actually contain multiple
 *  parameters, delimited by newline characters.)
 *  The method receiver and any implicit method arguments are NOT
 *  included.
 *  The types of the method parameters are given in C form (with pointer
 *  stars, where needed) rather than in the IDL form.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMTMethodEntryC),
	 ((somTD_SOMTMethodEntryC_somtGetShortCParamList)(SOMTMethodEntryCClassData.somtGetShortCParamList))(((SOMTMethodEntryC *)((void *)this)),buffer,selfParm,varargsParm)
	);
}


/* method: somtGetFullCParamList */
string   somtGetFullCParamList(string buffer, 
		string varargsParm)
{
/*
 *  Same as somtGetShortCParamList except that the method receiver and
 *  any implicit method arguments (Environment and Context) are included.
 *  The types of the method parameters are given in C form (with pointer
 *  stars, where needed) rather than in the IDL form.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMTMethodEntryC),
	 ((somTD_SOMTMethodEntryC_somtGetFullCParamList)(SOMTMethodEntryCClassData.somtGetFullCParamList))(((SOMTMethodEntryC *)((void *)this)),buffer,varargsParm)
	);
}


/* method: somtGetShortParamNameList */
string   somtGetShortParamNameList(string buffer, 
		string selfParm, 
		string varargsParm)
{
/*
 *  Returns the parameter list for this method in call form (without
 *  types). The argument list is built in <buffer> and the address of
 *  <buffer> is returned. Parameters are delimited with newlines.
 *  If this method takes a variable number of arguments then the
 *  final parameter is replaced by <varargsParm>, unless
 *  <varargsParm> is NULL in which case the final parameter is removed.
 *  If <selfParm> is not null then it is added as an initial
 *  parameter. (The <selfParm> string may actually contain multiple
 *  parameters, delimited by newline characters.)
 *  The method receiver and any implicit method arguments are NOT
 *  included.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMTMethodEntryC),
	 ((somTD_SOMTMethodEntryC_somtGetShortParamNameList)(SOMTMethodEntryCClassData.somtGetShortParamNameList))(((SOMTMethodEntryC *)((void *)this)),buffer,selfParm,varargsParm)
	);
}


/* method: somtGetFullParamNameList */
string   somtGetFullParamNameList(string buffer, 
		string varargsParm)
{
/*
 *  Same as somtGetParamNameList except that the method receiver and
 *  any implicit method arguments (Environment and Context) are included.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMTMethodEntryC),
	 ((somTD_SOMTMethodEntryC_somtGetFullParamNameList)(SOMTMethodEntryCClassData.somtGetFullParamNameList))(((SOMTMethodEntryC *)((void *)this)),buffer,varargsParm)
	);
}


/* method: somtGetNthParameter */
SOMTParameterEntryC*   somtGetNthParameter(short n)
{
/*
 *  Returns the object representing the nth explicit method parameter.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMTMethodEntryC),
	 ((somTD_SOMTMethodEntryC_somtGetNthParameter)(SOMTMethodEntryCClassData.somtGetNthParameter))(((SOMTMethodEntryC *)((void *)this)),n)
	);
}


/* method: somtGetFirstException */
SOMTStructEntryC*   somtGetFirstException()
{
/*
 *  The first exception this method raises.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMTMethodEntryC),
	 ((somTD_SOMTMethodEntryC_somtGetFirstException)(SOMTMethodEntryCClassData.somtGetFirstException))(((SOMTMethodEntryC *)((void *)this)))
	);
}


/* method: somtGetNextException */
SOMTStructEntryC*   somtGetNextException()
{
/*
 *  The next exception this method raises,
 *  relative to the previous call to this method or to
 *  somtGetFirstException.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMTMethodEntryC),
	 ((somTD_SOMTMethodEntryC_somtGetNextException)(SOMTMethodEntryCClassData.somtGetNextException))(((SOMTMethodEntryC *)((void *)this)))
	);
}


/* method: _get_somtContextArray */
string*   _get_somtContextArray()
{
/*
 *  An array of the context string-literals for the method.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMTMethodEntryC),
	 ((somTD_SOMTMethodEntryC__get_somtContextArray)(SOMTMethodEntryCClassData._get_somtContextArray))(((SOMTMethodEntryC *)((void *)this)))
	);
}


/* method: _get_somtCReturnType */
string   _get_somtCReturnType()
{
/*
 *  The C datatype the method returns. This may not correspond to the
 *  IDL data type (in particular, pointer stars may be added).
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMTMethodEntryC),
	 ((somTD_SOMTMethodEntryC__get_somtCReturnType)(SOMTMethodEntryCClassData._get_somtCReturnType))(((SOMTMethodEntryC *)((void *)this)))
	);
}


/*
 * Reintroduce inherited methods
 */

/* method: _get_somtTypeObj */
SOMTEntryC*   _get_somtTypeObj()
{
/*
 *  The object representing the base type of the entry.
 *  This does not include pointer stars or array declarators.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMTCommonEntryC),
	 ((somTD_SOMTMethodEntryC__get_somtTypeObj)(SOMTCommonEntryCClassData._get_somtTypeObj))(((SOMTMethodEntryC *)((void *)this)))
	);
}


/* method: _get_somtPtrs */
string   _get_somtPtrs()
{
/*
 *  The string of stars associated with the entry's type.
 *  For example, an object of type "foo" would have somtPtrs = NULL,
 *  type "foo *" would have somtPtrs = "*", type
 *  "foo **" would have somtPtrs = "**", etc.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMTCommonEntryC),
	 ((somTD_SOMTMethodEntryC__get_somtPtrs)(SOMTCommonEntryCClassData._get_somtPtrs))(((SOMTMethodEntryC *)((void *)this)))
	);
}


/* method: _get_somtArrayDimsString */
string   _get_somtArrayDimsString()
{
/*
 *  Array dimensions in string form.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMTCommonEntryC),
	 ((somTD_SOMTMethodEntryC__get_somtArrayDimsString)(SOMTCommonEntryCClassData._get_somtArrayDimsString))(((SOMTMethodEntryC *)((void *)this)))
	);
}


/* method: somtGetFirstArrayDimension */
unsigned long   somtGetFirstArrayDimension()
{
/*
 *  The first array dimension, for items of type array.
 *  Zero indicates that the item is not an array.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMTCommonEntryC),
	 ((somTD_SOMTMethodEntryC_somtGetFirstArrayDimension)(SOMTCommonEntryCClassData.somtGetFirstArrayDimension))(((SOMTMethodEntryC *)((void *)this)))
	);
}


/* method: somtGetNextArrayDimension */
unsigned long   somtGetNextArrayDimension()
{
/*
 *  The next array dimension, for items of type array,
 *  relative to the previous call to this method or to
 *  somtGetFirstArrayDimension.  Zero indicates no more dimensions.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMTCommonEntryC),
	 ((somTD_SOMTMethodEntryC_somtGetNextArrayDimension)(SOMTCommonEntryCClassData.somtGetNextArrayDimension))(((SOMTMethodEntryC *)((void *)this)))
	);
}


/* method: _get_somtSourceText */
string   _get_somtSourceText()
{
/*
 *  The un-parsed source text for this entry, with leading and
 *  trailing white space removed.  For attribute/typedef declarators
 *  and for user-defined types, this attribute only provides the
 *  source text for the entry's name.  For methods, arguments,
 *  and instance variables, however, this attribute provides the
 *  full definition.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMTCommonEntryC),
	 ((somTD_SOMTMethodEntryC__get_somtSourceText)(SOMTCommonEntryCClassData._get_somtSourceText))(((SOMTMethodEntryC *)((void *)this)))
	);
}


/* method: _get_somtType */
string   _get_somtType()
{
/*
 *  The IDL type for this entry in string form. For methods this is the
 *  return type.  For data or parameters this is the type of the data
 *  item or parameter. For user-defined types, this is the type specification.
 *  It is of the form:   <typename><pointer-stars> <array-declarators>
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMTCommonEntryC),
	 ((somTD_SOMTMethodEntryC__get_somtType)(SOMTCommonEntryCClassData._get_somtType))(((SOMTMethodEntryC *)((void *)this)))
	);
}


/* method: _get_somtVisibility */
somtVisibilityT   _get_somtVisibility()
{
/*
 *  The visibility of this entry.  Note: the visibility of
 *  parameter entries will always be public, and methods can never be
 *  internal.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMTCommonEntryC),
	 ((somTD_SOMTMethodEntryC__get_somtVisibility)(SOMTCommonEntryCClassData._get_somtVisibility))(((SOMTMethodEntryC *)((void *)this)))
	);
}


/* method: somtIsArray */
boolean   somtIsArray(long* size)
{
/*
 *  Returns 1 (true) if the type involves an array.  When the type
 *  involves an array then <size> is set to be the size of the
 *  array.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMTCommonEntryC),
	 ((somTD_SOMTMethodEntryC_somtIsArray)(SOMTCommonEntryCClassData.somtIsArray))(((SOMTMethodEntryC *)((void *)this)),size)
	);
}


/* method: somtIsPointer */
boolean   somtIsPointer()
{
/*
 *  Returns 1 (true) if the type involves a pointer, and 0 (false)
 *  otherwise
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMTCommonEntryC),
	 ((somTD_SOMTMethodEntryC_somtIsPointer)(SOMTCommonEntryCClassData.somtIsPointer))(((SOMTMethodEntryC *)((void *)this)))
	);
}


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


/* method: somtSetSymbolsOnEntry */
long   somtSetSymbolsOnEntry(SOMTEmitC* emitter, 
		string prefix)
{
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMTEntryC),
	 ((somTD_SOMTMethodEntryC_somtSetSymbolsOnEntry)(SOMTEntryCClassData.somtSetSymbolsOnEntry))(((SOMTMethodEntryC *)((void *)this)),emitter,prefix)
	);
}


/* 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_SOMTMethodEntryC__get_somtEntryName)(SOMTEntryCClassData._get_somtEntryName))(((SOMTMethodEntryC *)((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_SOMTMethodEntryC__set_somtEntryName)(SOMTEntryCClassData._set_somtEntryName))(((SOMTMethodEntryC *)((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_SOMTMethodEntryC__get_somtElementType)(SOMTEntryCClassData._get_somtElementType))(((SOMTMethodEntryC *)((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_SOMTMethodEntryC__set_somtElementType)(SOMTEntryCClassData._set_somtElementType))(((SOMTMethodEntryC *)((void *)this)),somtElementType)
	);
}


/* method: _get_somtElementTypeName */
string   _get_somtElementTypeName()
{
/*
 *  String version of somtElementType.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMTEntryC),
	 ((somTD_SOMTMethodEntryC__get_somtElementTypeName)(SOMTEntryCClassData._get_somtElementTypeName))(((SOMTMethodEntryC *)((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_SOMTMethodEntryC__get_somtEntryComment)(SOMTEntryCClassData._get_somtEntryComment))(((SOMTMethodEntryC *)((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_SOMTMethodEntryC__get_somtSourceLineNumber)(SOMTEntryCClassData._get_somtSourceLineNumber))(((SOMTMethodEntryC *)((void *)this)))
	);
}


/* method: _get_somtTypeCode */
TypeCode   _get_somtTypeCode()
{
/*
 *  The typecode, if appropriate, or NULL.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMTEntryC),
	 ((somTD_SOMTMethodEntryC__get_somtTypeCode)(SOMTEntryCClassData._get_somtTypeCode))(((SOMTMethodEntryC *)((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_SOMTMethodEntryC__get_somtIsReference)(SOMTEntryCClassData._get_somtIsReference))(((SOMTMethodEntryC *)((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_SOMTMethodEntryC__get_somtIDLScopedName)(SOMTEntryCClassData._get_somtIDLScopedName))(((SOMTMethodEntryC *)((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_SOMTMethodEntryC__get_somtCScopedName)(SOMTEntryCClassData._get_somtCScopedName))(((SOMTMethodEntryC *)((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_SOMTMethodEntryC_somtGetModifierValue)(SOMTEntryCClassData.somtGetModifierValue))(((SOMTMethodEntryC *)((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_SOMTMethodEntryC_somtGetFirstModifier)(SOMTEntryCClassData.somtGetFirstModifier))(((SOMTMethodEntryC *)((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_SOMTMethodEntryC_somtGetNextModifier)(SOMTEntryCClassData.somtGetNextModifier))(((SOMTMethodEntryC *)((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_SOMTMethodEntryC_somtFormatModifier)(SOMTEntryCClassData.somtFormatModifier))(((SOMTMethodEntryC *)((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_SOMTMethodEntryC_somtGetModifierList)(SOMTEntryCClassData.somtGetModifierList))(((SOMTMethodEntryC *)((void *)this)),buffer)
	);
}


/* 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_SOMTMethodEntryC_somtSetEntryStruct)(SOMTEntryCClassData.somtSetEntryStruct))(((SOMTMethodEntryC *)((void *)this)),es)
	);
}


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


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


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


/* method: somDumpSelf */
void   somDumpSelf(long level)
{
   	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_SOMTMethodEntryC_somDumpSelf)(SOMObjectClassData.somDumpSelf))(((SOMTMethodEntryC *)((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_SOMTMethodEntryC_somDefaultInit)(SOMObjectClassData.somDefaultInit))(((SOMTMethodEntryC *)((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_SOMTMethodEntryC_somDestruct)(SOMObjectClassData.somDestruct))(((SOMTMethodEntryC *)((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_SOMTMethodEntryC_somDefaultCopyInit)(SOMObjectClassData.somDefaultCopyInit))(((SOMTMethodEntryC *)((void *)this)),ctrl,fromObj)
	);
}


/* method: somDefaultAssign */
SOMTMethodEntryC*  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_SOMTMethodEntryC_somDefaultAssign)(SOMObjectClassData.somDefaultAssign))(((SOMTMethodEntryC *)((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_SOMTMethodEntryC_somDefaultConstCopyInit)(SOMObjectClassData.somDefaultConstCopyInit))(((SOMTMethodEntryC *)((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_SOMTMethodEntryC_somDefaultVCopyInit)(SOMObjectClassData.somDefaultVCopyInit))(((SOMTMethodEntryC *)((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_SOMTMethodEntryC_somDefaultConstVCopyInit)(SOMObjectClassData.somDefaultConstVCopyInit))(((SOMTMethodEntryC *)((void *)this)),ctrl,fromObj)
	);
}


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


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


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


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


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


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


/* method: somGetSize */
long   somGetSize()
{
/*
 *  Return the size of the receiver.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_SOMTMethodEntryC_somGetSize)(SOMObjectClassData.somGetSize))(((SOMTMethodEntryC *)((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_SOMTMethodEntryC_somIsA)(SOMObjectClassData.somIsA))(((SOMTMethodEntryC *)((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_SOMTMethodEntryC_somIsInstanceOf)(SOMObjectClassData.somIsInstanceOf))(((SOMTMethodEntryC *)((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_SOMTMethodEntryC_somRespondsTo)(SOMObjectClassData.somRespondsTo))(((SOMTMethodEntryC *)((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_SOMTMethodEntryC_somDispatch)(SOMObjectClassData.somDispatch))(((SOMTMethodEntryC *)((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_SOMTMethodEntryC_somDispatch)(SOMObjectClassData.somDispatch))(((SOMTMethodEntryC *)((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_SOMTMethodEntryC_somClassDispatch)(SOMObjectClassData.somClassDispatch))(((SOMTMethodEntryC *)((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_SOMTMethodEntryC_somClassDispatch)(SOMObjectClassData.somClassDispatch))(((SOMTMethodEntryC *)((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_SOMTMethodEntryC_somCastObj)(SOMObjectClassData.somCastObj))(((SOMTMethodEntryC *)((void *)this)),castedCls)
	);
}


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



};   /* SOMTMethodEntryC */



#endif       /* SOM_SOMTMethodEntryC_xh */
