
/*
 * This file was generated by the SOM Compiler.
 * FileName: scconst.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_SOMTConstEntryC_h
#define SOM_SOMTConstEntryC_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 SOMTConstEntryCClassData (*resolve_SOMTConstEntryCClassData())
#define SOMTConstEntryCCClassData (*resolve_SOMTConstEntryCCClassData())

/*
 * Define the class name as an object type
 */
#ifndef SOMTConstEntryC
#define SOMTConstEntryC 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 SOMTConstEntryC_MajorVersion 2
#define SOMTConstEntryC_MinorVersion 1

/*
 * External name shortening if required
 */
#ifdef SOM_USE_SHORT_EXTERNAL_NAMES
#define SOMTConstEntryCNewClass c
#define SOMTConstEntryCClassData d
#define SOMTConstEntryCCClassData x
#endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
/*--------------Migration------------*/
#define SOMTConstEntryC_classObj SOMTConstEntryCClassData.classObject
#define _SOMTConstEntryC SOMTConstEntryC_classObj

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

/*
 * Declare the class data structure
 */
SOMEXTERN struct SOMTConstEntryCClassDataStructure {
	SOMClass *classObject;
	somMToken _get_somtConstStringVal;
	somMToken _get_somtConstNumVal;
	somMToken _get_somtConstType;
	somMToken _get_somtConstTypeObj;
	somMToken _get_somtConstVal;
	somMToken _get_somtConstNumNegVal;
	somMToken _get_somtConstIsNegative;
}  _SOMTConstEntryCClassData;
SOMEXTERN struct SOMTConstEntryCClassDataStructure * SOMLINK resolve_SOMTConstEntryCClassData(void);

/*
 * Declare the C specific class data structure
 */
SOMEXTERN struct SOMTConstEntryCCClassDataStructure {
	somMethodTabs parentMtab;
	somDToken instanceDataToken;
}  _SOMTConstEntryCCClassData;
SOMEXTERN struct SOMTConstEntryCCClassDataStructure * SOMLINK resolve_SOMTConstEntryCCClassData(void);

/*
 * New and Renew macros for SOMTConstEntryC
 */
#define SOMTConstEntryCNew() \
   (_somNew(_SOMTConstEntryC ? _SOMTConstEntryC : SOMTConstEntryCNewClass(SOMTConstEntryC_MajorVersion, SOMTConstEntryC_MinorVersion)))
#define SOMTConstEntryCRenew(buf) \
   (_somRenew(_SOMTConstEntryC ? _SOMTConstEntryC : SOMTConstEntryCNewClass(SOMTConstEntryC_MajorVersion, SOMTConstEntryC_MinorVersion), buf))

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

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

/*
 * New Method: _get_somtConstTypeObj
 */
typedef SOMTEntryC*   (SOMLINK * somTD_SOMTConstEntryC__get_somtConstTypeObj)(SOMTConstEntryC *somSelf);
#define somMD_SOMTConstEntryC__get_somtConstTypeObj "::SOMTConstEntryC::somtConstTypeObj"
#define SOMTConstEntryC__get_somtConstTypeObj(somSelf) \
    (SOM_Resolve(somSelf, SOMTConstEntryC, _get_somtConstTypeObj) \
	(somSelf))
#ifndef SOMGD_get_somtConstTypeObj
    #if (defined(_get_somtConstTypeObj) || defined(__get_somtConstTypeObj))
        #undef _get_somtConstTypeObj
        #undef __get_somtConstTypeObj
        #define SOMGD_get_somtConstTypeObj 1
    #else
        #define __get_somtConstTypeObj SOMTConstEntryC__get_somtConstTypeObj
    #endif /* __get_somtConstTypeObj */
#endif /* SOMGD_get_somtConstTypeObj */

/*
 * New Method: _get_somtConstType
 */
typedef string   (SOMLINK * somTD_SOMTConstEntryC__get_somtConstType)(SOMTConstEntryC *somSelf);
#define somMD_SOMTConstEntryC__get_somtConstType "::SOMTConstEntryC::somtConstType"
#define SOMTConstEntryC__get_somtConstType(somSelf) \
    (SOM_Resolve(somSelf, SOMTConstEntryC, _get_somtConstType) \
	(somSelf))
#ifndef SOMGD_get_somtConstType
    #if (defined(_get_somtConstType) || defined(__get_somtConstType))
        #undef _get_somtConstType
        #undef __get_somtConstType
        #define SOMGD_get_somtConstType 1
    #else
        #define __get_somtConstType SOMTConstEntryC__get_somtConstType
    #endif /* __get_somtConstType */
#endif /* SOMGD_get_somtConstType */

/*
 * New Method: _get_somtConstStringVal
 */
