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

/*
 *    COMPONENT_NAME: somx
 * 
 *    ORIGINS: 27
 * 
 * 
 *    25H7912  (C)  COPYRIGHT International Business Machines Corp. 1992,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.
 * 
 *    @(#) 1.1 src/somples.os2/somu/c/fb/fierce.idl, somples.somu, som3.0 12/2/96 14:35:48 [12/4/96 15:12:57]
 * 
 * 
 * DISCLAIMER OF WARRANTIES.
 * The following [enclosed] code is sample code created by IBM
 * Corporation. This sample code is not part of any standard or IBM
 * product and is provided to you solely for the purpose of assisting
 * you in the development of your applications.  The code is provided
 * "AS IS". IBM MAKES NO WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT
 * NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
 * FOR A PARTICULAR PURPOSE, REGARDING THE FUNCTION OR PERFORMANCE OF
 * THIS CODE.  IBM shall not be liable for any damages arising out of
 * your use of the sample code, even if they have been advised of the
 * possibility of such damages.
 * 
 * DISTRIBUTION.
 * This sample code can be freely distributed, copied, altered, and
 * incorporated into other software, provided that it bears the above
 * Copyright notice and DISCLAIMER intact.
 */


#ifndef SOM_Fierce_h
#define SOM_Fierce_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>

/*
 * -- 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 Fierce
#define Fierce 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 Fierce_MajorVersion 0
#define Fierce_MinorVersion 0

/*
 * Declare the class creation procedure
 */
SOMEXTERN 
#if defined(SOM_Module_fierce_Source)
        SOMDLLEXPORT
#else
    SOMDLLIMPORT
#endif
 SOMClass  SOMLINK FierceNewClass(integer4 somtmajorVersion,
		integer4 somtminorVersion);

/*
 * Declare the ABI 2 ClassData structure
 */
SOMEXTERN struct FierceClassDataStructure {
	SOMClass classObject;
} 
#if defined(SOM_Module_fierce_Source)
        SOMDLLEXPORT
#else
    SOMDLLIMPORT
#endif
 SOMDLINK FierceClassData;

/*
 * Declare the ABI 2 CClassData structure
 */
SOMEXTERN struct FierceCClassDataStructure {
	somMethodTabs parentMtab;
	somDToken instanceDataToken;
} 
#if defined(SOM_Module_fierce_Source)
        SOMDLLEXPORT
#else
    SOMDLLIMPORT
#endif
 SOMDLINK FierceCClassData;

/*
 * Class Object and Method Token Macros
 */
#define _SOMCLASS_Fierce (FierceClassData.classObject)
#ifndef SOMGD_Fierce
    #if (defined(_Fierce) || defined(__Fierce))
        #undef _Fierce
        #undef __Fierce
        #define SOMGD_Fierce 1
    #else
        #define _Fierce _SOMCLASS_Fierce
    #endif /* _Fierce */
#endif /* SOMGD_Fierce */
#define Fierce_classObj _SOMCLASS_Fierce
#define _SOMMTOKEN_Fierce(method) ((somMToken)FierceClassData.method)

/*
 * New and Renew macros for Fierce
 */
#define FierceNew() \
   ( _Fierce ? \
	_somNew(_Fierce) \
	: ( FierceNewClass(\
		Fierce_MajorVersion, \
		Fierce_MinorVersion),\
	   _somNew(_Fierce)))
#define FierceRenew(buf) \
   ( _Fierce ? \
	_somRenew(_Fierce, buf) \
	: ( FierceNewClass(\
		Fierce_MajorVersion, \
		Fierce_MinorVersion),\
	   _somRenew(_Fierce, buf)))

/*
 * Full Names for Inherited Methods
 */
/* overridden methods */
#define Fierce_sommBeforeMethod SOMMBeforeAfter_sommBeforeMethod
#define Fierce_sommAfterMethod SOMMBeforeAfter_sommAfterMethod

