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

/*
 *   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_SOMTEnumNameEntryC_h
#define SOM_SOMTEnumNameEntryC_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_some_scenumnm
#ifdef SOM_DLL_some
	/* export semantics */
	#if defined(SOM_DEFFILE_some)\
	||(defined(SOM_DEFFILE_BY_DEFAULT)&&!defined(SOM_NODEFFILE_some))\
	|| !defined(SOM_Module_scenumnm_Source)
	#define SOM_IMPORTEXPORT_some_scenumnm
	#else
	#define SOM_IMPORTEXPORT_some_scenumnm SOMDLLEXPORT
	#endif
#else
	#define SOM_IMPORTEXPORT_some_scenumnm 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 SOMTEnumNameEntryC
#define SOMTEnumNameEntryC SOMObject
#endif

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

/*
 * Start of bindings for IDL 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 bindings for IDL types.
 */

#define SOMTEnumNameEntryC_MajorVersion 2
#define SOMTEnumNameEntryC_MinorVersion 1

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

/*
 * Declare the ABI 2 ClassData structure
 */
SOMEXTERN struct SOMTEnumNameEntryCClassDataStructure {
	SOMClass classObject;
	somMToken _get_somtEnumPtr;
	somMToken _get_somtEnumVal;
} SOM_IMPORTEXPORT_some_scenumnm SOMDLINK SOMTEnumNameEntryCClassData;

/*
 * Declare the ABI 2 CClassData structure
 */
SOMEXTERN struct SOMTEnumNameEntryCCClassDataStructure {
	somMethodTabs parentMtab;
	somDToken instanceDataToken;
} SOM_IMPORTEXPORT_some_scenumnm SOMDLINK SOMTEnumNameEntryCCClassData;

/*
 * Class Object and Method Token Macros
 */
#define _SOMCLASS_SOMTEnumNameEntryC (SOMTEnumNameEntryCClassData.classObject)
#ifndef SOMGD_SOMTEnumNameEntryC
    #if (defined(_SOMTEnumNameEntryC) || defined(__SOMTEnumNameEntryC))
        #undef _SOMTEnumNameEntryC
        #undef __SOMTEnumNameEntryC
        #define SOMGD_SOMTEnumNameEntryC 1
    #else
        #define _SOMTEnumNameEntryC _SOMCLASS_SOMTEnumNameEntryC
    #endif /* _SOMTEnumNameEntryC */
#endif /* SOMGD_SOMTEnumNameEntryC */
#define SOMTEnumNameEntryC_classObj _SOMCLASS_SOMTEnumNameEntryC
#define _SOMMTOKEN_SOMTEnumNameEntryC(method) ((somMToken)SOMTEnumNameEntryCClassData.method)

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

/*
 * New Method: _get_somtEnumPtr
 */
typedef SOMTEnumEntryC   SOMLINK somTP_SOMTEnumNameEntryC__get_somtEnumPtr(SOMTEnumNameEntryC somSelf);
typedef somTP_SOMTEnumNameEntryC__get_somtEnumPtr *somTD_SOMTEnumNameEntryC__get_somtEnumPtr;
/*
 *  A pointer to the enumerator.
 */
#define somMD_SOMTEnumNameEntryC__get_somtEnumPtr "::SOMTEnumNameEntryC::_get_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 somTP_SOMTEnumNameEntryC__get_somtEnumVal(SOMTEnumNameEntryC somSelf);
typedef somTP_SOMTEnumNameEntryC__get_somtEnumVal *somTD_SOMTEnumNameEntryC__get_somtEnumVal;
/*
 *  The value of the enumeration.
 */
#define somMD_SOMTEnumNameEntryC__get_somtEnumVal "::SOMTEnumNameEntryC::_get_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 */

/*
 * Full Names for Inherited Methods
 */
/* overridden methods */
#define SOMTEnumNameEntryC_somtSetSymbolsOnEntry SOMTEntryC_somtSetSymbolsOnEntry
#define SOMTEnumNameEntryC_somDumpSelfInt SOMObject_somDumpSelfInt

#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_somInit SOMObject_somInit
#define SOMTEnumNameEntryC_somUninit SOMObject_somUninit
#define SOMTEnumNameEntryC_somPrintSelf SOMObject_somPrintSelf
#define SOMTEnumNameEntryC_somDumpSelf SOMObject_somDumpSelf
#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_somFree SOMObject_somFree
#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
#endif /* SOM_DONT_USE_INHERITED_MACROS */

#endif       /* SOM_SOMTEnumNameEntryC_h */
