
/*
 * This file was generated by the SOM Compiler.
 * FileName: scenumnm.h.
 * Generated using:
 *     SOM Precompiler somipc: 2.29.1.3
 *     SOM Emitter emith.dll: 2.41
 */

/*
 * 
 *   COMPONENT_NAME: some
 * 
 *   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.
 *  @(#) somc/sctypes.h 2.6 9/1/94 19:26:58 [9/21/94 17:47:11]
 * 
 */


#ifndef SOM_SOMTEnumNameEntryC_h
#define SOM_SOMTEnumNameEntryC_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 class data structures as resolution macros
 */
#define SOMTEnumNameEntryCClassData (*resolve_SOMTEnumNameEntryCClassData())
#define SOMTEnumNameEntryCCClassData (*resolve_SOMTEnumNameEntryCCClassData())

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

/*
 * Start of user-defined types:
 */
#ifndef SOMClass
    #define SOMClass SOMObject
#endif /* SOMClass */
#ifndef SOMTEntryC
    #define SOMTEntryC SOMObject
#endif /* SOMTEntryC */
#ifndef SOMTEmitC
    #define SOMTEmitC SOMObject
#endif /* SOMTEmitC */
#ifndef SOMTMetaClassEntryC
    #define SOMTMetaClassEntryC SOMObject
#endif /* SOMTMetaClassEntryC */
#ifndef SOMTAttributeEntryC
    #define SOMTAttributeEntryC SOMObject
#endif /* SOMTAttributeEntryC */
#ifndef SOMTTypedefEntryC
    #define SOMTTypedefEntryC SOMObject
#endif /* SOMTTypedefEntryC */
#ifndef SOMTBaseClassEntryC
    #define SOMTBaseClassEntryC SOMObject
#endif /* SOMTBaseClassEntryC */
#ifndef SOMTPassthruEntryC
    #define SOMTPassthruEntryC SOMObject
#endif /* SOMTPassthruEntryC */
#ifndef SOMTDataEntryC
    #define SOMTDataEntryC SOMObject
#endif /* SOMTDataEntryC */
#ifndef SOMTMethodEntryC
    #define SOMTMethodEntryC SOMObject
#endif /* SOMTMethodEntryC */
#ifndef SOMTClassEntryC
    #define SOMTClassEntryC SOMObject
#endif /* SOMTClassEntryC */
#ifndef SOMTModuleEntryC
    #define SOMTModuleEntryC SOMObject
#endif /* SOMTModuleEntryC */
#ifndef SOMTParameterEntryC
    #define SOMTParameterEntryC SOMObject
#endif /* SOMTParameterEntryC */
#ifndef SOMTStructEntryC
    #define SOMTStructEntryC SOMObject
#endif /* SOMTStructEntryC */
#ifndef SOMTUnionEntryC
    #define SOMTUnionEntryC SOMObject
#endif /* SOMTUnionEntryC */
#ifndef SOMTEnumEntryC
    #define SOMTEnumEntryC SOMObject
#endif /* SOMTEnumEntryC */
#ifndef SOMTConstEntryC
    #define SOMTConstEntryC SOMObject
#endif /* SOMTConstEntryC */
#ifndef SOMTSequenceEntryC
    #define SOMTSequenceEntryC SOMObject
#endif /* SOMTSequenceEntryC */
#ifndef SOMTStringEntryC
    #define SOMTStringEntryC SOMObject
#endif /* SOMTStringEntryC */
#ifndef SOMTEnumNameEntryC
    #define SOMTEnumNameEntryC SOMObject
#endif /* SOMTEnumNameEntryC */
#ifndef SOMTCommonEntryC
    #define SOMTCommonEntryC SOMObject
#endif /* SOMTCommonEntryC */
#ifndef SOMTUserDefinedTypeEntryC
    #define SOMTUserDefinedTypeEntryC SOMObject
#endif /* SOMTUserDefinedTypeEntryC */

/*
 * End of user-defined types.
 */

#define SOMTEnumNameEntryC_MajorVersion 2
#define SOMTEnumNameEntryC_MinorVersion 1

/*
 * External name shortening if required
 */
#ifdef SOM_USE_SHORT_EXTERNAL_NAMES
#define SOMTEnumNameEntryCNewClass c
#define SOMTEnumNameEntryCClassData d
#define SOMTEnumNameEntryCCClassData x
#endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
/*--------------Migration------------*/
#define SOMTEnumNameEntryC_classObj SOMTEnumNameEntryCClassData.classObject
#define _SOMTEnumNameEntryC SOMTEnumNameEntryC_classObj

