
/*
 * This file was generated by the SOM Compiler.
 * FileName: scenum.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_SOMTEnumEntryC_h
#define SOM_SOMTEnumEntryC_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_scenum
#ifdef SOM_DLL_some
	/* export semantics */
	#if defined(SOM_DEFFILE_some)\
	||(defined(SOM_DEFFILE_BY_DEFAULT)&&!defined(SOM_NODEFFILE_some))\
	|| !defined(SOM_Module_scenum_Source)
	#define SOM_IMPORTEXPORT_some_scenum
	#else
	#define SOM_IMPORTEXPORT_some_scenum SOMDLLEXPORT
	#endif
#else
	#define SOM_IMPORTEXPORT_some_scenum 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 SOMTEnumEntryC
#define SOMTEnumEntryC 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 */
#ifndef SOMTEnumNameC
    #define SOMTEnumNameC SOMObject
#endif /* SOMTEnumNameC */

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

#define SOMTEnumEntryC_MajorVersion 2
#define SOMTEnumEntryC_MinorVersion 1

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

/*
 * Declare the ABI 2 ClassData structure
 */
SOMEXTERN struct SOMTEnumEntryCClassDataStructure {
	SOMClass classObject;
	somMToken somtGetFirstEnumName;
	somMToken somtGetNextEnumName;
} SOM_IMPORTEXPORT_some_scenum SOMDLINK SOMTEnumEntryCClassData;

/*
 * Declare the ABI 2 CClassData structure
 */
SOMEXTERN struct SOMTEnumEntryCCClassDataStructure {
	somMethodTabs parentMtab;
	somDToken instanceDataToken;
} SOM_IMPORTEXPORT_some_scenum SOMDLINK SOMTEnumEntryCCClassData;

/*
 * Class Object and Method Token Macros
 */
#define _SOMCLASS_SOMTEnumEntryC (SOMTEnumEntryCClassData.classObject)
#ifndef SOMGD_SOMTEnumEntryC
    #if (defined(_SOMTEnumEntryC) || defined(__SOMTEnumEntryC))
        #undef _SOMTEnumEntryC
        #undef __SOMTEnumEntryC
        #define SOMGD_SOMTEnumEntryC 1
    #else
        #define _SOMTEnumEntryC _SOMCLASS_SOMTEnumEntryC
    #endif /* _SOMTEnumEntryC */
#endif /* SOMGD_SOMTEnumEntryC */
#define SOMTEnumEntryC_classObj _SOMCLASS_SOMTEnumEntryC
#define _SOMMTOKEN_SOMTEnumEntryC(method) ((somMToken)SOMTEnumEntryCClassData.method)

/*
 * New and Renew macros for SOMTEnumEntryC
 */
#define SOMTEnumEntryCNew() \
   ( _SOMTEnumEntryC ? \
	_somNew(_SOMTEnumEntryC) \
	: ( SOMTEnumEntryCNewClass(\
		SOMTEnumEntryC_MajorVersion, \
		SOMTEnumEntryC_MinorVersion),\
	   _somNew(_SOMTEnumEntryC)))
#define SOMTEnumEntryCRenew(buf) \
   ( _SOMTEnumEntryC ? \
	_somRenew(_SOMTEnumEntryC, buf) \
	: ( SOMTEnumEntryCNewClass(\
		SOMTEnumEntryC_MajorVersion, \
		SOMTEnumEntryC_MinorVersion),\
	   _somRenew(_SOMTEnumEntryC, buf)))

/*
 * New Method: somtGetFirstEnumName
 */
typedef SOMTEnumNameEntryC   SOMLINK somTP_SOMTEnumEntryC_somtGetFirstEnumName(SOMTEnumEntryC somSelf);
typedef somTP_SOMTEnumEntryC_somtGetFirstEnumName *somTD_SOMTEnumEntryC_somtGetFirstEnumName;
#define somMD_SOMTEnumEntryC_somtGetFirstEnumName "::SOMTEnumEntryC::somtGetFirstEnumName"
#define SOMTEnumEntryC_somtGetFirstEnumName(somSelf) \
    (SOM_Resolve(somSelf, SOMTEnumEntryC, somtGetFirstEnumName) \
	(somSelf))
#ifndef SOMGD_somtGetFirstEnumName
    #if (defined(_somtGetFirstEnumName) || defined(__somtGetFirstEnumName))
        #undef _somtGetFirstEnumName
        #undef __somtGetFirstEnumName
        #define SOMGD_somtGetFirstEnumName 1
    #else
        #define _somtGetFirstEnumName SOMTEnumEntryC_somtGetFirstEnumName
    #endif /* _somtGetFirstEnumName */
#endif /* SOMGD_somtGetFirstEnumName */

/*
 * New Method: somtGetNextEnumName
 */
typedef SOMTEnumNameEntryC   SOMLINK somTP_SOMTEnumEntryC_somtGetNextEnumName(SOMTEnumEntryC somSelf);
typedef somTP_SOMTEnumEntryC_somtGetNextEnumName *somTD_SOMTEnumEntryC_somtGetNextEnumName;
#define somMD_SOMTEnumEntryC_somtGetNextEnumName "::SOMTEnumEntryC::somtGetNextEnumName"
#define SOMTEnumEntryC_somtGetNextEnumName(somSelf) \
    (SOM_Resolve(somSelf, SOMTEnumEntryC, somtGetNextEnumName) \
	(somSelf))
