
/*
 * This file was generated by the SOM Compiler.
 * FileName: scparm.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_SOMTParameterEntryC_h
#define SOM_SOMTParameterEntryC_h


/*
 * Passthru lines: File: "C.h", "before"
 */
typedef enum somtParameterDirectionT {somtInE,somtOutE,somtInOutE} somtParameterDirectionT;

#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 SOMTParameterEntryCClassData (*resolve_SOMTParameterEntryCClassData())
#define SOMTParameterEntryCCClassData (*resolve_SOMTParameterEntryCCClassData())

/*
 * Define the class name as an object type
 */
#ifndef SOMTParameterEntryC
#define SOMTParameterEntryC 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 SOMTParameterEntryC_MajorVersion 2
#define SOMTParameterEntryC_MinorVersion 1

/*
 * External name shortening if required
 */
#ifdef SOM_USE_SHORT_EXTERNAL_NAMES
#define SOMTParameterEntryCNewClass c
#define SOMTParameterEntryCClassData d
#define SOMTParameterEntryCCClassData x
#endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
/*--------------Migration------------*/
#define SOMTParameterEntryC_classObj SOMTParameterEntryCClassData.classObject
#define _SOMTParameterEntryC SOMTParameterEntryC_classObj

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

/*
 * Declare the class data structure
 */
SOMEXTERN struct SOMTParameterEntryCClassDataStructure {
	SOMClass *classObject;
	somMToken _get_somtParameterDirection;
	somMToken _get_somtCParameterDeclaration;
	somMToken _get_somtIDLParameterDeclaration;
}  _SOMTParameterEntryCClassData;
SOMEXTERN struct SOMTParameterEntryCClassDataStructure * SOMLINK resolve_SOMTParameterEntryCClassData(void);

/*
 * Declare the C specific class data structure
 */
SOMEXTERN struct SOMTParameterEntryCCClassDataStructure {
	somMethodTabs parentMtab;
	somDToken instanceDataToken;
}  _SOMTParameterEntryCCClassData;
SOMEXTERN struct SOMTParameterEntryCCClassDataStructure * SOMLINK resolve_SOMTParameterEntryCCClassData(void);

/*
 * New and Renew macros for SOMTParameterEntryC
 */
#define SOMTParameterEntryCNew() \
   (_somNew(_SOMTParameterEntryC ? _SOMTParameterEntryC : SOMTParameterEntryCNewClass(SOMTParameterEntryC_MajorVersion, SOMTParameterEntryC_MinorVersion)))
#define SOMTParameterEntryCRenew(buf) \
   (_somRenew(_SOMTParameterEntryC ? _SOMTParameterEntryC : SOMTParameterEntryCNewClass(SOMTParameterEntryC_MajorVersion, SOMTParameterEntryC_MinorVersion), buf))

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

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

/*
 * New Method: _get_somtParameterDirection
 */
typedef somtParameterDirectionT   (SOMLINK * somTD_SOMTParameterEntryC__get_somtParameterDirection)(SOMTParameterEntryC *somSelf);
#define somMD_SOMTParameterEntryC__get_somtParameterDirection "::SOMTParameterEntryC::somtParameterDirection"
#define SOMTParameterEntryC__get_somtParameterDirection(somSelf) \
    (SOM_Resolve(somSelf, SOMTParameterEntryC, _get_somtParameterDirection) \
	(somSelf))
#ifndef SOMGD_get_somtParameterDirection
    #if (defined(_get_somtParameterDirection) || defined(__get_somtParameterDirection))
        #undef _get_somtParameterDirection
        #undef __get_somtParameterDirection
        #define SOMGD_get_somtParameterDirection 1
    #else
        #define __get_somtParameterDirection SOMTParameterEntryC__get_somtParameterDirection
    #endif /* __get_somtParameterDirection */
#endif /* SOMGD_get_somtParameterDirection */

/*
 * New Method: _get_somtIDLParameterDeclaration
 */