/*
 * Declare the class creation procedure
 */
SOMEXTERN SOMClass * SOMLINK SOMTEnumNameEntryCNewClass(integer4 somntmajorVersion,
		integer4 somntminorVersion);

/*
 * Declare the class data structure
 */
SOMEXTERN struct SOMTEnumNameEntryCClassDataStructure {
	SOMClass *classObject;
	somMToken _get_somtEnumPtr;
	somMToken _get_somtEnumVal;
}  _SOMTEnumNameEntryCClassData;
SOMEXTERN struct SOMTEnumNameEntryCClassDataStructure * SOMLINK resolve_SOMTEnumNameEntryCClassData(void);

/*
 * Declare the C specific class data structure
 */
SOMEXTERN struct SOMTEnumNameEntryCCClassDataStructure {
	somMethodTabs parentMtab;
	somDToken instanceDataToken;
}  _SOMTEnumNameEntryCCClassData;
SOMEXTERN struct SOMTEnumNameEntryCCClassDataStructure * SOMLINK resolve_SOMTEnumNameEntryCCClassData(void);

/*
 * New and Renew macros for SOMTEnumNameEntryC
 */
#define SOMTEnumNameEntryCNew() \
   (_somNew(_SOMTEnumNameEntryC ? _SOMTEnumNameEntryC : SOMTEnumNameEntryCNewClass(SOMTEnumNameEntryC_MajorVersion, SOMTEnumNameEntryC_MinorVersion)))
#define SOMTEnumNameEntryCRenew(buf) \
   (_somRenew(_SOMTEnumNameEntryC ? _SOMTEnumNameEntryC : SOMTEnumNameEntryCNewClass(SOMTEnumNameEntryC_MajorVersion, SOMTEnumNameEntryC_MinorVersion), buf))

/*
 * Override method: somDumpSelfInt
 */
#define SOMTEnumNameEntryC_somDumpSelfInt(somSelf,level) \
	SOMObject_somDumpSelfInt(somSelf,level)

/*
 * Override method: somtSetSymbolsOnEntry
 */
#define SOMTEnumNameEntryC_somtSetSymbolsOnEntry(somSelf,emitter,prefix) \
	SOMTEntryC_somtSetSymbolsOnEntry(somSelf,emitter,prefix)

/*
 * New Method: _get_somtEnumPtr
 */
typedef SOMTEnumEntryC*   (SOMLINK * somTD_SOMTEnumNameEntryC__get_somtEnumPtr)(SOMTEnumNameEntryC *somSelf);
#define somMD_SOMTEnumNameEntryC__get_somtEnumPtr "::SOMTEnumNameEntryC::somtEnumPtr"
#define SOMTEnumNameEntryC__get_somtEnumPtr(somSelf) \
    (SOM_Resolve(somSelf, SOMTEnumNameEntryC, _get_somtEnumPtr) \
	(somSelf))
#ifndef SOMGD_get_somtEnumPtr
    #if (defined(_get_somtEnumPtr) || defined(__get_somtEnumPtr))
        #undef _get_somtEnumPtr
        #undef __get_somtEnumPtr
        #define SOMGD_get_somtEnumPtr 1
    #else
        #define __get_somtEnumPtr SOMTEnumNameEntryC__get_somtEnumPtr
    #endif /* __get_somtEnumPtr */
#endif /* SOMGD_get_somtEnumPtr */

/*
 * New Method: _get_somtEnumVal
 */
typedef unsigned long   (SOMLINK * somTD_SOMTEnumNameEntryC__get_somtEnumVal)(SOMTEnumNameEntryC *somSelf);
#define somMD_SOMTEnumNameEntryC__get_somtEnumVal "::SOMTEnumNameEntryC::somtEnumVal"
#define SOMTEnumNameEntryC__get_somtEnumVal(somSelf) \
    (SOM_Resolve(somSelf, SOMTEnumNameEntryC, _get_somtEnumVal) \
	(somSelf))
#ifndef SOMGD_get_somtEnumVal
    #if (defined(_get_somtEnumVal) || defined(__get_somtEnumVal))
        #undef _get_somtEnumVal
        #undef __get_somtEnumVal
        #define SOMGD_get_somtEnumVal 1
    #else
        #define __get_somtEnumVal SOMTEnumNameEntryC__get_somtEnumVal
    #endif /* __get_somtEnumVal */
