
/*
 * This file was generated by the SOM Compiler.
 * FileName: scmeta.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_SOMTMetaClassEntryC_h
#define SOM_SOMTMetaClassEntryC_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_scmeta
#ifdef SOM_DLL_some
	/* export semantics */
	#if defined(SOM_DEFFILE_some)\
	||(defined(SOM_DEFFILE_BY_DEFAULT)&&!defined(SOM_NODEFFILE_some))\
	|| !defined(SOM_Module_scmeta_Source)
	#define SOM_IMPORTEXPORT_some_scmeta
	#else
	#define SOM_IMPORTEXPORT_some_scmeta SOMDLLEXPORT
	#endif
#else
	#define SOM_IMPORTEXPORT_some_scmeta 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 SOMTMetaClassEntryC
#define SOMTMetaClassEntryC 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 */

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

#define SOMTMetaClassEntryC_MajorVersion 2
#define SOMTMetaClassEntryC_MinorVersion 1

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

/*
 * Declare the ABI 2 ClassData structure
 */
SOMEXTERN struct SOMTMetaClassEntryCClassDataStructure {
	SOMClass classObject;
	somMToken _get_somtMetaFile;
	somMToken _get_somtMetaClassDef;
} SOM_IMPORTEXPORT_some_scmeta SOMDLINK SOMTMetaClassEntryCClassData;

/*
 * Declare the ABI 2 CClassData structure
 */
SOMEXTERN struct SOMTMetaClassEntryCCClassDataStructure {
	somMethodTabs parentMtab;
	somDToken instanceDataToken;
} SOM_IMPORTEXPORT_some_scmeta SOMDLINK SOMTMetaClassEntryCCClassData;

/*
 * Class Object and Method Token Macros
 */
#define _SOMCLASS_SOMTMetaClassEntryC (SOMTMetaClassEntryCClassData.classObject)
#ifndef SOMGD_SOMTMetaClassEntryC
    #if (defined(_SOMTMetaClassEntryC) || defined(__SOMTMetaClassEntryC))
        #undef _SOMTMetaClassEntryC
        #undef __SOMTMetaClassEntryC
        #define SOMGD_SOMTMetaClassEntryC 1
    #else
        #define _SOMTMetaClassEntryC _SOMCLASS_SOMTMetaClassEntryC
    #endif /* _SOMTMetaClassEntryC */
#endif /* SOMGD_SOMTMetaClassEntryC */
#define SOMTMetaClassEntryC_classObj _SOMCLASS_SOMTMetaClassEntryC
#define _SOMMTOKEN_SOMTMetaClassEntryC(method) ((somMToken)SOMTMetaClassEntryCClassData.method)

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

/*
 * New Method: _get_somtMetaFile
 */
typedef string   SOMLINK somTP_SOMTMetaClassEntryC__get_somtMetaFile(SOMTMetaClassEntryC somSelf);
typedef somTP_SOMTMetaClassEntryC__get_somtMetaFile *somTD_SOMTMetaClassEntryC__get_somtMetaFile;
/*
 *  Returns the name of the file containing the definition of the
 *  meta class named in this entry.
 */
#define somMD_SOMTMetaClassEntryC__get_somtMetaFile "::SOMTMetaClassEntryC::_get_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 somTP_SOMTMetaClassEntryC__get_somtMetaClassDef(SOMTMetaClassEntryC somSelf);
typedef somTP_SOMTMetaClassEntryC__get_somtMetaClassDef *somTD_SOMTMetaClassEntryC__get_somtMetaClassDef;
/*
 *  Returns the class definition entry for the meta class named in
 *  this entry.
 */
#define somMD_SOMTMetaClassEntryC__get_somtMetaClassDef "::SOMTMetaClassEntryC::_get_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 */

/*
 * Full Names for Inherited Methods
 */
/* overridden methods */
#define SOMTMetaClassEntryC_somtSetSymbolsOnEntry SOMTEntryC_somtSetSymbolsOnEntry
#define SOMTMetaClassEntryC_somDumpSelfInt SOMObject_somDumpSelfInt

#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_somInit SOMObject_somInit
#define SOMTMetaClassEntryC_somUninit SOMObject_somUninit
#define SOMTMetaClassEntryC_somPrintSelf SOMObject_somPrintSelf
#define SOMTMetaClassEntryC_somDumpSelf SOMObject_somDumpSelf
#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_somFree SOMObject_somFree
#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
#endif /* SOM_DONT_USE_INHERITED_MACROS */

#endif       /* SOM_SOMTMetaClassEntryC_h */