typedef string   (SOMLINK * somTD_SOMTParameterEntryC__get_somtIDLParameterDeclaration)(SOMTParameterEntryC *somSelf);
#define somMD_SOMTParameterEntryC__get_somtIDLParameterDeclaration "::SOMTParameterEntryC::somtIDLParameterDeclaration"
#define SOMTParameterEntryC__get_somtIDLParameterDeclaration(somSelf) \
    (SOM_Resolve(somSelf, SOMTParameterEntryC, _get_somtIDLParameterDeclaration) \
	(somSelf))
#ifndef SOMGD_get_somtIDLParameterDeclaration
    #if (defined(_get_somtIDLParameterDeclaration) || defined(__get_somtIDLParameterDeclaration))
        #undef _get_somtIDLParameterDeclaration
        #undef __get_somtIDLParameterDeclaration
        #define SOMGD_get_somtIDLParameterDeclaration 1
    #else
        #define __get_somtIDLParameterDeclaration SOMTParameterEntryC__get_somtIDLParameterDeclaration
    #endif /* __get_somtIDLParameterDeclaration */
#endif /* SOMGD_get_somtIDLParameterDeclaration */

/*
 * New Method: _get_somtCParameterDeclaration
 */
typedef string   (SOMLINK * somTD_SOMTParameterEntryC__get_somtCParameterDeclaration)(SOMTParameterEntryC *somSelf);
#define somMD_SOMTParameterEntryC__get_somtCParameterDeclaration "::SOMTParameterEntryC::somtCParameterDeclaration"
#define SOMTParameterEntryC__get_somtCParameterDeclaration(somSelf) \
    (SOM_Resolve(somSelf, SOMTParameterEntryC, _get_somtCParameterDeclaration) \
	(somSelf))
#ifndef SOMGD_get_somtCParameterDeclaration
    #if (defined(_get_somtCParameterDeclaration) || defined(__get_somtCParameterDeclaration))
        #undef _get_somtCParameterDeclaration
        #undef __get_somtCParameterDeclaration
        #define SOMGD_get_somtCParameterDeclaration 1
    #else
        #define __get_somtCParameterDeclaration SOMTParameterEntryC__get_somtCParameterDeclaration
    #endif /* __get_somtCParameterDeclaration */