#endif /* SOMGD_get_somtEnumVal */
#ifndef SOM_DONT_USE_INHERITED_MACROS
#define SOMTEnumNameEntryC__get_somtEntryName SOMTEntryC__get_somtEntryName
#define SOMTEnumNameEntryC__set_somtEntryName SOMTEntryC__set_somtEntryName
#define SOMTEnumNameEntryC__get_somtElementType SOMTEntryC__get_somtElementType
#define SOMTEnumNameEntryC__set_somtElementType SOMTEntryC__set_somtElementType
#define SOMTEnumNameEntryC__get_somtElementTypeName SOMTEntryC__get_somtElementTypeName
#define SOMTEnumNameEntryC__get_somtEntryComment SOMTEntryC__get_somtEntryComment
#define SOMTEnumNameEntryC__get_somtSourceLineNumber SOMTEntryC__get_somtSourceLineNumber
#define SOMTEnumNameEntryC__get_somtTypeCode SOMTEntryC__get_somtTypeCode
#define SOMTEnumNameEntryC__get_somtIsReference SOMTEntryC__get_somtIsReference
#define SOMTEnumNameEntryC__get_somtIDLScopedName SOMTEntryC__get_somtIDLScopedName
#define SOMTEnumNameEntryC__get_somtCScopedName SOMTEntryC__get_somtCScopedName
#define SOMTEnumNameEntryC_somtGetModifierValue SOMTEntryC_somtGetModifierValue
#define SOMTEnumNameEntryC_somtGetFirstModifier SOMTEntryC_somtGetFirstModifier
#define SOMTEnumNameEntryC_somtGetNextModifier SOMTEntryC_somtGetNextModifier
#define SOMTEnumNameEntryC_somtFormatModifier SOMTEntryC_somtFormatModifier
#define SOMTEnumNameEntryC_somtGetModifierList SOMTEntryC_somtGetModifierList
#define SOMTEnumNameEntryC_somtSetEntryStruct SOMTEntryC_somtSetEntryStruct
#define SOMTEnumNameEntryC_somDefaultInit SOMObject_somDefaultInit
#define SOMTEnumNameEntryC_somDestruct SOMObject_somDestruct
#define SOMTEnumNameEntryC_somDefaultCopyInit SOMObject_somDefaultCopyInit
#define SOMTEnumNameEntryC_somDefaultAssign SOMObject_somDefaultAssign
#define SOMTEnumNameEntryC_somDefaultConstCopyInit SOMObject_somDefaultConstCopyInit
#define SOMTEnumNameEntryC_somDefaultVCopyInit SOMObject_somDefaultVCopyInit
#define SOMTEnumNameEntryC_somDefaultConstVCopyInit SOMObject_somDefaultConstVCopyInit
#define SOMTEnumNameEntryC_somDefaultConstAssign SOMObject_somDefaultConstAssign
#define SOMTEnumNameEntryC_somDefaultVAssign SOMObject_somDefaultVAssign
#define SOMTEnumNameEntryC_somDefaultConstVAssign SOMObject_somDefaultConstVAssign
#define SOMTEnumNameEntryC_somInit SOMObject_somInit
#define SOMTEnumNameEntryC_somFree SOMObject_somFree
#define SOMTEnumNameEntryC_somUninit SOMObject_somUninit
#define SOMTEnumNameEntryC_somGetClass SOMObject_somGetClass
#define SOMTEnumNameEntryC_somGetClassName SOMObject_somGetClassName
#define SOMTEnumNameEntryC_somGetSize SOMObject_somGetSize
#define SOMTEnumNameEntryC_somIsA SOMObject_somIsA
#define SOMTEnumNameEntryC_somIsInstanceOf SOMObject_somIsInstanceOf
#define SOMTEnumNameEntryC_somRespondsTo SOMObject_somRespondsTo
#define SOMTEnumNameEntryC_somDispatch SOMObject_somDispatch
#define SOMTEnumNameEntryC_somClassDispatch SOMObject_somClassDispatch
#define SOMTEnumNameEntryC_somCastObj SOMObject_somCastObj
#define SOMTEnumNameEntryC_somResetObj SOMObject_somResetObj
#define SOMTEnumNameEntryC_somDispatchV SOMObject_somDispatchV
#define SOMTEnumNameEntryC_somDispatchL SOMObject_somDispatchL
#define SOMTEnumNameEntryC_somDispatchA SOMObject_somDispatchA
#define SOMTEnumNameEntryC_somDispatchD SOMObject_somDispatchD
#define SOMTEnumNameEntryC_somPrintSelf SOMObject_somPrintSelf
#define SOMTEnumNameEntryC_somDumpSelf SOMObject_somDumpSelf
#endif /* SOM_DONT_USE_INHERITED_MACROS */

#endif       /* SOM_SOMTEnumNameEntryC_h */
