
/*
 * This file was generated by the SOM Compiler.
 * FileName: scdata.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_SOMTDataEntryC_h
#define SOM_SOMTDataEntryC_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 SOMTDataEntryCClassData (*resolve_SOMTDataEntryCClassData())
#define SOMTDataEntryCCClassData (*resolve_SOMTDataEntryCCClassData())

/*
 * Define the class name as an object type
 */
#ifndef SOMTDataEntryC
#define SOMTDataEntryC SOMObject
#endif
#include <sccommon.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 SOMTDataEntryC_MajorVersion 2
#define SOMTDataEntryC_MinorVersion 1

/*
 * External name shortening if required
 */
#ifdef SOM_USE_SHORT_EXTERNAL_NAMES
#define SOMTDataEntryCNewClass c
#define SOMTDataEntryCClassData d
#define SOMTDataEntryCCClassData x
#endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
/*--------------Migration------------*/
#define SOMTDataEntryC_classObj SOMTDataEntryCClassData.classObject
#define _SOMTDataEntryC SOMTDataEntryC_classObj

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

/*
 * Declare the class data structure
 */
SOMEXTERN struct SOMTDataEntryCClassDataStructure {
	SOMClass *classObject;
	somMToken _get_somtIsSelfRef;
}  _SOMTDataEntryCClassData;
SOMEXTERN struct SOMTDataEntryCClassDataStructure * SOMLINK resolve_SOMTDataEntryCClassData(void);

/*
 * Declare the C specific class data structure
 */
SOMEXTERN struct SOMTDataEntryCCClassDataStructure {
	somMethodTabs parentMtab;
	somDToken instanceDataToken;
}  _SOMTDataEntryCCClassData;
SOMEXTERN struct SOMTDataEntryCCClassDataStructure * SOMLINK resolve_SOMTDataEntryCCClassData(void);

/*
 * New and Renew macros for SOMTDataEntryC
 */
#define SOMTDataEntryCNew() \
   (_somNew(_SOMTDataEntryC ? _SOMTDataEntryC : SOMTDataEntryCNewClass(SOMTDataEntryC_MajorVersion, SOMTDataEntryC_MinorVersion)))
#define SOMTDataEntryCRenew(buf) \
   (_somRenew(_SOMTDataEntryC ? _SOMTDataEntryC : SOMTDataEntryCNewClass(SOMTDataEntryC_MajorVersion, SOMTDataEntryC_MinorVersion), buf))

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

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

/*
 * New Method: _get_somtIsSelfRef
 */
typedef boolean   (SOMLINK * somTD_SOMTDataEntryC__get_somtIsSelfRef)(SOMTDataEntryC *somSelf);
#define somMD_SOMTDataEntryC__get_somtIsSelfRef "::SOMTDataEntryC::somtIsSelfRef"
#define SOMTDataEntryC__get_somtIsSelfRef(somSelf) \
    (SOM_Resolve(somSelf, SOMTDataEntryC, _get_somtIsSelfRef) \
	(somSelf))
#ifndef SOMGD_get_somtIsSelfRef
    #if (defined(_get_somtIsSelfRef) || defined(__get_somtIsSelfRef))
        #undef _get_somtIsSelfRef
        #undef __get_somtIsSelfRef
        #define SOMGD_get_somtIsSelfRef 1
    #else
        #define __get_somtIsSelfRef SOMTDataEntryC__get_somtIsSelfRef
    #endif /* __get_somtIsSelfRef */
