
/*
 * This file was generated by the SOM Compiler.
 * FileName: F:\build\newproj\include.ppc\somdmprx.h.
 * Generated using:
 *     SOM Precompiler somipc: 2.29.1.3
 *     SOM Emitter emith: 2.41
 */

/*
 *    COMPONENT_NAME: somd
 * 
 *    ORIGINS: 27
 * 
 * 
 *    10H9767, 10H9769  (C) COPYRIGHT International Business Machines Corp. 1992,1994
 *    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.
 * 
 */


#ifndef SOM_SOMDMetaproxy_h
#define SOM_SOMDMetaproxy_h


#include <som.h>

/*
 * -- This emitter treats Method Tokens as Thunks by default.
 * -- Use the sc modifier "nothunks" to change this default
 */
#undef somresolve_
#define somresolve_(obj,mToken) ((somMethodProc*)((void)obj, mToken))

/*
 * Define the class name as an object type
 */
#ifndef SOMDMetaproxy
#define SOMDMetaproxy SOMObject
#endif
#include <somcls.h>

/*
 * Start of bindings for IDL types
 */

#ifndef SOMClass
    #define SOMClass SOMObject
#endif /* SOMClass */
#ifndef SOMMMetaCooperative
    #define SOMMMetaCooperative SOMObject
#endif /* SOMMMetaCooperative */

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

#define SOMDMetaproxy_MajorVersion 0
#define SOMDMetaproxy_MinorVersion 0

/*
 * External name shortening if required
 */
#ifdef SOM_USE_SHORT_EXTERNAL_NAMES
#define SOMDMetaproxyNewClass c
#define SOMDMetaproxyClassData d
#define SOMDMetaproxyCClassData x
#endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
/*--------------Migration------------*/
#define SOMDMetaproxy_classObj SOMDMetaproxyClassData.classObject
#define _SOMDMetaproxy SOMDMetaproxy_classObj

/*
 * Declare the class creation procedure
 */
SOMEXTERN SOMClass * SOMLINK SOMDMetaproxyNewClass(integer4 somtmajorVersion,
		integer4 somtminorVersion);

/*
 * Declare the class data structure
 */
SOMEXTERN struct SOMDMetaproxyClassDataStructure {
	SOMClass *classObject;
} SOMDLINK SOMDMetaproxyClassData;

/*
 * Declare the C specific class data structure
 */
SOMEXTERN struct SOMDMetaproxyCClassDataStructure {
	somMethodTabs parentMtab;
	somDToken instanceDataToken;
} SOMDLINK SOMDMetaproxyCClassData;

/*
 * New and Renew macros for SOMDMetaproxy
 */
#define SOMDMetaproxyNew() \
   (_somNew(_SOMDMetaproxy ? _SOMDMetaproxy : SOMDMetaproxyNewClass(SOMDMetaproxy_MajorVersion, SOMDMetaproxy_MinorVersion)))
#define SOMDMetaproxyRenew(buf) \
   (_somRenew(_SOMDMetaproxy ? _SOMDMetaproxy : SOMDMetaproxyNewClass(SOMDMetaproxy_MajorVersion, SOMDMetaproxy_MinorVersion), buf))

/*
 * Override method: somInitMIClass
 */
#define SOMDMetaproxy_somInitMIClass(somSelf,inherit_vars,className,parentClasses,dataSize,dataAlignment,maxStaticMethods,majorVersion,minorVersion) \
	SOMClass_somInitMIClass(somSelf,inherit_vars,className,parentClasses,dataSize,dataAlignment,maxStaticMethods,majorVersion,minorVersion)
