
/*
 * This file was generated by the SOM Compiler.
 * FileName: scattrib.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_SOMTAttributeEntryC_h
#define SOM_SOMTAttributeEntryC_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_scattrib
#ifdef SOM_DLL_some
	/* export semantics */
	#if defined(SOM_DEFFILE_some)\
	||(defined(SOM_DEFFILE_BY_DEFAULT)&&!defined(SOM_NODEFFILE_some))\
	|| !defined(SOM_Module_scattrib_Source)
	#define SOM_IMPORTEXPORT_some_scattrib
	#else
	#define SOM_IMPORTEXPORT_some_scattrib SOMDLLEXPORT
	#endif
#else
	#define SOM_IMPORTEXPORT_some_scattrib 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 SOMTAttributeEntryC
#define SOMTAttributeEntryC 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 SOMTDataEntryC
    #define SOMTDataEntryC SOMObject
#endif /* SOMTDataEntryC */
#ifndef SOMTMethodEntryC
    #define SOMTMethodEntryC SOMObject
#endif /* SOMTMethodEntryC */
#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 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 SOMTAttributeEntryC_MajorVersion 2
#define SOMTAttributeEntryC_MinorVersion 1

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

/*
 * Declare the ABI 2 ClassData structure
 */
SOMEXTERN struct SOMTAttributeEntryCClassDataStructure {
	SOMClass classObject;
	somMToken _get_somtIsReadonly;
	somMToken _get_somtAttribType;
	somMToken somtGetFirstAttributeDeclarator;
	somMToken somtGetNextAttributeDeclarator;
	somMToken somtGetFirstGetMethod;
	somMToken somtGetNextGetMethod;
	somMToken somtGetFirstSetMethod;
	somMToken somtGetNextSetMethod;
} SOM_IMPORTEXPORT_some_scattrib SOMDLINK SOMTAttributeEntryCClassData;

/*
 * Declare the ABI 2 CClassData structure
 */
SOMEXTERN struct SOMTAttributeEntryCCClassDataStructure {
	somMethodTabs parentMtab;
	somDToken instanceDataToken;
} SOM_IMPORTEXPORT_some_scattrib SOMDLINK SOMTAttributeEntryCCClassData;

/*
 * Class Object and Method Token Macros
 */
#define _SOMCLASS_SOMTAttributeEntryC (SOMTAttributeEntryCClassData.classObject)
#ifndef SOMGD_SOMTAttributeEntryC
    #if (defined(_SOMTAttributeEntryC) || defined(__SOMTAttributeEntryC))
        #undef _SOMTAttributeEntryC
        #undef __SOMTAttributeEntryC
        #define SOMGD_SOMTAttributeEntryC 1
    #else
        #define _SOMTAttributeEntryC _SOMCLASS_SOMTAttributeEntryC
    #endif /* _SOMTAttributeEntryC */
#endif /* SOMGD_SOMTAttributeEntryC */
#define SOMTAttributeEntryC_classObj _SOMCLASS_SOMTAttributeEntryC
#define _SOMMTOKEN_SOMTAttributeEntryC(method) ((somMToken)SOMTAttributeEntryCClassData.method)

/*
 * New and Renew macros for SOMTAttributeEntryC
 */
#define SOMTAttributeEntryCNew() \
   ( _SOMTAttributeEntryC ? \
	_somNew(_SOMTAttributeEntryC) \
	: ( SOMTAttributeEntryCNewClass(\
		SOMTAttributeEntryC_MajorVersion, \
		SOMTAttributeEntryC_MinorVersion),\
	   _somNew(_SOMTAttributeEntryC)))
#define SOMTAttributeEntryCRenew(buf) \
   ( _SOMTAttributeEntryC ? \
	_somRenew(_SOMTAttributeEntryC, buf) \
	: ( SOMTAttributeEntryCNewClass(\
		SOMTAttributeEntryC_MajorVersion, \
		SOMTAttributeEntryC_MinorVersion),\
	   _somRenew(_SOMTAttributeEntryC, buf)))

