
/*
 * This file was generated by the SOM Compiler.
 * FileName: sctdef.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_SOMTTypedefEntryC_h
#define SOM_SOMTTypedefEntryC_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 SOMTTypedefEntryCClassData (*resolve_SOMTTypedefEntryCClassData())
#define SOMTTypedefEntryCCClassData (*resolve_SOMTTypedefEntryCCClassData())

/*
 * Define the class name as an object type
 */
#ifndef SOMTTypedefEntryC
#define SOMTTypedefEntryC 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 SOMTTypedefEntryC_MajorVersion 2
#define SOMTTypedefEntryC_MinorVersion 1

/*
 * External name shortening if required
 */
#ifdef SOM_USE_SHORT_EXTERNAL_NAMES
#define SOMTTypedefEntryCNewClass c
#define SOMTTypedefEntryCClassData d
#define SOMTTypedefEntryCCClassData x
#endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
/*--------------Migration------------*/
#define SOMTTypedefEntryC_classObj SOMTTypedefEntryCClassData.classObject
#define _SOMTTypedefEntryC SOMTTypedefEntryC_classObj

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

/*
 * Declare the class data structure
 */
SOMEXTERN struct SOMTTypedefEntryCClassDataStructure {
	SOMClass *classObject;
	somMToken _get_somtTypedefType;
	somMToken somtGetFirstDeclarator;
	somMToken somtGetNextDeclarator;
}  _SOMTTypedefEntryCClassData;
SOMEXTERN struct SOMTTypedefEntryCClassDataStructure * SOMLINK resolve_SOMTTypedefEntryCClassData(void);

/*
 * Declare the C specific class data structure
 */
SOMEXTERN struct SOMTTypedefEntryCCClassDataStructure {
	somMethodTabs parentMtab;
	somDToken instanceDataToken;
}  _SOMTTypedefEntryCCClassData;
SOMEXTERN struct SOMTTypedefEntryCCClassDataStructure * SOMLINK resolve_SOMTTypedefEntryCCClassData(void);

/*
 * New and Renew macros for SOMTTypedefEntryC
 */
#define SOMTTypedefEntryCNew() \
   (_somNew(_SOMTTypedefEntryC ? _SOMTTypedefEntryC : SOMTTypedefEntryCNewClass(SOMTTypedefEntryC_MajorVersion, SOMTTypedefEntryC_MinorVersion)))
#define SOMTTypedefEntryCRenew(buf) \
   (_somRenew(_SOMTTypedefEntryC ? _SOMTTypedefEntryC : SOMTTypedefEntryCNewClass(SOMTTypedefEntryC_MajorVersion, SOMTTypedefEntryC_MinorVersion), buf))

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

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

/*
 * New Method: _get_somtTypedefType
 */
typedef SOMTEntryC*   (SOMLINK * somTD_SOMTTypedefEntryC__get_somtTypedefType)(SOMTTypedefEntryC *somSelf);
#define somMD_SOMTTypedefEntryC__get_somtTypedefType "::SOMTTypedefEntryC::somtTypedefType"
#define SOMTTypedefEntryC__get_somtTypedefType(somSelf) \
    (SOM_Resolve(somSelf, SOMTTypedefEntryC, _get_somtTypedefType) \
	(somSelf))
#ifndef SOMGD_get_somtTypedefType
    #if (defined(_get_somtTypedefType) || defined(__get_somtTypedefType))
        #undef _get_somtTypedefType
        #undef __get_somtTypedefType
        #define SOMGD_get_somtTypedefType 1
    #else
        #define __get_somtTypedefType SOMTTypedefEntryC__get_somtTypedefType
    #endif /* __get_somtTypedefType */
#endif /* SOMGD_get_somtTypedefType */

/*
 * New Method: somtGetFirstDeclarator
 */
typedef SOMTCommonEntryC*   (SOMLINK * somTD_SOMTTypedefEntryC_somtGetFirstDeclarator)(SOMTTypedefEntryC *somSelf);
#define somMD_SOMTTypedefEntryC_somtGetFirstDeclarator "::SOMTTypedefEntryC::somtGetFirstDeclarator"
#define SOMTTypedefEntryC_somtGetFirstDeclarator(somSelf) \
    (SOM_Resolve(somSelf, SOMTTypedefEntryC, somtGetFirstDeclarator) \
	(somSelf))
#ifndef SOMGD_somtGetFirstDeclarator
    #if (defined(_somtGetFirstDeclarator) || defined(__somtGetFirstDeclarator))
        #undef _somtGetFirstDeclarator
        #undef __somtGetFirstDeclarator
        #define SOMGD_somtGetFirstDeclarator 1
    #else
        #define _somtGetFirstDeclarator SOMTTypedefEntryC_somtGetFirstDeclarator
    #endif /* _somtGetFirstDeclarator */
#endif /* SOMGD_somtGetFirstDeclarator */

/*
 * New Method: somtGetNextDeclarator
 */
typedef SOMTCommonEntryC*   (SOMLINK * somTD_SOMTTypedefEntryC_somtGetNextDeclarator)(SOMTTypedefEntryC *somSelf);
#define somMD_SOMTTypedefEntryC_somtGetNextDeclarator "::SOMTTypedefEntryC::somtGetNextDeclarator"
#define SOMTTypedefEntryC_somtGetNextDeclarator(somSelf) \
    (SOM_Resolve(somSelf, SOMTTypedefEntryC, somtGetNextDeclarator) \
	(somSelf))