typedef string   (SOMLINK * somTD_SOMTConstEntryC__get_somtConstStringVal)(SOMTConstEntryC *somSelf);
#define somMD_SOMTConstEntryC__get_somtConstStringVal "::SOMTConstEntryC::somtConstStringVal"
#define SOMTConstEntryC__get_somtConstStringVal(somSelf) \
    (SOM_Resolve(somSelf, SOMTConstEntryC, _get_somtConstStringVal) \
	(somSelf))
#ifndef SOMGD_get_somtConstStringVal
    #if (defined(_get_somtConstStringVal) || defined(__get_somtConstStringVal))
        #undef _get_somtConstStringVal
        #undef __get_somtConstStringVal
        #define SOMGD_get_somtConstStringVal 1
    #else
        #define __get_somtConstStringVal SOMTConstEntryC__get_somtConstStringVal
    #endif /* __get_somtConstStringVal */
#endif /* SOMGD_get_somtConstStringVal */

/*
 * New Method: _get_somtConstNumVal
 */
typedef unsigned long   (SOMLINK * somTD_SOMTConstEntryC__get_somtConstNumVal)(SOMTConstEntryC *somSelf);
#define somMD_SOMTConstEntryC__get_somtConstNumVal "::SOMTConstEntryC::somtConstNumVal"
#define SOMTConstEntryC__get_somtConstNumVal(somSelf) \
    (SOM_Resolve(somSelf, SOMTConstEntryC, _get_somtConstNumVal) \
	(somSelf))
#ifndef SOMGD_get_somtConstNumVal
    #if (defined(_get_somtConstNumVal) || defined(__get_somtConstNumVal))
        #undef _get_somtConstNumVal
        #undef __get_somtConstNumVal
        #define SOMGD_get_somtConstNumVal 1
    #else
        #define __get_somtConstNumVal SOMTConstEntryC__get_somtConstNumVal
    #endif /* __get_somtConstNumVal */
#endif /* SOMGD_get_somtConstNumVal */

/*
 * New Method: _get_somtConstNumNegVal
 */
typedef long   (SOMLINK * somTD_SOMTConstEntryC__get_somtConstNumNegVal)(SOMTConstEntryC *somSelf);
#define somMD_SOMTConstEntryC__get_somtConstNumNegVal "::SOMTConstEntryC::somtConstNumNegVal"
#define SOMTConstEntryC__get_somtConstNumNegVal(somSelf) \
    (SOM_Resolve(somSelf, SOMTConstEntryC, _get_somtConstNumNegVal) \
	(somSelf))
#ifndef SOMGD_get_somtConstNumNegVal
    #if (defined(_get_somtConstNumNegVal) || defined(__get_somtConstNumNegVal))
        #undef _get_somtConstNumNegVal
        #undef __get_somtConstNumNegVal
        #define SOMGD_get_somtConstNumNegVal 1
    #else
        #define __get_somtConstNumNegVal SOMTConstEntryC__get_somtConstNumNegVal
    #endif /* __get_somtConstNumNegVal */
#endif /* SOMGD_get_somtConstNumNegVal */

/*
 * New Method: _get_somtConstIsNegative
 */
typedef boolean   (SOMLINK * somTD_SOMTConstEntryC__get_somtConstIsNegative)(SOMTConstEntryC *somSelf);
#define somMD_SOMTConstEntryC__get_somtConstIsNegative "::SOMTConstEntryC::somtConstIsNegative"
#define SOMTConstEntryC__get_somtConstIsNegative(somSelf) \
    (SOM_Resolve(somSelf, SOMTConstEntryC, _get_somtConstIsNegative) \
	(somSelf))
#ifndef SOMGD_get_somtConstIsNegative
    #if (defined(_get_somtConstIsNegative) || defined(__get_somtConstIsNegative))
        #undef _get_somtConstIsNegative
        #undef __get_somtConstIsNegative
        #define SOMGD_get_somtConstIsNegative 1
    #else
        #define __get_somtConstIsNegative SOMTConstEntryC__get_somtConstIsNegative
    #endif /* __get_somtConstIsNegative */
#endif /* SOMGD_get_somtConstIsNegative */

/*
 * New Method: _get_somtConstVal
 */
typedef string   (SOMLINK * somTD_SOMTConstEntryC__get_somtConstVal)(SOMTConstEntryC *somSelf);
#define somMD_SOMTConstEntryC__get_somtConstVal "::SOMTConstEntryC::somtConstVal"
#define SOMTConstEntryC__get_somtConstVal(somSelf) \
    (SOM_Resolve(somSelf, SOMTConstEntryC, _get_somtConstVal) \
	(somSelf))
