
/*
 * This file was generated by the SOM Compiler.
 * FileName: scattrib.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_SOMTAttributeEntryC_h
#define SOM_SOMTAttributeEntryC_h


#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 SOMTAttributeEntryCClassData (*resolve_SOMTAttributeEntryCClassData())
#define SOMTAttributeEntryCCClassData (*resolve_SOMTAttributeEntryCCClassData())

/*
 * Define the class name as an object type
 */
#ifndef SOMTAttributeEntryC
#define SOMTAttributeEntryC SOMObject
#endif
#include <scentry.h>

/*
 * Start of user-defined 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 user-defined types.
 */

#define SOMTAttributeEntryC_MajorVersion 2
#define SOMTAttributeEntryC_MinorVersion 1

/*
 * External name shortening if required
 */
#ifdef SOM_USE_SHORT_EXTERNAL_NAMES
#define SOMTAttributeEntryCNewClass c
#define SOMTAttributeEntryCClassData d
#define SOMTAttributeEntryCCClassData x
#endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
/*--------------Migration------------*/
#define SOMTAttributeEntryC_classObj SOMTAttributeEntryCClassData.classObject
#define _SOMTAttributeEntryC SOMTAttributeEntryC_classObj

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

/*
 * Declare the class data structure
 */
SOMEXTERN struct SOMTAttributeEntryCClassDataStructure {
	SOMClass *classObject;
	somMToken _get_somtIsReadonly;
	somMToken _get_somtAttribType;
	somMToken somtGetFirstAttributeDeclarator;
	somMToken somtGetNextAttributeDeclarator;
	somMToken somtGetFirstGetMethod;
	somMToken somtGetNextGetMethod;
	somMToken somtGetFirstSetMethod;
	somMToken somtGetNextSetMethod;
}  _SOMTAttributeEntryCClassData;
SOMEXTERN struct SOMTAttributeEntryCClassDataStructure * SOMLINK resolve_SOMTAttributeEntryCClassData(void);

/*
 * Declare the C specific class data structure
 */
SOMEXTERN struct SOMTAttributeEntryCCClassDataStructure {
	somMethodTabs parentMtab;
	somDToken instanceDataToken;
}  _SOMTAttributeEntryCCClassData;
SOMEXTERN struct SOMTAttributeEntryCCClassDataStructure * SOMLINK resolve_SOMTAttributeEntryCCClassData(void);

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

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

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

/*
 * New Method: _get_somtIsReadonly
 */
typedef boolean   (SOMLINK * somTD_SOMTAttributeEntryC__get_somtIsReadonly)(SOMTAttributeEntryC *somSelf);
#define somMD_SOMTAttributeEntryC__get_somtIsReadonly "::SOMTAttributeEntryC::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 * somTD_SOMTAttributeEntryC__get_somtAttribType)(SOMTAttributeEntryC *somSelf);
#define somMD_SOMTAttributeEntryC__get_somtAttribType "::SOMTAttributeEntryC::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 * somTD_SOMTAttributeEntryC_somtGetFirstAttributeDeclarator)(SOMTAttributeEntryC *somSelf);
#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 * somTD_SOMTAttributeEntryC_somtGetNextAttributeDeclarator)(SOMTAttributeEntryC *somSelf);
#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 * somTD_SOMTAttributeEntryC_somtGetFirstGetMethod)(SOMTAttributeEntryC *somSelf);
#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 * somTD_SOMTAttributeEntryC_somtGetNextGetMethod)(SOMTAttributeEntryC *somSelf);
#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 * somTD_SOMTAttributeEntryC_somtGetFirstSetMethod)(SOMTAttributeEntryC *somSelf);
#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 * somTD_SOMTAttributeEntryC_somtGetNextSetMethod)(SOMTAttributeEntryC *somSelf);
#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 */
#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_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_somInit SOMObject_somInit
#define SOMTAttributeEntryC_somFree SOMObject_somFree
#define SOMTAttributeEntryC_somUninit SOMObject_somUninit
#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
#define SOMTAttributeEntryC_somDispatchV SOMObject_somDispatchV
#define SOMTAttributeEntryC_somDispatchL SOMObject_somDispatchL
#define SOMTAttributeEntryC_somDispatchA SOMObject_somDispatchA
#define SOMTAttributeEntryC_somDispatchD SOMObject_somDispatchD
#define SOMTAttributeEntryC_somPrintSelf SOMObject_somPrintSelf
#define SOMTAttributeEntryC_somDumpSelf SOMObject_somDumpSelf
#endif /* SOM_DONT_USE_INHERITED_MACROS */

#endif       /* SOM_SOMTAttributeEntryC_h */