/*
 * New Method: _get_somtIsReadonly
 */
typedef boolean   SOMLINK somTP_SOMTAttributeEntryC__get_somtIsReadonly(SOMTAttributeEntryC somSelf);
typedef somTP_SOMTAttributeEntryC__get_somtIsReadonly *somTD_SOMTAttributeEntryC__get_somtIsReadonly;
/*
 *  Whether the attribute is readonly.
 */
#define somMD_SOMTAttributeEntryC__get_somtIsReadonly "::SOMTAttributeEntryC::_get_somtIsReadonly"
#define SOMTAttributeEntryC__get_somtIsReadonly(somSelf) \
    (SOM_Resolve(somSelf, SOMTAttributeEntryC, _get_somtIsReadonly) \
	(somSelf))
#ifndef SOMGD_get_somtIsReadonly
    #if (defined(_get_somtIsReadonly) || defined(__get_somtIsReadonly))
        #undef _get_somtIsReadonly
        #undef __get_somtIsReadonly
        #define SOMGD_get_somtIsReadonly 1
    #else
        #define __get_somtIsReadonly SOMTAttributeEntryC__get_somtIsReadonly
    #endif /* __get_somtIsReadonly */
#endif /* SOMGD_get_somtIsReadonly */

/*
 * New Method: _get_somtAttribType
 */
typedef SOMTEntryC   SOMLINK somTP_SOMTAttributeEntryC__get_somtAttribType(SOMTAttributeEntryC somSelf);
typedef somTP_SOMTAttributeEntryC__get_somtAttribType *somTD_SOMTAttributeEntryC__get_somtAttribType;
/*
 *  The type of the attribute.  This does not include pointer stars
 *  or array declarators.  To get the "full" type, get each attribute
 *  declarator and get the somtType attribute.
 */
#define somMD_SOMTAttributeEntryC__get_somtAttribType "::SOMTAttributeEntryC::_get_somtAttribType"
#define SOMTAttributeEntryC__get_somtAttribType(somSelf) \
    (SOM_Resolve(somSelf, SOMTAttributeEntryC, _get_somtAttribType) \
	(somSelf))
#ifndef SOMGD_get_somtAttribType
    #if (defined(_get_somtAttribType) || defined(__get_somtAttribType))
        #undef _get_somtAttribType
        #undef __get_somtAttribType
        #define SOMGD_get_somtAttribType 1
    #else
        #define __get_somtAttribType SOMTAttributeEntryC__get_somtAttribType
    #endif /* __get_somtAttribType */
#endif /* SOMGD_get_somtAttribType */

/*
 * New Method: somtGetFirstAttributeDeclarator
 */
typedef SOMTDataEntryC   SOMLINK somTP_SOMTAttributeEntryC_somtGetFirstAttributeDeclarator(SOMTAttributeEntryC somSelf);
typedef somTP_SOMTAttributeEntryC_somtGetFirstAttributeDeclarator *somTD_SOMTAttributeEntryC_somtGetFirstAttributeDeclarator;
/*
 *  The first attribute declarator for this attribute declaration.
 */
#define somMD_SOMTAttributeEntryC_somtGetFirstAttributeDeclarator "::SOMTAttributeEntryC::somtGetFirstAttributeDeclarator"
#define SOMTAttributeEntryC_somtGetFirstAttributeDeclarator(somSelf) \
    (SOM_Resolve(somSelf, SOMTAttributeEntryC, somtGetFirstAttributeDeclarator) \
	(somSelf))
#ifndef SOMGD_somtGetFirstAttributeDeclarator
    #if (defined(_somtGetFirstAttributeDeclarator) || defined(__somtGetFirstAttributeDeclarator))
        #undef _somtGetFirstAttributeDeclarator
        #undef __somtGetFirstAttributeDeclarator
        #define SOMGD_somtGetFirstAttributeDeclarator 1
    #else
        #define _somtGetFirstAttributeDeclarator SOMTAttributeEntryC_somtGetFirstAttributeDeclarator
    #endif /* _somtGetFirstAttributeDeclarator */