#ifndef SOMGD_somtGetNextDeclarator
    #if (defined(_somtGetNextDeclarator) || defined(__somtGetNextDeclarator))
        #undef _somtGetNextDeclarator
        #undef __somtGetNextDeclarator
        #define SOMGD_somtGetNextDeclarator 1
    #else
        #define _somtGetNextDeclarator SOMTTypedefEntryC_somtGetNextDeclarator
    #endif /* _somtGetNextDeclarator */
#endif /* SOMGD_somtGetNextDeclarator */
#ifndef SOM_DONT_USE_INHERITED_MACROS
#define SOMTTypedefEntryC__get_somtEntryName SOMTEntryC__get_somtEntryName
#define SOMTTypedefEntryC__set_somtEntryName SOMTEntryC__set_somtEntryName
#define SOMTTypedefEntryC__get_somtElementType SOMTEntryC__get_somtElementType
#define SOMTTypedefEntryC__set_somtElementType SOMTEntryC__set_somtElementType
#define SOMTTypedefEntryC__get_somtElementTypeName SOMTEntryC__get_somtElementTypeName
#define SOMTTypedefEntryC__get_somtEntryComment SOMTEntryC__get_somtEntryComment
#define SOMTTypedefEntryC__get_somtSourceLineNumber SOMTEntryC__get_somtSourceLineNumber
#define SOMTTypedefEntryC__get_somtTypeCode SOMTEntryC__get_somtTypeCode
#define SOMTTypedefEntryC__get_somtIsReference SOMTEntryC__get_somtIsReference
#define SOMTTypedefEntryC__get_somtIDLScopedName SOMTEntryC__get_somtIDLScopedName
#define SOMTTypedefEntryC__get_somtCScopedName SOMTEntryC__get_somtCScopedName
#define SOMTTypedefEntryC_somtGetModifierValue SOMTEntryC_somtGetModifierValue
#define SOMTTypedefEntryC_somtGetFirstModifier SOMTEntryC_somtGetFirstModifier
#define SOMTTypedefEntryC_somtGetNextModifier SOMTEntryC_somtGetNextModifier
#define SOMTTypedefEntryC_somtFormatModifier SOMTEntryC_somtFormatModifier
#define SOMTTypedefEntryC_somtGetModifierList SOMTEntryC_somtGetModifierList
#define SOMTTypedefEntryC_somtSetEntryStruct SOMTEntryC_somtSetEntryStruct
#define SOMTTypedefEntryC_somDefaultInit SOMObject_somDefaultInit
#define SOMTTypedefEntryC_somDestruct SOMObject_somDestruct
#define SOMTTypedefEntryC_somDefaultCopyInit SOMObject_somDefaultCopyInit
#define SOMTTypedefEntryC_somDefaultAssign SOMObject_somDefaultAssign
#define SOMTTypedefEntryC_somDefaultConstCopyInit SOMObject_somDefaultConstCopyInit
#define SOMTTypedefEntryC_somDefaultVCopyInit SOMObject_somDefaultVCopyInit
#define SOMTTypedefEntryC_somDefaultConstVCopyInit SOMObject_somDefaultConstVCopyInit
#define SOMTTypedefEntryC_somDefaultConstAssign SOMObject_somDefaultConstAssign
#define SOMTTypedefEntryC_somDefaultVAssign SOMObject_somDefaultVAssign
#define SOMTTypedefEntryC_somDefaultConstVAssign SOMObject_somDefaultConstVAssign
#define SOMTTypedefEntryC_somInit SOMObject_somInit
#define SOMTTypedefEntryC_somFree SOMObject_somFree
#define SOMTTypedefEntryC_somUninit SOMObject_somUninit
#define SOMTTypedefEntryC_somGetClass SOMObject_somGetClass
#define SOMTTypedefEntryC_somGetClassName SOMObject_somGetClassName
#define SOMTTypedefEntryC_somGetSize SOMObject_somGetSize
#define SOMTTypedefEntryC_somIsA SOMObject_somIsA
#define SOMTTypedefEntryC_somIsInstanceOf SOMObject_somIsInstanceOf
#define SOMTTypedefEntryC_somRespondsTo SOMObject_somRespondsTo
#define SOMTTypedefEntryC_somDispatch SOMObject_somDispatch
#define SOMTTypedefEntryC_somClassDispatch SOMObject_somClassDispatch
#define SOMTTypedefEntryC_somCastObj SOMObject_somCastObj
#define SOMTTypedefEntryC_somResetObj SOMObject_somResetObj
#define SOMTTypedefEntryC_somDispatchV SOMObject_somDispatchV
#define SOMTTypedefEntryC_somDispatchL SOMObject_somDispatchL
#define SOMTTypedefEntryC_somDispatchA SOMObject_somDispatchA
#define SOMTTypedefEntryC_somDispatchD SOMObject_somDispatchD
#define SOMTTypedefEntryC_somPrintSelf SOMObject_somPrintSelf
#define SOMTTypedefEntryC_somDumpSelf SOMObject_somDumpSelf
#endif /* SOM_DONT_USE_INHERITED_MACROS */

#endif       /* SOM_SOMTTypedefEntryC_h */