#ifndef SOM_DONT_USE_INHERITED_MACROS
#define Fierce_somNew SOMClass_somNew
#define Fierce_somNewNoInit SOMClass_somNewNoInit
#define Fierce_somRenew SOMClass_somRenew
#define Fierce_somRenewNoInit SOMClass_somRenewNoInit
#define Fierce_somRenewNoZero SOMClass_somRenewNoZero
#define Fierce_somRenewNoInitNoZero SOMClass_somRenewNoInitNoZero
#define Fierce_somAllocate SOMClass_somAllocate
#define Fierce_somDeallocate SOMClass_somDeallocate
#define Fierce_somJoin SOMClass_somJoin
#define Fierce_somEndow SOMClass_somEndow
#define Fierce_somClassOfNewClassWithParents SOMClass_somClassOfNewClassWithParents
#define Fierce_somInitMIClass SOMClass_somInitMIClass
#define Fierce_somAddStaticMethod SOMClass_somAddStaticMethod
#define Fierce_somOverrideSMethod SOMClass_somOverrideSMethod
#define Fierce_somClassReady SOMClass_somClassReady
#define Fierce_somAddDynamicMethod SOMClass_somAddDynamicMethod
#define Fierce_somGetName SOMClass_somGetName
#define Fierce_somGetVersionNumbers SOMClass_somGetVersionNumbers
#define Fierce_somGetNumMethods SOMClass_somGetNumMethods
#define Fierce_somGetNumStaticMethods SOMClass_somGetNumStaticMethods
#define Fierce_somGetParents SOMClass_somGetParents
#define Fierce_somGetInstanceSize SOMClass_somGetInstanceSize
#define Fierce_somGetInstancePartSize SOMClass_somGetInstancePartSize
#define Fierce_somGetInstanceToken SOMClass_somGetInstanceToken
#define Fierce_somGetMemberToken SOMClass_somGetMemberToken
#define Fierce_somGetClassMtab SOMClass_somGetClassMtab
#define Fierce_somGetClassData SOMClass_somGetClassData
#define Fierce_somSetClassData SOMClass_somSetClassData
#define Fierce__get_somDataAlignment SOMClass__get_somDataAlignment
#define Fierce__get_somInstanceDataOffsets SOMClass__get_somInstanceDataOffsets
#define Fierce__get_somDirectInitClasses SOMClass__get_somDirectInitClasses
#define Fierce_somGetMethodDescriptor SOMClass_somGetMethodDescriptor
#define Fierce_somGetMethodIndex SOMClass_somGetMethodIndex
#define Fierce_somGetMethodToken SOMClass_somGetMethodToken
#define Fierce_somGetNthMethodInfo SOMClass_somGetNthMethodInfo
#define Fierce_somGetMarshalPlan SOMClass_somGetMarshalPlan
#define Fierce_somGetMethodData SOMClass_somGetMethodData
#define Fierce_somGetNthMethodData SOMClass_somGetNthMethodData
#define Fierce_somFindMethod SOMClass_somFindMethod
#define Fierce_somFindMethodOk SOMClass_somFindMethodOk
#define Fierce_somFindSMethod SOMClass_somFindSMethod
#define Fierce_somFindSMethodOk SOMClass_somFindSMethodOk
#define Fierce_somLookupMethod SOMClass_somLookupMethod
#define Fierce_somGetApplyStub SOMClass_somGetApplyStub
#define Fierce_somGetPClsMtab SOMClass_somGetPClsMtab
#define Fierce_somCheckVersion SOMClass_somCheckVersion
#define Fierce_somDescendedFrom SOMClass_somDescendedFrom
#define Fierce_somSupportsMethod SOMClass_somSupportsMethod
#define Fierce_somDefinedMethod SOMClass_somDefinedMethod
#define Fierce_somMethodImplOwner SOMClass_somMethodImplOwner
#define Fierce_somGetRdStub SOMClass_somGetRdStub
#define Fierce_somOverrideMtab SOMClass_somOverrideMtab
#define Fierce_somDefaultInit SOMObject_somDefaultInit
#define Fierce_somDestruct SOMObject_somDestruct
#define Fierce_somDefaultCopyInit SOMObject_somDefaultCopyInit
#define Fierce_somDefaultAssign SOMObject_somDefaultAssign
#define Fierce_somDefaultConstCopyInit SOMObject_somDefaultConstCopyInit
#define Fierce_somDefaultVCopyInit SOMObject_somDefaultVCopyInit
#define Fierce_somDefaultConstVCopyInit SOMObject_somDefaultConstVCopyInit
#define Fierce_somDefaultConstAssign SOMObject_somDefaultConstAssign
#define Fierce_somDefaultVAssign SOMObject_somDefaultVAssign
#define Fierce_somDefaultConstVAssign SOMObject_somDefaultConstVAssign
#define Fierce_somInit SOMObject_somInit
#define Fierce_somUninit SOMObject_somUninit
#define Fierce_somFree SOMObject_somFree
#define Fierce_somGetClass SOMObject_somGetClass
#define Fierce_somGetClassName SOMObject_somGetClassName
#define Fierce_somGetSize SOMObject_somGetSize
#define Fierce_somIsA SOMObject_somIsA
#define Fierce_somIsInstanceOf SOMObject_somIsInstanceOf
#define Fierce_somRespondsTo SOMObject_somRespondsTo
#define Fierce_somDispatch SOMObject_somDispatch
#define Fierce_somClassDispatch SOMObject_somClassDispatch
#define Fierce_somCastObj SOMObject_somCastObj
#define Fierce_somResetObj SOMObject_somResetObj
#define Fierce_somPrintSelf SOMObject_somPrintSelf
#define Fierce_somDumpSelf SOMObject_somDumpSelf
#define Fierce_somDumpSelfInt SOMObject_somDumpSelfInt
#endif /* SOM_DONT_USE_INHERITED_MACROS */

#endif       /* SOM_Fierce_h */
