
/*
 * This file was generated by the SOM Compiler.
 * FileName: scmeta.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_SOMTMetaClassEntryC_h
#define SOM_SOMTMetaClassEntryC_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 SOMTMetaClassEntryCClassData (*resolve_SOMTMetaClassEntryCClassData())
#define SOMTMetaClassEntryCCClassData (*resolve_SOMTMetaClassEntryCCClassData())

/*
 * Define the class name as an object type
 */
#ifndef SOMTMetaClassEntryC
#define SOMTMetaClassEntryC 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 SOMTMetaClassEntryC_MajorVersion 2
#define SOMTMetaClassEntryC_MinorVersion 1

/*
 * External name shortening if required
 */
#ifdef SOM_USE_SHORT_EXTERNAL_NAMES
#define SOMTMetaClassEntryCNewClass c
#define SOMTMetaClassEntryCClassData d
#define SOMTMetaClassEntryCCClassData x
#endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
/*--------------Migration------------*/
#define SOMTMetaClassEntryC_classObj SOMTMetaClassEntryCClassData.classObject
#define _SOMTMetaClassEntryC SOMTMetaClassEntryC_classObj

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

/*
 * Declare the class data structure
 */
SOMEXTERN struct SOMTMetaClassEntryCClassDataStructure {
	SOMClass *classObject;
	somMToken _get_somtMetaFile;
	somMToken _get_somtMetaClassDef;
}  _SOMTMetaClassEntryCClassData;
SOMEXTERN struct SOMTMetaClassEntryCClassDataStructure * SOMLINK resolve_SOMTMetaClassEntryCClassData(void);

/*
 * Declare the C specific class data structure
 */
SOMEXTERN struct SOMTMetaClassEntryCCClassDataStructure {
	somMethodTabs parentMtab;
	somDToken instanceDataToken;
}  _SOMTMetaClassEntryCCClassData;
SOMEXTERN struct SOMTMetaClassEntryCCClassDataStructure * SOMLINK resolve_SOMTMetaClassEntryCCClassData(void);

/*
 * New and Renew macros for SOMTMetaClassEntryC
 */
#define SOMTMetaClassEntryCNew() \
   (_somNew(_SOMTMetaClassEntryC ? _SOMTMetaClassEntryC : SOMTMetaClassEntryCNewClass(SOMTMetaClassEntryC_MajorVersion, SOMTMetaClassEntryC_MinorVersion)))
#define SOMTMetaClassEntryCRenew(buf) \
   (_somRenew(_SOMTMetaClassEntryC ? _SOMTMetaClassEntryC : SOMTMetaClassEntryCNewClass(SOMTMetaClassEntryC_MajorVersion, SOMTMetaClassEntryC_MinorVersion), buf))

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

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

/*
 * New Method: _get_somtMetaFile
 */
typedef string   (SOMLINK * somTD_SOMTMetaClassEntryC__get_somtMetaFile)(SOMTMetaClassEntryC *somSelf);
#define somMD_SOMTMetaClassEntryC__get_somtMetaFile "::SOMTMetaClassEntryC::somtMetaFile"
#define SOMTMetaClassEntryC__get_somtMetaFile(somSelf) \
    (SOM_Resolve(somSelf, SOMTMetaClassEntryC, _get_somtMetaFile) \
	(somSelf))
#ifndef SOMGD_get_somtMetaFile
    #if (defined(_get_somtMetaFile) || defined(__get_somtMetaFile))
        #undef _get_somtMetaFile
        #undef __get_somtMetaFile
        #define SOMGD_get_somtMetaFile 1
    #else
        #define __get_somtMetaFile SOMTMetaClassEntryC__get_somtMetaFile
    #endif /* __get_somtMetaFile */
#endif /* SOMGD_get_somtMetaFile */

/*
 * New Method: _get_somtMetaClassDef
 */
typedef SOMTClassEntryC*   (SOMLINK * somTD_SOMTMetaClassEntryC__get_somtMetaClassDef)(SOMTMetaClassEntryC *somSelf);
#define somMD_SOMTMetaClassEntryC__get_somtMetaClassDef "::SOMTMetaClassEntryC::somtMetaClassDef"
#define SOMTMetaClassEntryC__get_somtMetaClassDef(somSelf) \
    (SOM_Resolve(somSelf, SOMTMetaClassEntryC, _get_somtMetaClassDef) \
	(somSelf))
#ifndef SOMGD_get_somtMetaClassDef
    #if (defined(_get_somtMetaClassDef) || defined(__get_somtMetaClassDef))
        #undef _get_somtMetaClassDef
        #undef __get_somtMetaClassDef
        #define SOMGD_get_somtMetaClassDef 1
    #else
        #define __get_somtMetaClassDef SOMTMetaClassEntryC__get_somtMetaClassDef
    #endif /* __get_somtMetaClassDef */
