
/*
 * This file was generated by the SOM Compiler.
 * FileName: somtrcls.h.
 * Generated using:
 *     SOM Precompiler somipc: 2.29.1.19
 *     SOM Emitter emith.dll: 2.31.1.64
 */

/*
 *    COMPONENT_NAME: somm
 * 
 *    ORIGINS: 27
 * 
 * 
 *     25H7912  (C)  COPYRIGHT International Business Machines Corp. 1992,1996,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.
 * 
 */


#ifndef SOM_SOMMTraced_h
#define SOM_SOMMTraced_h


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


#include <som.h>
#ifndef SOM_IMPORTEXPORT_somu_somtrcls
#ifdef SOM_DLL_somu
	/* export semantics */
	#if defined(SOM_DEFFILE_somu)\
	||(defined(SOM_DEFFILE_BY_DEFAULT)&&!defined(SOM_NODEFFILE_somu))\
	|| !defined(SOM_Module_somtrcls_Source)
	#define SOM_IMPORTEXPORT_somu_somtrcls
	#else
	#define SOM_IMPORTEXPORT_somu_somtrcls SOMDLLEXPORT
	#endif
#else
	#define SOM_IMPORTEXPORT_somu_somtrcls SOMDLLIMPORT
#endif
#endif

/*
 * -- 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 SOMMTraced
#define SOMMTraced SOMObject
#endif

/*
 * Include Parent Bindings
 */
#ifndef SOM_SOMMBeforeAfter_h
#ifdef SOMLOCALINCLUDES
#include "sombacls.h"
#else
#include <sombacls.h>
#endif
#endif

/*
 * Start of bindings for IDL types
 */

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

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

#define SOMMTraced_MajorVersion 2
#define SOMMTraced_MinorVersion 2

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

/*
 * Declare the ABI 2 ClassData structure
 */
SOMEXTERN struct SOMMTracedClassDataStructure {
	SOMClass classObject;
	somMToken _set_sommTraceIsOn;
	somMToken _get_sommTraceIsOn;
} SOM_IMPORTEXPORT_somu_somtrcls SOMDLINK SOMMTracedClassData;

/*
 * Declare the ABI 2 CClassData structure
 */
SOMEXTERN struct SOMMTracedCClassDataStructure {
	somMethodTabs parentMtab;
	somDToken instanceDataToken;
} SOM_IMPORTEXPORT_somu_somtrcls SOMDLINK SOMMTracedCClassData;

/*
 * Class Object and Method Token Macros
 */
#define _SOMCLASS_SOMMTraced (SOMMTracedClassData.classObject)
#ifndef SOMGD_SOMMTraced
    #if (defined(_SOMMTraced) || defined(__SOMMTraced))
        #undef _SOMMTraced
        #undef __SOMMTraced
        #define SOMGD_SOMMTraced 1
    #else
        #define _SOMMTraced _SOMCLASS_SOMMTraced
    #endif /* _SOMMTraced */
#endif /* SOMGD_SOMMTraced */
#define SOMMTraced_classObj _SOMCLASS_SOMMTraced
#define _SOMMTOKEN_SOMMTraced(method) ((somMToken)SOMMTracedClassData.method)

/*
 * New and Renew macros for SOMMTraced
 */
#define SOMMTracedNew() \
   ( _SOMMTraced ? \
	_somNew(_SOMMTraced) \
	: ( SOMMTracedNewClass(\
		SOMMTraced_MajorVersion, \
		SOMMTraced_MinorVersion),\
	   _somNew(_SOMMTraced)))
#define SOMMTracedRenew(buf) \
   ( _SOMMTraced ? \
	_somRenew(_SOMMTraced, buf) \
	: ( SOMMTracedNewClass(\
		SOMMTraced_MajorVersion, \
		SOMMTraced_MinorVersion),\
	   _somRenew(_SOMMTraced, buf)))

/*
 * New Method: _get_sommTraceIsOn
 */
typedef boolean   SOMLINK somTP_SOMMTraced__get_sommTraceIsOn(SOMMTraced somSelf, Environment *ev);
typedef somTP_SOMMTraced__get_sommTraceIsOn *somTD_SOMMTraced__get_sommTraceIsOn;
/*
 * Method from the IDL attribute statement:
 * "attribute boolean sommTraceIsOn"
 */