#endif /* SOMGD_somtGetFirstAttributeDeclarator */

/*
 * New Method: somtGetNextAttributeDeclarator
 */
typedef SOMTDataEntryC   SOMLINK somTP_SOMTAttributeEntryC_somtGetNextAttributeDeclarator(SOMTAttributeEntryC somSelf);
typedef somTP_SOMTAttributeEntryC_somtGetNextAttributeDeclarator *somTD_SOMTAttributeEntryC_somtGetNextAttributeDeclarator;
/*
 *  The next attribute declarator for this attribute declaration,
 *  relative to the previous call to this method or
 *  somtGetFirstAttributeDeclarator.
 */
#define somMD_SOMTAttributeEntryC_somtGetNextAttributeDeclarator "::SOMTAttributeEntryC::somtGetNextAttributeDeclarator"
#define SOMTAttributeEntryC_somtGetNextAttributeDeclarator(somSelf) \
    (SOM_Resolve(somSelf, SOMTAttributeEntryC, somtGetNextAttributeDeclarator) \
	(somSelf))
#ifndef SOMGD_somtGetNextAttributeDeclarator
    #if (defined(_somtGetNextAttributeDeclarator) || defined(__somtGetNextAttributeDeclarator))
        #undef _somtGetNextAttributeDeclarator
        #undef __somtGetNextAttributeDeclarator
        #define SOMGD_somtGetNextAttributeDeclarator 1
    #else
        #define _somtGetNextAttributeDeclarator SOMTAttributeEntryC_somtGetNextAttributeDeclarator
    #endif /* _somtGetNextAttributeDeclarator */
#endif /* SOMGD_somtGetNextAttributeDeclarator */

/*
 * New Method: somtGetFirstGetMethod
 */
typedef SOMTMethodEntryC   SOMLINK somTP_SOMTAttributeEntryC_somtGetFirstGetMethod(SOMTAttributeEntryC somSelf);
typedef somTP_SOMTAttributeEntryC_somtGetFirstGetMethod *somTD_SOMTAttributeEntryC_somtGetFirstGetMethod;
/*
 *  The first get method for this attribute declaration.
 */
#define somMD_SOMTAttributeEntryC_somtGetFirstGetMethod "::SOMTAttributeEntryC::somtGetFirstGetMethod"
#define SOMTAttributeEntryC_somtGetFirstGetMethod(somSelf) \
    (SOM_Resolve(somSelf, SOMTAttributeEntryC, somtGetFirstGetMethod) \
	(somSelf))
#ifndef SOMGD_somtGetFirstGetMethod
    #if (defined(_somtGetFirstGetMethod) || defined(__somtGetFirstGetMethod))
        #undef _somtGetFirstGetMethod
        #undef __somtGetFirstGetMethod
        #define SOMGD_somtGetFirstGetMethod 1
    #else
        #define _somtGetFirstGetMethod SOMTAttributeEntryC_somtGetFirstGetMethod
    #endif /* _somtGetFirstGetMethod */
#endif /* SOMGD_somtGetFirstGetMethod */

/*
 * New Method: somtGetNextGetMethod
 */
typedef SOMTMethodEntryC   SOMLINK somTP_SOMTAttributeEntryC_somtGetNextGetMethod(SOMTAttributeEntryC somSelf);
typedef somTP_SOMTAttributeEntryC_somtGetNextGetMethod *somTD_SOMTAttributeEntryC_somtGetNextGetMethod;
/*
 *  The next get method for this attribute declaration,
 *  relative to the previous call to this method or
 *  somtGetFirstGetMethod.
 */
#define somMD_SOMTAttributeEntryC_somtGetNextGetMethod "::SOMTAttributeEntryC::somtGetNextGetMethod"
#define SOMTAttributeEntryC_somtGetNextGetMethod(somSelf) \
    (SOM_Resolve(somSelf, SOMTAttributeEntryC, somtGetNextGetMethod) \
	(somSelf))