#endif /* SOMGD_get_somtCParameterDeclaration */
#ifndef SOM_DONT_USE_INHERITED_MACROS
#define SOMTParameterEntryC__get_somtTypeObj SOMTCommonEntryC__get_somtTypeObj
#define SOMTParameterEntryC__get_somtPtrs SOMTCommonEntryC__get_somtPtrs
#define SOMTParameterEntryC__get_somtArrayDimsString SOMTCommonEntryC__get_somtArrayDimsString
#define SOMTParameterEntryC_somtGetFirstArrayDimension SOMTCommonEntryC_somtGetFirstArrayDimension
#define SOMTParameterEntryC_somtGetNextArrayDimension SOMTCommonEntryC_somtGetNextArrayDimension
#define SOMTParameterEntryC__get_somtSourceText SOMTCommonEntryC__get_somtSourceText
#define SOMTParameterEntryC__get_somtType SOMTCommonEntryC__get_somtType
#define SOMTParameterEntryC__get_somtVisibility SOMTCommonEntryC__get_somtVisibility
#define SOMTParameterEntryC_somtIsArray SOMTCommonEntryC_somtIsArray
#define SOMTParameterEntryC_somtIsPointer SOMTCommonEntryC_somtIsPointer
#define SOMTParameterEntryC__get_somtEntryName SOMTEntryC__get_somtEntryName
#define SOMTParameterEntryC__set_somtEntryName SOMTEntryC__set_somtEntryName
#define SOMTParameterEntryC__get_somtElementType SOMTEntryC__get_somtElementType
#define SOMTParameterEntryC__set_somtElementType SOMTEntryC__set_somtElementType
#define SOMTParameterEntryC__get_somtElementTypeName SOMTEntryC__get_somtElementTypeName
#define SOMTParameterEntryC__get_somtEntryComment SOMTEntryC__get_somtEntryComment
#define SOMTParameterEntryC__get_somtSourceLineNumber SOMTEntryC__get_somtSourceLineNumber
#define SOMTParameterEntryC__get_somtTypeCode SOMTEntryC__get_somtTypeCode
#define SOMTParameterEntryC__get_somtIsReference SOMTEntryC__get_somtIsReference
#define SOMTParameterEntryC__get_somtIDLScopedName SOMTEntryC__get_somtIDLScopedName
#define SOMTParameterEntryC__get_somtCScopedName SOMTEntryC__get_somtCScopedName
#define SOMTParameterEntryC_somtGetModifierValue SOMTEntryC_somtGetModifierValue
#define SOMTParameterEntryC_somtGetFirstModifier SOMTEntryC_somtGetFirstModifier
#define SOMTParameterEntryC_somtGetNextModifier SOMTEntryC_somtGetNextModifier
#define SOMTParameterEntryC_somtFormatModifier SOMTEntryC_somtFormatModifier
#define SOMTParameterEntryC_somtGetModifierList SOMTEntryC_somtGetModifierList
#define SOMTParameterEntryC_somtSetEntryStruct SOMTEntryC_somtSetEntryStruct
#define SOMTParameterEntryC_somDefaultInit SOMObject_somDefaultInit
#define SOMTParameterEntryC_somDestruct SOMObject_somDestruct
#define SOMTParameterEntryC_somDefaultCopyInit SOMObject_somDefaultCopyInit
#define SOMTParameterEntryC_somDefaultAssign SOMObject_somDefaultAssign
#define SOMTParameterEntryC_somDefaultConstCopyInit SOMObject_somDefaultConstCopyInit
#define SOMTParameterEntryC_somDefaultVCopyInit SOMObject_somDefaultVCopyInit
#define SOMTParameterEntryC_somDefaultConstVCopyInit SOMObject_somDefaultConstVCopyInit
#define SOMTParameterEntryC_somDefaultConstAssign SOMObject_somDefaultConstAssign
#define SOMTParameterEntryC_somDefaultVAssign SOMObject_somDefaultVAssign
#define SOMTParameterEntryC_somDefaultConstVAssign SOMObject_somDefaultConstVAssign
#define SOMTParameterEntryC_somInit SOMObject_somInit
#define SOMTParameterEntryC_somFree SOMObject_somFree
#define SOMTParameterEntryC_somUninit SOMObject_somUninit
#define SOMTParameterEntryC_somGetClass SOMObject_somGetClass
#define SOMTParameterEntryC_somGetClassName SOMObject_somGetClassName
#define SOMTParameterEntryC_somGetSize SOMObject_somGetSize
#define SOMTParameterEntryC_somIsA SOMObject_somIsA
#define SOMTParameterEntryC_somIsInstanceOf SOMObject_somIsInstanceOf
#define SOMTParameterEntryC_somRespondsTo SOMObject_somRespondsTo
#define SOMTParameterEntryC_somDispatch SOMObject_somDispatch
#define SOMTParameterEntryC_somClassDispatch SOMObject_somClassDispatch
#define SOMTParameterEntryC_somCastObj SOMObject_somCastObj
#define SOMTParameterEntryC_somResetObj SOMObject_somResetObj
#define SOMTParameterEntryC_somDispatchV SOMObject_somDispatchV
#define SOMTParameterEntryC_somDispatchL SOMObject_somDispatchL
#define SOMTParameterEntryC_somDispatchA SOMObject_somDispatchA
#define SOMTParameterEntryC_somDispatchD SOMObject_somDispatchD
#define SOMTParameterEntryC_somPrintSelf SOMObject_somPrintSelf
#define SOMTParameterEntryC_somDumpSelf SOMObject_somDumpSelf
#endif /* SOM_DONT_USE_INHERITED_MACROS */

#endif       /* SOM_SOMTParameterEntryC_h */
