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


/*
 * The SOM_STRICT_IDL macro means that we can ignore stars
 * in our declarations of objects.
 */
#define SOM_STRICT_IDL 1


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

#include <som.h>
#ifndef SOM_IMPORTEXPORT_some_scparm
#ifdef SOM_DLL_some
	/* export semantics */
	#if defined(SOM_DEFFILE_some)\
	||(defined(SOM_DEFFILE_BY_DEFAULT)&&!defined(SOM_NODEFFILE_some))\
	|| !defined(SOM_Module_scparm_Source)
	#define SOM_IMPORTEXPORT_some_scparm
	#else
	#define SOM_IMPORTEXPORT_some_scparm SOMDLLEXPORT
	#endif
#else
	#define SOM_IMPORTEXPORT_some_scparm 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 SOMTParameterEntryC
#define SOMTParameterEntryC SOMObject
#endif

/*
 * Include Parent Bindings
 */
#ifndef SOM_SOMTCommonEntryC_h
#ifdef SOMLOCALINCLUDES
#include "sccommon.h"
#else
#include <sccommon.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 SOMTParameterEntryC_MajorVersion 2
#define SOMTParameterEntryC_MinorVersion 1

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

/*
 * Declare the ABI 2 ClassData structure
 */
SOMEXTERN struct SOMTParameterEntryCClassDataStructure {
	SOMClass classObject;
	somMToken _get_somtParameterDirection;
	somMToken _get_somtCParameterDeclaration;
	somMToken _get_somtIDLParameterDeclaration;
} SOM_IMPORTEXPORT_some_scparm SOMDLINK SOMTParameterEntryCClassData;

/*
 * Declare the ABI 2 CClassData structure
 */
SOMEXTERN struct SOMTParameterEntryCCClassDataStructure {
	somMethodTabs parentMtab;
	somDToken instanceDataToken;
} SOM_IMPORTEXPORT_some_scparm SOMDLINK SOMTParameterEntryCCClassData;

/*
 * Class Object and Method Token Macros
 */
#define _SOMCLASS_SOMTParameterEntryC (SOMTParameterEntryCClassData.classObject)
#ifndef SOMGD_SOMTParameterEntryC
    #if (defined(_SOMTParameterEntryC) || defined(__SOMTParameterEntryC))
        #undef _SOMTParameterEntryC
        #undef __SOMTParameterEntryC
        #define SOMGD_SOMTParameterEntryC 1
    #else
        #define _SOMTParameterEntryC _SOMCLASS_SOMTParameterEntryC
    #endif /* _SOMTParameterEntryC */
#endif /* SOMGD_SOMTParameterEntryC */
#define SOMTParameterEntryC_classObj _SOMCLASS_SOMTParameterEntryC
#define _SOMMTOKEN_SOMTParameterEntryC(method) ((somMToken)SOMTParameterEntryCClassData.method)

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

/*
 * New Method: _get_somtParameterDirection
 */
typedef somtParameterDirectionT   SOMLINK somTP_SOMTParameterEntryC__get_somtParameterDirection(SOMTParameterEntryC somSelf);
typedef somTP_SOMTParameterEntryC__get_somtParameterDirection *somTD_SOMTParameterEntryC__get_somtParameterDirection;
/*
 *  The direction for this parameter. (somtInE, somtOutE, or somtInOutE).
 */
#define somMD_SOMTParameterEntryC__get_somtParameterDirection "::SOMTParameterEntryC::_get_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 somTP_SOMTParameterEntryC__get_somtIDLParameterDeclaration(SOMTParameterEntryC somSelf);
typedef somTP_SOMTParameterEntryC__get_somtIDLParameterDeclaration *somTD_SOMTParameterEntryC__get_somtIDLParameterDeclaration;
/*
 *  The IDL declaration of the parameter, including the type and name.
 */
#define somMD_SOMTParameterEntryC__get_somtIDLParameterDeclaration "::SOMTParameterEntryC::_get_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 somTP_SOMTParameterEntryC__get_somtCParameterDeclaration(SOMTParameterEntryC somSelf);
typedef somTP_SOMTParameterEntryC__get_somtCParameterDeclaration *somTD_SOMTParameterEntryC__get_somtCParameterDeclaration;
/*
 *  The declaration for the parameter within a C method procedure prototype.
 *  It includes the parameter's type and name.
 *  This may differ from the parameter's IDL declaration.
 *  In particular, pointer stars may be added.
 */
#define somMD_SOMTParameterEntryC__get_somtCParameterDeclaration "::SOMTParameterEntryC::_get_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 */

/*
 * Full Names for Inherited Methods
 */
/* overridden methods */
#define SOMTParameterEntryC_somDumpSelfInt SOMObject_somDumpSelfInt
#define SOMTParameterEntryC_somtSetSymbolsOnEntry SOMTEntryC_somtSetSymbolsOnEntry

#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_somInit SOMObject_somInit
#define SOMTParameterEntryC_somUninit SOMObject_somUninit
#define SOMTParameterEntryC_somPrintSelf SOMObject_somPrintSelf
#define SOMTParameterEntryC_somDumpSelf SOMObject_somDumpSelf
#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_somFree SOMObject_somFree
#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
#endif /* SOM_DONT_USE_INHERITED_MACROS */

#endif       /* SOM_SOMTParameterEntryC_h */