#ifndef SOMGD_somtGetNextGetMethod
    #if (defined(_somtGetNextGetMethod) || defined(__somtGetNextGetMethod))
        #undef _somtGetNextGetMethod
        #undef __somtGetNextGetMethod
        #define SOMGD_somtGetNextGetMethod 1
    #else
        #define _somtGetNextGetMethod SOMTAttributeEntryC_somtGetNextGetMethod
    #endif /* _somtGetNextGetMethod */
#endif /* SOMGD_somtGetNextGetMethod */

/*
 * New Method: somtGetFirstSetMethod
 */
typedef SOMTMethodEntryC   SOMLINK somTP_SOMTAttributeEntryC_somtGetFirstSetMethod(SOMTAttributeEntryC somSelf);
typedef somTP_SOMTAttributeEntryC_somtGetFirstSetMethod *somTD_SOMTAttributeEntryC_somtGetFirstSetMethod;
/*
 *  The first set method for this attribute declaration.
 */
#define somMD_SOMTAttributeEntryC_somtGetFirstSetMethod "::SOMTAttributeEntryC::somtGetFirstSetMethod"
#define SOMTAttributeEntryC_somtGetFirstSetMethod(somSelf) \
    (SOM_Resolve(somSelf, SOMTAttributeEntryC, somtGetFirstSetMethod) \
	(somSelf))
#ifndef SOMGD_somtGetFirstSetMethod
    #if (defined(_somtGetFirstSetMethod) || defined(__somtGetFirstSetMethod))
        #undef _somtGetFirstSetMethod
        #undef __somtGetFirstSetMethod
        #define SOMGD_somtGetFirstSetMethod 1
    #else
        #define _somtGetFirstSetMethod SOMTAttributeEntryC_somtGetFirstSetMethod
    #endif /* _somtGetFirstSetMethod */
#endif /* SOMGD_somtGetFirstSetMethod */

/*
 * New Method: somtGetNextSetMethod
 */
typedef SOMTMethodEntryC   SOMLINK somTP_SOMTAttributeEntryC_somtGetNextSetMethod(SOMTAttributeEntryC somSelf);
typedef somTP_SOMTAttributeEntryC_somtGetNextSetMethod *somTD_SOMTAttributeEntryC_somtGetNextSetMethod;
/*
 *  The next set method for this attribute declaration,
 *  relative to the previous call to this method or
 *  somtGetFirstSetMethod.
 */
#define somMD_SOMTAttributeEntryC_somtGetNextSetMethod "::SOMTAttributeEntryC::somtGetNextSetMethod"
#define SOMTAttributeEntryC_somtGetNextSetMethod(somSelf) \
    (SOM_Resolve(somSelf, SOMTAttributeEntryC, somtGetNextSetMethod) \
	(somSelf))
#ifndef SOMGD_somtGetNextSetMethod
    #if (defined(_somtGetNextSetMethod) || defined(__somtGetNextSetMethod))
        #undef _somtGetNextSetMethod
        #undef __somtGetNextSetMethod
        #define SOMGD_somtGetNextSetMethod 1
    #else
        #define _somtGetNextSetMethod SOMTAttributeEntryC_somtGetNextSetMethod
    #endif /* _somtGetNextSetMethod */
#endif /* SOMGD_somtGetNextSetMethod */

/*
 * Full Names for Inherited Methods
 */
/* overridden methods */
#define SOMTAttributeEntryC_somtSetSymbolsOnEntry SOMTEntryC_somtSetSymbolsOnEntry
#define SOMTAttributeEntryC_somDumpSelfInt SOMObject_somDumpSelfInt