#ifndef SOMGD_get_somtConstVal
    #if (defined(_get_somtConstVal) || defined(__get_somtConstVal))
        #undef _get_somtConstVal
        #undef __get_somtConstVal
        #define SOMGD_get_somtConstVal 1
    #else
        #define __get_somtConstVal SOMTConstEntryC__get_somtConstVal
    #endif /* __get_somtConstVal */
#endif /* SOMGD_get_somtConstVal */
#ifndef SOM_DONT_USE_INHERITED_MACROS
#define SOMTConstEntryC__get_somtEntryName SOMTEntryC__get_somtEntryName
#define SOMTConstEntryC__set_somtEntryName SOMTEntryC__set_somtEntryName
#define SOMTConstEntryC__get_somtElementType SOMTEntryC__get_somtElementType
#define SOMTConstEntryC__set_somtElementType SOMTEntryC__set_somtElementType
#define SOMTConstEntryC__get_somtElementTypeName SOMTEntryC__get_somtElementTypeName
#define SOMTConstEntryC__get_somtEntryComment SOMTEntryC__get_somtEntryComment
#define SOMTConstEntryC__get_somtSourceLineNumber SOMTEntryC__get_somtSourceLineNumber
#define SOMTConstEntryC__get_somtTypeCode SOMTEntryC__get_somtTypeCode
#define SOMTConstEntryC__get_somtIsReference SOMTEntryC__get_somtIsReference
#define SOMTConstEntryC__get_somtIDLScopedName SOMTEntryC__get_somtIDLScopedName
#define SOMTConstEntryC__get_somtCScopedName SOMTEntryC__get_somtCScopedName
#define SOMTConstEntryC_somtGetModifierValue SOMTEntryC_somtGetModifierValue
#define SOMTConstEntryC_somtGetFirstModifier SOMTEntryC_somtGetFirstModifier
#define SOMTConstEntryC_somtGetNextModifier SOMTEntryC_somtGetNextModifier
#define SOMTConstEntryC_somtFormatModifier SOMTEntryC_somtFormatModifier
#define SOMTConstEntryC_somtGetModifierList SOMTEntryC_somtGetModifierList
#define SOMTConstEntryC_somtSetEntryStruct SOMTEntryC_somtSetEntryStruct
#define SOMTConstEntryC_somDefaultInit SOMObject_somDefaultInit
#define SOMTConstEntryC_somDestruct SOMObject_somDestruct
#define SOMTConstEntryC_somDefaultCopyInit SOMObject_somDefaultCopyInit
#define SOMTConstEntryC_somDefaultAssign SOMObject_somDefaultAssign
#define SOMTConstEntryC_somDefaultConstCopyInit SOMObject_somDefaultConstCopyInit
#define SOMTConstEntryC_somDefaultVCopyInit SOMObject_somDefaultVCopyInit
#define SOMTConstEntryC_somDefaultConstVCopyInit SOMObject_somDefaultConstVCopyInit
#define SOMTConstEntryC_somDefaultConstAssign SOMObject_somDefaultConstAssign
#define SOMTConstEntryC_somDefaultVAssign SOMObject_somDefaultVAssign
#define SOMTConstEntryC_somDefaultConstVAssign SOMObject_somDefaultConstVAssign
#define SOMTConstEntryC_somInit SOMObject_somInit
#define SOMTConstEntryC_somFree SOMObject_somFree
#define SOMTConstEntryC_somUninit SOMObject_somUninit
#define SOMTConstEntryC_somGetClass SOMObject_somGetClass
#define SOMTConstEntryC_somGetClassName SOMObject_somGetClassName
#define SOMTConstEntryC_somGetSize SOMObject_somGetSize
#define SOMTConstEntryC_somIsA SOMObject_somIsA
#define SOMTConstEntryC_somIsInstanceOf SOMObject_somIsInstanceOf
#define SOMTConstEntryC_somRespondsTo SOMObject_somRespondsTo
#define SOMTConstEntryC_somDispatch SOMObject_somDispatch
#define SOMTConstEntryC_somClassDispatch SOMObject_somClassDispatch
#define SOMTConstEntryC_somCastObj SOMObject_somCastObj
#define SOMTConstEntryC_somResetObj SOMObject_somResetObj
#define SOMTConstEntryC_somDispatchV SOMObject_somDispatchV
#define SOMTConstEntryC_somDispatchL SOMObject_somDispatchL
#define SOMTConstEntryC_somDispatchA SOMObject_somDispatchA
#define SOMTConstEntryC_somDispatchD SOMObject_somDispatchD
#define SOMTConstEntryC_somPrintSelf SOMObject_somPrintSelf
#define SOMTConstEntryC_somDumpSelf SOMObject_somDumpSelf
#endif /* SOM_DONT_USE_INHERITED_MACROS */

#endif       /* SOM_SOMTConstEntryC_h */