#define somMD_SOMMTraced__get_sommTraceIsOn "::SOMMTraced::_get_sommTraceIsOn"
#define SOMMTraced__get_sommTraceIsOn(somSelf,ev) \
    (SOM_Resolve(somSelf, SOMMTraced, _get_sommTraceIsOn) \
	(somSelf,ev))
#ifndef SOMGD_get_sommTraceIsOn
    #if (defined(_get_sommTraceIsOn) || defined(__get_sommTraceIsOn))
        #undef _get_sommTraceIsOn
        #undef __get_sommTraceIsOn
        #define SOMGD_get_sommTraceIsOn 1
    #else
        #define __get_sommTraceIsOn SOMMTraced__get_sommTraceIsOn
    #endif /* __get_sommTraceIsOn */
#endif /* SOMGD_get_sommTraceIsOn */

/*
 * New Method: _set_sommTraceIsOn
 */
typedef void   SOMLINK somTP_SOMMTraced__set_sommTraceIsOn(SOMMTraced somSelf, Environment *ev, 
		boolean sommTraceIsOn);
typedef somTP_SOMMTraced__set_sommTraceIsOn *somTD_SOMMTraced__set_sommTraceIsOn;
/*
 * Method from the IDL attribute statement:
 * "attribute boolean sommTraceIsOn"
 */
#define somMD_SOMMTraced__set_sommTraceIsOn "::SOMMTraced::_set_sommTraceIsOn"
#define SOMMTraced__set_sommTraceIsOn(somSelf,ev,sommTraceIsOn) \
    (SOM_Resolve(somSelf, SOMMTraced, _set_sommTraceIsOn) \
	(somSelf,ev,sommTraceIsOn))
#ifndef SOMGD_set_sommTraceIsOn
    #if (defined(_set_sommTraceIsOn) || defined(__set_sommTraceIsOn))
        #undef _set_sommTraceIsOn
        #undef __set_sommTraceIsOn
        #define SOMGD_set_sommTraceIsOn 1
    #else
        #define __set_sommTraceIsOn SOMMTraced__set_sommTraceIsOn
    #endif /* __set_sommTraceIsOn */
#endif /* SOMGD_set_sommTraceIsOn */

/*
 * Full Names for Inherited Methods
 */
/* overridden methods */
#define SOMMTraced_sommBeforeMethod SOMMBeforeAfter_sommBeforeMethod
#define SOMMTraced_sommAfterMethod SOMMBeforeAfter_sommAfterMethod