#ifndef SOM_DONT_USE_INHERITED_MACROS
#define SOMTAttributeEntryC__get_somtEntryName SOMTEntryC__get_somtEntryName
#define SOMTAttributeEntryC__set_somtEntryName SOMTEntryC__set_somtEntryName
#define SOMTAttributeEntryC__get_somtElementType SOMTEntryC__get_somtElementType
#define SOMTAttributeEntryC__set_somtElementType SOMTEntryC__set_somtElementType
#define SOMTAttributeEntryC__get_somtElementTypeName SOMTEntryC__get_somtElementTypeName
#define SOMTAttributeEntryC__get_somtEntryComment SOMTEntryC__get_somtEntryComment
#define SOMTAttributeEntryC__get_somtSourceLineNumber SOMTEntryC__get_somtSourceLineNumber
#define SOMTAttributeEntryC__get_somtTypeCode SOMTEntryC__get_somtTypeCode
#define SOMTAttributeEntryC__get_somtIsReference SOMTEntryC__get_somtIsReference
#define SOMTAttributeEntryC__get_somtIDLScopedName SOMTEntryC__get_somtIDLScopedName
#define SOMTAttributeEntryC__get_somtCScopedName SOMTEntryC__get_somtCScopedName
#define SOMTAttributeEntryC_somtGetModifierValue SOMTEntryC_somtGetModifierValue
#define SOMTAttributeEntryC_somtGetFirstModifier SOMTEntryC_somtGetFirstModifier
#define SOMTAttributeEntryC_somtGetNextModifier SOMTEntryC_somtGetNextModifier
#define SOMTAttributeEntryC_somtFormatModifier SOMTEntryC_somtFormatModifier
#define SOMTAttributeEntryC_somtGetModifierList SOMTEntryC_somtGetModifierList
#define SOMTAttributeEntryC_somtSetEntryStruct SOMTEntryC_somtSetEntryStruct
#define SOMTAttributeEntryC_somInit SOMObject_somInit
#define SOMTAttributeEntryC_somUninit SOMObject_somUninit
#define SOMTAttributeEntryC_somPrintSelf SOMObject_somPrintSelf
#define SOMTAttributeEntryC_somDumpSelf SOMObject_somDumpSelf
#define SOMTAttributeEntryC_somDefaultInit SOMObject_somDefaultInit
#define SOMTAttributeEntryC_somDestruct SOMObject_somDestruct
#define SOMTAttributeEntryC_somDefaultCopyInit SOMObject_somDefaultCopyInit
#define SOMTAttributeEntryC_somDefaultAssign SOMObject_somDefaultAssign
#define SOMTAttributeEntryC_somDefaultConstCopyInit SOMObject_somDefaultConstCopyInit
#define SOMTAttributeEntryC_somDefaultVCopyInit SOMObject_somDefaultVCopyInit
#define SOMTAttributeEntryC_somDefaultConstVCopyInit SOMObject_somDefaultConstVCopyInit
#define SOMTAttributeEntryC_somDefaultConstAssign SOMObject_somDefaultConstAssign
#define SOMTAttributeEntryC_somDefaultVAssign SOMObject_somDefaultVAssign
#define SOMTAttributeEntryC_somDefaultConstVAssign SOMObject_somDefaultConstVAssign
#define SOMTAttributeEntryC_somFree SOMObject_somFree
#define SOMTAttributeEntryC_somGetClass SOMObject_somGetClass
#define SOMTAttributeEntryC_somGetClassName SOMObject_somGetClassName
#define SOMTAttributeEntryC_somGetSize SOMObject_somGetSize
#define SOMTAttributeEntryC_somIsA SOMObject_somIsA
#define SOMTAttributeEntryC_somIsInstanceOf SOMObject_somIsInstanceOf
#define SOMTAttributeEntryC_somRespondsTo SOMObject_somRespondsTo
#define SOMTAttributeEntryC_somDispatch SOMObject_somDispatch
#define SOMTAttributeEntryC_somClassDispatch SOMObject_somClassDispatch
#define SOMTAttributeEntryC_somCastObj SOMObject_somCastObj
#define SOMTAttributeEntryC_somResetObj SOMObject_somResetObj
#endif /* SOM_DONT_USE_INHERITED_MACROS */

#endif       /* SOM_SOMTAttributeEntryC_h */