#ifndef SOMGD_somtGetNextEnumName
    #if (defined(_somtGetNextEnumName) || defined(__somtGetNextEnumName))
        #undef _somtGetNextEnumName
        #undef __somtGetNextEnumName
        #define SOMGD_somtGetNextEnumName 1
    #else
        #define _somtGetNextEnumName SOMTEnumEntryC_somtGetNextEnumName
    #endif /* _somtGetNextEnumName */
#endif /* SOMGD_somtGetNextEnumName */

/*
 * Full Names for Inherited Methods
 */
/* overridden methods */
#define SOMTEnumEntryC_somtSetSymbolsOnEntry SOMTEntryC_somtSetSymbolsOnEntry
#define SOMTEnumEntryC_somDumpSelfInt SOMObject_somDumpSelfInt

#ifndef SOM_DONT_USE_INHERITED_MACROS
#define SOMTEnumEntryC__get_somtEntryName SOMTEntryC__get_somtEntryName
#define SOMTEnumEntryC__set_somtEntryName SOMTEntryC__set_somtEntryName
#define SOMTEnumEntryC__get_somtElementType SOMTEntryC__get_somtElementType
#define SOMTEnumEntryC__set_somtElementType SOMTEntryC__set_somtElementType
#define SOMTEnumEntryC__get_somtElementTypeName SOMTEntryC__get_somtElementTypeName
#define SOMTEnumEntryC__get_somtEntryComment SOMTEntryC__get_somtEntryComment
#define SOMTEnumEntryC__get_somtSourceLineNumber SOMTEntryC__get_somtSourceLineNumber
#define SOMTEnumEntryC__get_somtTypeCode SOMTEntryC__get_somtTypeCode
#define SOMTEnumEntryC__get_somtIsReference SOMTEntryC__get_somtIsReference
#define SOMTEnumEntryC__get_somtIDLScopedName SOMTEntryC__get_somtIDLScopedName
#define SOMTEnumEntryC__get_somtCScopedName SOMTEntryC__get_somtCScopedName
#define SOMTEnumEntryC_somtGetModifierValue SOMTEntryC_somtGetModifierValue
#define SOMTEnumEntryC_somtGetFirstModifier SOMTEntryC_somtGetFirstModifier
#define SOMTEnumEntryC_somtGetNextModifier SOMTEntryC_somtGetNextModifier
#define SOMTEnumEntryC_somtFormatModifier SOMTEntryC_somtFormatModifier
#define SOMTEnumEntryC_somtGetModifierList SOMTEntryC_somtGetModifierList
#define SOMTEnumEntryC_somtSetEntryStruct SOMTEntryC_somtSetEntryStruct
#define SOMTEnumEntryC_somInit SOMObject_somInit
#define SOMTEnumEntryC_somUninit SOMObject_somUninit
#define SOMTEnumEntryC_somPrintSelf SOMObject_somPrintSelf
#define SOMTEnumEntryC_somDumpSelf SOMObject_somDumpSelf
#define SOMTEnumEntryC_somDefaultInit SOMObject_somDefaultInit
#define SOMTEnumEntryC_somDestruct SOMObject_somDestruct
#define SOMTEnumEntryC_somDefaultCopyInit SOMObject_somDefaultCopyInit
#define SOMTEnumEntryC_somDefaultAssign SOMObject_somDefaultAssign
#define SOMTEnumEntryC_somDefaultConstCopyInit SOMObject_somDefaultConstCopyInit
#define SOMTEnumEntryC_somDefaultVCopyInit SOMObject_somDefaultVCopyInit
#define SOMTEnumEntryC_somDefaultConstVCopyInit SOMObject_somDefaultConstVCopyInit
#define SOMTEnumEntryC_somDefaultConstAssign SOMObject_somDefaultConstAssign
#define SOMTEnumEntryC_somDefaultVAssign SOMObject_somDefaultVAssign
#define SOMTEnumEntryC_somDefaultConstVAssign SOMObject_somDefaultConstVAssign
#define SOMTEnumEntryC_somFree SOMObject_somFree
#define SOMTEnumEntryC_somGetClass SOMObject_somGetClass
#define SOMTEnumEntryC_somGetClassName SOMObject_somGetClassName
#define SOMTEnumEntryC_somGetSize SOMObject_somGetSize
#define SOMTEnumEntryC_somIsA SOMObject_somIsA
#define SOMTEnumEntryC_somIsInstanceOf SOMObject_somIsInstanceOf
#define SOMTEnumEntryC_somRespondsTo SOMObject_somRespondsTo
#define SOMTEnumEntryC_somDispatch SOMObject_somDispatch
#define SOMTEnumEntryC_somClassDispatch SOMObject_somClassDispatch
#define SOMTEnumEntryC_somCastObj SOMObject_somCastObj
#define SOMTEnumEntryC_somResetObj SOMObject_somResetObj
#endif /* SOM_DONT_USE_INHERITED_MACROS */

#endif       /* SOM_SOMTEnumEntryC_h */