#endif /* SOMGD_get_somtIsSelfRef */
#ifndef SOM_DONT_USE_INHERITED_MACROS
#define SOMTDataEntryC__get_somtTypeObj SOMTCommonEntryC__get_somtTypeObj
#define SOMTDataEntryC__get_somtPtrs SOMTCommonEntryC__get_somtPtrs
#define SOMTDataEntryC__get_somtArrayDimsString SOMTCommonEntryC__get_somtArrayDimsString
#define SOMTDataEntryC_somtGetFirstArrayDimension SOMTCommonEntryC_somtGetFirstArrayDimension
#define SOMTDataEntryC_somtGetNextArrayDimension SOMTCommonEntryC_somtGetNextArrayDimension
#define SOMTDataEntryC__get_somtSourceText SOMTCommonEntryC__get_somtSourceText
#define SOMTDataEntryC__get_somtType SOMTCommonEntryC__get_somtType
#define SOMTDataEntryC__get_somtVisibility SOMTCommonEntryC__get_somtVisibility
#define SOMTDataEntryC_somtIsArray SOMTCommonEntryC_somtIsArray
#define SOMTDataEntryC_somtIsPointer SOMTCommonEntryC_somtIsPointer
#define SOMTDataEntryC__get_somtEntryName SOMTEntryC__get_somtEntryName
#define SOMTDataEntryC__set_somtEntryName SOMTEntryC__set_somtEntryName
#define SOMTDataEntryC__get_somtElementType SOMTEntryC__get_somtElementType
#define SOMTDataEntryC__set_somtElementType SOMTEntryC__set_somtElementType
#define SOMTDataEntryC__get_somtElementTypeName SOMTEntryC__get_somtElementTypeName
#define SOMTDataEntryC__get_somtEntryComment SOMTEntryC__get_somtEntryComment
#define SOMTDataEntryC__get_somtSourceLineNumber SOMTEntryC__get_somtSourceLineNumber
#define SOMTDataEntryC__get_somtTypeCode SOMTEntryC__get_somtTypeCode
#define SOMTDataEntryC__get_somtIsReference SOMTEntryC__get_somtIsReference
#define SOMTDataEntryC__get_somtIDLScopedName SOMTEntryC__get_somtIDLScopedName
#define SOMTDataEntryC__get_somtCScopedName SOMTEntryC__get_somtCScopedName
#define SOMTDataEntryC_somtGetModifierValue SOMTEntryC_somtGetModifierValue
#define SOMTDataEntryC_somtGetFirstModifier SOMTEntryC_somtGetFirstModifier
#define SOMTDataEntryC_somtGetNextModifier SOMTEntryC_somtGetNextModifier
#define SOMTDataEntryC_somtFormatModifier SOMTEntryC_somtFormatModifier
#define SOMTDataEntryC_somtGetModifierList SOMTEntryC_somtGetModifierList
#define SOMTDataEntryC_somtSetEntryStruct SOMTEntryC_somtSetEntryStruct
#define SOMTDataEntryC_somDefaultInit SOMObject_somDefaultInit
#define SOMTDataEntryC_somDestruct SOMObject_somDestruct
#define SOMTDataEntryC_somDefaultCopyInit SOMObject_somDefaultCopyInit
#define SOMTDataEntryC_somDefaultAssign SOMObject_somDefaultAssign
#define SOMTDataEntryC_somDefaultConstCopyInit SOMObject_somDefaultConstCopyInit
#define SOMTDataEntryC_somDefaultVCopyInit SOMObject_somDefaultVCopyInit
#define SOMTDataEntryC_somDefaultConstVCopyInit SOMObject_somDefaultConstVCopyInit
#define SOMTDataEntryC_somDefaultConstAssign SOMObject_somDefaultConstAssign
#define SOMTDataEntryC_somDefaultVAssign SOMObject_somDefaultVAssign
#define SOMTDataEntryC_somDefaultConstVAssign SOMObject_somDefaultConstVAssign
#define SOMTDataEntryC_somInit SOMObject_somInit
#define SOMTDataEntryC_somFree SOMObject_somFree
#define SOMTDataEntryC_somUninit SOMObject_somUninit
#define SOMTDataEntryC_somGetClass SOMObject_somGetClass
#define SOMTDataEntryC_somGetClassName SOMObject_somGetClassName
#define SOMTDataEntryC_somGetSize SOMObject_somGetSize
#define SOMTDataEntryC_somIsA SOMObject_somIsA
#define SOMTDataEntryC_somIsInstanceOf SOMObject_somIsInstanceOf
#define SOMTDataEntryC_somRespondsTo SOMObject_somRespondsTo
#define SOMTDataEntryC_somDispatch SOMObject_somDispatch
#define SOMTDataEntryC_somClassDispatch SOMObject_somClassDispatch
#define SOMTDataEntryC_somCastObj SOMObject_somCastObj
#define SOMTDataEntryC_somResetObj SOMObject_somResetObj
#define SOMTDataEntryC_somDispatchV SOMObject_somDispatchV
#define SOMTDataEntryC_somDispatchL SOMObject_somDispatchL
#define SOMTDataEntryC_somDispatchA SOMObject_somDispatchA
#define SOMTDataEntryC_somDispatchD SOMObject_somDispatchD
#define SOMTDataEntryC_somPrintSelf SOMObject_somPrintSelf
#define SOMTDataEntryC_somDumpSelf SOMObject_somDumpSelf
#endif /* SOM_DONT_USE_INHERITED_MACROS */

#endif       /* SOM_SOMTDataEntryC_h */