#ifndef SOM_DONT_USE_INHERITED_MACROS
#define SOMDMetaproxy__get_somDataAlignment SOMClass__get_somDataAlignment
#define SOMDMetaproxy__get_somInstanceDataOffsets SOMClass__get_somInstanceDataOffsets
#define SOMDMetaproxy__get_somDirectInitClasses SOMClass__get_somDirectInitClasses
#define SOMDMetaproxy__set_somDirectInitClasses SOMClass__set_somDirectInitClasses
#define SOMDMetaproxy_somNew SOMClass_somNew
#define SOMDMetaproxy_somNewNoInit SOMClass_somNewNoInit
#define SOMDMetaproxy_somRenew SOMClass_somRenew
#define SOMDMetaproxy_somRenewNoInit SOMClass_somRenewNoInit
#define SOMDMetaproxy_somRenewNoZero SOMClass_somRenewNoZero
#define SOMDMetaproxy_somRenewNoInitNoZero SOMClass_somRenewNoInitNoZero
#define SOMDMetaproxy_somAllocate SOMClass_somAllocate
#define SOMDMetaproxy_somDeallocate SOMClass_somDeallocate
#define SOMDMetaproxy_somGetInstanceInitMask SOMClass_somGetInstanceInitMask
#define SOMDMetaproxy_somGetInstanceDestructionMask SOMClass_somGetInstanceDestructionMask
#define SOMDMetaproxy_somGetInstanceAssignmentMask SOMClass_somGetInstanceAssignmentMask
#define SOMDMetaproxy_somInitClass SOMClass_somInitClass
#define SOMDMetaproxy_somAddStaticMethod SOMClass_somAddStaticMethod
#define SOMDMetaproxy_somAddDynamicMethod SOMClass_somAddDynamicMethod
#define SOMDMetaproxy_somOverrideSMethod SOMClass_somOverrideSMethod
#define SOMDMetaproxy_somClassReady SOMClass_somClassReady
#define SOMDMetaproxy_somGetApplyStub SOMClass_somGetApplyStub
#define SOMDMetaproxy_somGetClassData SOMClass_somGetClassData
#define SOMDMetaproxy_somSetClassData SOMClass_somSetClassData
#define SOMDMetaproxy_somGetClassMtab SOMClass_somGetClassMtab
#define SOMDMetaproxy_somGetInstanceOffset SOMClass_somGetInstanceOffset
#define SOMDMetaproxy_somGetInstancePartSize SOMClass_somGetInstancePartSize
#define SOMDMetaproxy_somGetInstanceSize SOMClass_somGetInstanceSize
#define SOMDMetaproxy_somGetInstanceToken SOMClass_somGetInstanceToken
#define SOMDMetaproxy_somGetMemberToken SOMClass_somGetMemberToken
#define SOMDMetaproxy_somGetMethodData SOMClass_somGetMethodData
#define SOMDMetaproxy_somGetRdStub SOMClass_somGetRdStub
#define SOMDMetaproxy_somGetMethodDescriptor SOMClass_somGetMethodDescriptor
#define SOMDMetaproxy_somGetMethodIndex SOMClass_somGetMethodIndex
#define SOMDMetaproxy_somGetMethodToken SOMClass_somGetMethodToken
#define SOMDMetaproxy_somGetName SOMClass_somGetName
#define SOMDMetaproxy_somGetNthMethodData SOMClass_somGetNthMethodData
#define SOMDMetaproxy_somGetNthMethodInfo SOMClass_somGetNthMethodInfo
#define SOMDMetaproxy_somGetNumMethods SOMClass_somGetNumMethods
#define SOMDMetaproxy_somGetNumStaticMethods SOMClass_somGetNumStaticMethods
#define SOMDMetaproxy_somGetParent SOMClass_somGetParent
#define SOMDMetaproxy_somGetParents SOMClass_somGetParents
#define SOMDMetaproxy_somGetPClsMtab SOMClass_somGetPClsMtab
#define SOMDMetaproxy_somGetPClsMtabs SOMClass_somGetPClsMtabs
#define SOMDMetaproxy_somGetVersionNumbers SOMClass_somGetVersionNumbers
#define SOMDMetaproxy_somSetMethodDescriptor SOMClass_somSetMethodDescriptor
#define SOMDMetaproxy_somFindMethod SOMClass_somFindMethod
#define SOMDMetaproxy_somFindMethodOk SOMClass_somFindMethodOk
#define SOMDMetaproxy_somFindSMethod SOMClass_somFindSMethod
#define SOMDMetaproxy_somFindSMethodOk SOMClass_somFindSMethodOk
#define SOMDMetaproxy_somLookupMethod SOMClass_somLookupMethod
#define SOMDMetaproxy_somCheckVersion SOMClass_somCheckVersion
#define SOMDMetaproxy_somDescendedFrom SOMClass_somDescendedFrom
#define SOMDMetaproxy_somSupportsMethod SOMClass_somSupportsMethod
#define SOMDMetaproxy_somDefinedMethod SOMClass_somDefinedMethod
#define SOMDMetaproxy_somOverrideMtab SOMClass_somOverrideMtab
#define SOMDMetaproxy_somDefaultInit SOMObject_somDefaultInit
#define SOMDMetaproxy_somDestruct SOMObject_somDestruct
#define SOMDMetaproxy_somDefaultCopyInit SOMObject_somDefaultCopyInit
#define SOMDMetaproxy_somDefaultAssign SOMObject_somDefaultAssign
#define SOMDMetaproxy_somDefaultConstCopyInit SOMObject_somDefaultConstCopyInit
#define SOMDMetaproxy_somDefaultVCopyInit SOMObject_somDefaultVCopyInit
#define SOMDMetaproxy_somDefaultConstVCopyInit SOMObject_somDefaultConstVCopyInit
#define SOMDMetaproxy_somDefaultConstAssign SOMObject_somDefaultConstAssign
#define SOMDMetaproxy_somDefaultVAssign SOMObject_somDefaultVAssign
#define SOMDMetaproxy_somDefaultConstVAssign SOMObject_somDefaultConstVAssign
#define SOMDMetaproxy_somInit SOMObject_somInit
#define SOMDMetaproxy_somFree SOMObject_somFree
#define SOMDMetaproxy_somUninit SOMObject_somUninit
#define SOMDMetaproxy_somGetClass SOMObject_somGetClass
#define SOMDMetaproxy_somGetClassName SOMObject_somGetClassName
#define SOMDMetaproxy_somGetSize SOMObject_somGetSize
#define SOMDMetaproxy_somIsA SOMObject_somIsA
#define SOMDMetaproxy_somIsInstanceOf SOMObject_somIsInstanceOf
#define SOMDMetaproxy_somRespondsTo SOMObject_somRespondsTo
#define SOMDMetaproxy_somDispatch SOMObject_somDispatch
#define SOMDMetaproxy_somClassDispatch SOMObject_somClassDispatch
#define SOMDMetaproxy_somCastObj SOMObject_somCastObj
#define SOMDMetaproxy_somResetObj SOMObject_somResetObj
#define SOMDMetaproxy_somPrintSelf SOMObject_somPrintSelf
#define SOMDMetaproxy_somDumpSelf SOMObject_somDumpSelf
#define SOMDMetaproxy_somDumpSelfInt SOMObject_somDumpSelfInt
#endif /* SOM_DONT_USE_INHERITED_MACROS */

#endif       /* SOM_SOMDMetaproxy_h */
