
/*
 * This file was generated by the SOM Compiler.
 * FileName: sctdef.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_SOMTTypedefEntryC_h
#define SOM_SOMTTypedefEntryC_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_sctdef
#ifdef SOM_DLL_some
	/* export semantics */
	#if defined(SOM_DEFFILE_some)\
	||(defined(SOM_DEFFILE_BY_DEFAULT)&&!defined(SOM_NODEFFILE_some))\
	|| !defined(SOM_Module_sctdef_Source)
	#define SOM_IMPORTEXPORT_some_sctdef
	#else
	#define SOM_IMPORTEXPORT_some_sctdef SOMDLLEXPORT
	#endif
#else
	#define SOM_IMPORTEXPORT_some_sctdef 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 SOMTTypedefEntryC
#define SOMTTypedefEntryC 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 SOMTTypedefEntryC_MajorVersion 2
#define SOMTTypedefEntryC_MinorVersion 2

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

/*
 * Declare the ABI 2 ClassData structure
 */
SOMEXTERN struct SOMTTypedefEntryCClassDataStructure {
	SOMClass classObject;
	somMToken _get_somtTypedefType;
	somMToken somtGetFirstDeclarator;
	somMToken somtGetNextDeclarator;
} SOM_IMPORTEXPORT_some_sctdef SOMDLINK SOMTTypedefEntryCClassData;

/*
 * Declare the ABI 2 CClassData structure
 */
SOMEXTERN struct SOMTTypedefEntryCCClassDataStructure {
	somMethodTabs parentMtab;
	somDToken instanceDataToken;
} SOM_IMPORTEXPORT_some_sctdef SOMDLINK SOMTTypedefEntryCCClassData;

/*
 * Class Object and Method Token Macros
 */
#define _SOMCLASS_SOMTTypedefEntryC (SOMTTypedefEntryCClassData.classObject)
#ifndef SOMGD_SOMTTypedefEntryC
    #if (defined(_SOMTTypedefEntryC) || defined(__SOMTTypedefEntryC))
        #undef _SOMTTypedefEntryC
        #undef __SOMTTypedefEntryC
        #define SOMGD_SOMTTypedefEntryC 1
    #else
        #define _SOMTTypedefEntryC _SOMCLASS_SOMTTypedefEntryC
    #endif /* _SOMTTypedefEntryC */
#endif /* SOMGD_SOMTTypedefEntryC */
#define SOMTTypedefEntryC_classObj _SOMCLASS_SOMTTypedefEntryC
#define _SOMMTOKEN_SOMTTypedefEntryC(method) ((somMToken)SOMTTypedefEntryCClassData.method)

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

/*
 * New Method: _get_somtTypedefType
 */
typedef SOMTEntryC   SOMLINK somTP_SOMTTypedefEntryC__get_somtTypedefType(SOMTTypedefEntryC somSelf);
typedef somTP_SOMTTypedefEntryC__get_somtTypedefType *somTD_SOMTTypedefEntryC__get_somtTypedefType;
/*
 *  The type of the typedef. This does not include pointer stars or
 *  array declarators.   These must be obtained by examining each
 *  of the declarators.
 */
#define somMD_SOMTTypedefEntryC__get_somtTypedefType "::SOMTTypedefEntryC::_get_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 somTP_SOMTTypedefEntryC_somtGetFirstDeclarator(SOMTTypedefEntryC somSelf);
typedef somTP_SOMTTypedefEntryC_somtGetFirstDeclarator *somTD_SOMTTypedefEntryC_somtGetFirstDeclarator;
/*
 *  The first declarator for this typedef.
 *  Declarators of struct members will be instances of SOMTDataEntryC,
 *  while declarators of typedefs will be instances of SOMTUserDefinedTypeEntryC.
 */
#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 somTP_SOMTTypedefEntryC_somtGetNextDeclarator(SOMTTypedefEntryC somSelf);
typedef somTP_SOMTTypedefEntryC_somtGetNextDeclarator *somTD_SOMTTypedefEntryC_somtGetNextDeclarator;
/*
 *  The next declarator for this typedef, relative to the previous
 *  call to this method or somtGetFirstDeclarator.
 *  Declarators of struct members will be instances of SOMTDataEntryC,
 *  while declarators of typedefs will be instances of SOMTUserDefinedTypeEntryC.
 */
#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 */

/*
 * Full Names for Inherited Methods
 */
/* overridden methods */
#define SOMTTypedefEntryC__get_somtTypeCode SOMTEntryC__get_somtTypeCode
#define SOMTTypedefEntryC_somtSetSymbolsOnEntry SOMTEntryC_somtSetSymbolsOnEntry
#define SOMTTypedefEntryC_somDumpSelfInt SOMObject_somDumpSelfInt

#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_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_somInit SOMObject_somInit
#define SOMTTypedefEntryC_somUninit SOMObject_somUninit
#define SOMTTypedefEntryC_somPrintSelf SOMObject_somPrintSelf
#define SOMTTypedefEntryC_somDumpSelf SOMObject_somDumpSelf
#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_somFree SOMObject_somFree
#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
#endif /* SOM_DONT_USE_INHERITED_MACROS */

#endif       /* SOM_SOMTTypedefEntryC_h */