#endif /* SOMGD_get_somtMetaClassDef */
#ifndef SOM_DONT_USE_INHERITED_MACROS
#define SOMTMetaClassEntryC__get_somtEntryName SOMTEntryC__get_somtEntryName
#define SOMTMetaClassEntryC__set_somtEntryName SOMTEntryC__set_somtEntryName
#define SOMTMetaClassEntryC__get_somtElementType SOMTEntryC__get_somtElementType
#define SOMTMetaClassEntryC__set_somtElementType SOMTEntryC__set_somtElementType
#define SOMTMetaClassEntryC__get_somtElementTypeName SOMTEntryC__get_somtElementTypeName
#define SOMTMetaClassEntryC__get_somtEntryComment SOMTEntryC__get_somtEntryComment
#define SOMTMetaClassEntryC__get_somtSourceLineNumber SOMTEntryC__get_somtSourceLineNumber
#define SOMTMetaClassEntryC__get_somtTypeCode SOMTEntryC__get_somtTypeCode
#define SOMTMetaClassEntryC__get_somtIsReference SOMTEntryC__get_somtIsReference
#define SOMTMetaClassEntryC__get_somtIDLScopedName SOMTEntryC__get_somtIDLScopedName
#define SOMTMetaClassEntryC__get_somtCScopedName SOMTEntryC__get_somtCScopedName
#define SOMTMetaClassEntryC_somtGetModifierValue SOMTEntryC_somtGetModifierValue
#define SOMTMetaClassEntryC_somtGetFirstModifier SOMTEntryC_somtGetFirstModifier
#define SOMTMetaClassEntryC_somtGetNextModifier SOMTEntryC_somtGetNextModifier
#define SOMTMetaClassEntryC_somtFormatModifier SOMTEntryC_somtFormatModifier
#define SOMTMetaClassEntryC_somtGetModifierList SOMTEntryC_somtGetModifierList
#define SOMTMetaClassEntryC_somtSetEntryStruct SOMTEntryC_somtSetEntryStruct
#define SOMTMetaClassEntryC_somDefaultInit SOMObject_somDefaultInit
#define SOMTMetaClassEntryC_somDestruct SOMObject_somDestruct
#define SOMTMetaClassEntryC_somDefaultCopyInit SOMObject_somDefaultCopyInit
#define SOMTMetaClassEntryC_somDefaultAssign SOMObject_somDefaultAssign
#define SOMTMetaClassEntryC_somDefaultConstCopyInit SOMObject_somDefaultConstCopyInit
#define SOMTMetaClassEntryC_somDefaultVCopyInit SOMObject_somDefaultVCopyInit
#define SOMTMetaClassEntryC_somDefaultConstVCopyInit SOMObject_somDefaultConstVCopyInit
#define SOMTMetaClassEntryC_somDefaultConstAssign SOMObject_somDefaultConstAssign
#define SOMTMetaClassEntryC_somDefaultVAssign SOMObject_somDefaultVAssign
#define SOMTMetaClassEntryC_somDefaultConstVAssign SOMObject_somDefaultConstVAssign
#define SOMTMetaClassEntryC_somInit SOMObject_somInit
#define SOMTMetaClassEntryC_somFree SOMObject_somFree
#define SOMTMetaClassEntryC_somUninit SOMObject_somUninit
#define SOMTMetaClassEntryC_somGetClass SOMObject_somGetClass
#define SOMTMetaClassEntryC_somGetClassName SOMObject_somGetClassName
#define SOMTMetaClassEntryC_somGetSize SOMObject_somGetSize
#define SOMTMetaClassEntryC_somIsA SOMObject_somIsA
#define SOMTMetaClassEntryC_somIsInstanceOf SOMObject_somIsInstanceOf
#define SOMTMetaClassEntryC_somRespondsTo SOMObject_somRespondsTo
#define SOMTMetaClassEntryC_somDispatch SOMObject_somDispatch
#define SOMTMetaClassEntryC_somClassDispatch SOMObject_somClassDispatch
#define SOMTMetaClassEntryC_somCastObj SOMObject_somCastObj
#define SOMTMetaClassEntryC_somResetObj SOMObject_somResetObj
#define SOMTMetaClassEntryC_somDispatchV SOMObject_somDispatchV
#define SOMTMetaClassEntryC_somDispatchL SOMObject_somDispatchL
#define SOMTMetaClassEntryC_somDispatchA SOMObject_somDispatchA
#define SOMTMetaClassEntryC_somDispatchD SOMObject_somDispatchD
#define SOMTMetaClassEntryC_somPrintSelf SOMObject_somPrintSelf
#define SOMTMetaClassEntryC_somDumpSelf SOMObject_somDumpSelf
#endif /* SOM_DONT_USE_INHERITED_MACROS */

#endif       /* SOM_SOMTMetaClassEntryC_h */