#ifndef SOM_DONT_USE_INHERITED_MACROS
#define SOMMTraced_somNew SOMClass_somNew
#define SOMMTraced_somNewNoInit SOMClass_somNewNoInit
#define SOMMTraced_somRenew SOMClass_somRenew
#define SOMMTraced_somRenewNoInit SOMClass_somRenewNoInit
#define SOMMTraced_somRenewNoZero SOMClass_somRenewNoZero
#define SOMMTraced_somRenewNoInitNoZero SOMClass_somRenewNoInitNoZero
#define SOMMTraced_somAllocate SOMClass_somAllocate
#define SOMMTraced_somDeallocate SOMClass_somDeallocate
#define SOMMTraced_somJoin SOMClass_somJoin
#define SOMMTraced_somEndow SOMClass_somEndow
#define SOMMTraced_somClassOfNewClassWithParents SOMClass_somClassOfNewClassWithParents
#define SOMMTraced_somInitMIClass SOMClass_somInitMIClass
#define SOMMTraced_somAddStaticMethod SOMClass_somAddStaticMethod
#define SOMMTraced_somOverrideSMethod SOMClass_somOverrideSMethod
#define SOMMTraced_somClassReady SOMClass_somClassReady
#define SOMMTraced_somAddDynamicMethod SOMClass_somAddDynamicMethod
#define SOMMTraced_somGetName SOMClass_somGetName
#define SOMMTraced_somGetVersionNumbers SOMClass_somGetVersionNumbers
#define SOMMTraced_somGetNumMethods SOMClass_somGetNumMethods
#define SOMMTraced_somGetNumStaticMethods SOMClass_somGetNumStaticMethods
#define SOMMTraced_somGetParents SOMClass_somGetParents
#define SOMMTraced_somGetInstanceSize SOMClass_somGetInstanceSize
#define SOMMTraced_somGetInstancePartSize SOMClass_somGetInstancePartSize
#define SOMMTraced_somGetInstanceToken SOMClass_somGetInstanceToken
#define SOMMTraced_somGetMemberToken SOMClass_somGetMemberToken
#define SOMMTraced_somGetClassMtab SOMClass_somGetClassMtab
#define SOMMTraced_somGetClassData SOMClass_somGetClassData
#define SOMMTraced_somSetClassData SOMClass_somSetClassData
#define SOMMTraced__get_somDataAlignment SOMClass__get_somDataAlignment
#define SOMMTraced__get_somInstanceDataOffsets SOMClass__get_somInstanceDataOffsets
#define SOMMTraced__get_somDirectInitClasses SOMClass__get_somDirectInitClasses
#define SOMMTraced_somGetMethodDescriptor SOMClass_somGetMethodDescriptor
#define SOMMTraced_somGetMethodIndex SOMClass_somGetMethodIndex
#define SOMMTraced_somGetMethodToken SOMClass_somGetMethodToken
#define SOMMTraced_somGetNthMethodInfo SOMClass_somGetNthMethodInfo
#define SOMMTraced_somGetMarshalPlan SOMClass_somGetMarshalPlan
#define SOMMTraced_somGetMethodData SOMClass_somGetMethodData
#define SOMMTraced_somGetNthMethodData SOMClass_somGetNthMethodData
#define SOMMTraced_somFindMethod SOMClass_somFindMethod
#define SOMMTraced_somFindMethodOk SOMClass_somFindMethodOk
#define SOMMTraced_somFindSMethod SOMClass_somFindSMethod
#define SOMMTraced_somFindSMethodOk SOMClass_somFindSMethodOk
#define SOMMTraced_somLookupMethod SOMClass_somLookupMethod
#define SOMMTraced_somGetApplyStub SOMClass_somGetApplyStub
#define SOMMTraced_somGetPClsMtab SOMClass_somGetPClsMtab
#define SOMMTraced_somCheckVersion SOMClass_somCheckVersion
#define SOMMTraced_somDescendedFrom SOMClass_somDescendedFrom
#define SOMMTraced_somSupportsMethod SOMClass_somSupportsMethod
#define SOMMTraced_somDefinedMethod SOMClass_somDefinedMethod
#define SOMMTraced_somMethodImplOwner SOMClass_somMethodImplOwner
#define SOMMTraced_somGetRdStub SOMClass_somGetRdStub
#define SOMMTraced_somOverrideMtab SOMClass_somOverrideMtab
#define SOMMTraced_somDefaultInit SOMObject_somDefaultInit
#define SOMMTraced_somDestruct SOMObject_somDestruct
#define SOMMTraced_somDefaultCopyInit SOMObject_somDefaultCopyInit
#define SOMMTraced_somDefaultAssign SOMObject_somDefaultAssign
#define SOMMTraced_somDefaultConstCopyInit SOMObject_somDefaultConstCopyInit
#define SOMMTraced_somDefaultVCopyInit SOMObject_somDefaultVCopyInit
#define SOMMTraced_somDefaultConstVCopyInit SOMObject_somDefaultConstVCopyInit
#define SOMMTraced_somDefaultConstAssign SOMObject_somDefaultConstAssign
#define SOMMTraced_somDefaultVAssign SOMObject_somDefaultVAssign
#define SOMMTraced_somDefaultConstVAssign SOMObject_somDefaultConstVAssign
#define SOMMTraced_somInit SOMObject_somInit
#define SOMMTraced_somUninit SOMObject_somUninit
#define SOMMTraced_somFree SOMObject_somFree
#define SOMMTraced_somGetClass SOMObject_somGetClass
#define SOMMTraced_somGetClassName SOMObject_somGetClassName
#define SOMMTraced_somGetSize SOMObject_somGetSize
#define SOMMTraced_somIsA SOMObject_somIsA
#define SOMMTraced_somIsInstanceOf SOMObject_somIsInstanceOf
#define SOMMTraced_somRespondsTo SOMObject_somRespondsTo
#define SOMMTraced_somDispatch SOMObject_somDispatch
#define SOMMTraced_somClassDispatch SOMObject_somClassDispatch
#define SOMMTraced_somCastObj SOMObject_somCastObj
#define SOMMTraced_somResetObj SOMObject_somResetObj
#define SOMMTraced_somPrintSelf SOMObject_somPrintSelf
#define SOMMTraced_somDumpSelf SOMObject_somDumpSelf
#define SOMMTraced_somDumpSelfInt SOMObject_somDumpSelfInt
#endif /* SOM_DONT_USE_INHERITED_MACROS */

#endif       /* SOM_SOMMTraced_h */
